POST api/Delivery/EditProfile

Request Information

URI Parameters

None.

Body Parameters

DeliveryEditProfile
NameDescriptionTypeAdditional information
userID

integer

None.

securityToken

string

None.

name

string

None.

phone

string

None.

email

string

None.

Language

string

None.

ProfileImage

string

None.

NationalIdCard

string

None.

NewNationalIdCard

string

None.

BloodAnalysis

string

None.

CriminalRecord

string

None.

DriverLicense

string

None.

VehicleLicense

string

None.

Request Formats

application/json, text/json

Sample:
{
  "userID": 1,
  "securityToken": "sample string 2",
  "name": "sample string 3",
  "phone": "sample string 4",
  "email": "sample string 5",
  "Language": "sample string 6",
  "ProfileImage": "sample string 7",
  "NationalIdCard": "sample string 8",
  "NewNationalIdCard": "sample string 9",
  "BloodAnalysis": "sample string 10",
  "CriminalRecord": "sample string 11",
  "DriverLicense": "sample string 12",
  "VehicleLicense": "sample string 13"
}

application/xml, text/xml

Sample:
<DeliveryEditProfile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VOOO_MVCAPI.Models.APIBodies">
  <BloodAnalysis>sample string 10</BloodAnalysis>
  <CriminalRecord>sample string 11</CriminalRecord>
  <DriverLicense>sample string 12</DriverLicense>
  <Language>sample string 6</Language>
  <NationalIdCard>sample string 8</NationalIdCard>
  <NewNationalIdCard>sample string 9</NewNationalIdCard>
  <ProfileImage>sample string 7</ProfileImage>
  <VehicleLicense>sample string 13</VehicleLicense>
  <email>sample string 5</email>
  <name>sample string 3</name>
  <phone>sample string 4</phone>
  <securityToken>sample string 2</securityToken>
  <userID>1</userID>
</DeliveryEditProfile>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DeliveryEditProfile'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.