POST api/User/AddChangeAccountRequest

Request Information

URI Parameters

None.

Body Parameters

ChangeAccountRequestModel
NameDescriptionTypeAdditional information
EmiratesID

string

None.

UserID

integer

None.

FullNameEn

string

None.

FullNameAr

string

None.

UserEmail

string

None.

LoginName

string

None.

UserPassword

string

None.

CountryID

integer

Required

PhoneNumber

string

None.

ImagePath

string

None.

EmirateImageFront

string

None.

EmirateImageBack

string

None.

LicenseNumber

string

None.

ETraderLicenseImage

string

None.

ETraderExpiryDate

date

None.

DateOfBirth

date

None.

EmiratesStateID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "emiratesID": "sample string 1",
  "userID": 1,
  "fullNameEn": "sample string 2",
  "fullNameAr": "sample string 3",
  "userEmail": "sample string 4",
  "loginName": "sample string 5",
  "userPassword": "sample string 6",
  "countryID": 7,
  "phoneNumber": "sample string 8",
  "imagePath": "sample string 9",
  "emirateImageFront": "sample string 10",
  "emirateImageBack": "sample string 11",
  "licenseNumber": "sample string 12",
  "eTraderLicenseImage": "sample string 13",
  "eTraderExpiryDate": "2020-01-18T07:08:07.2259827+00:00",
  "dateOfBirth": "2020-01-18T07:08:07.2259827+00:00",
  "emiratesStateID": 1
}

application/xml, text/xml

Sample:
<ChangeAccountRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SelfHub.API.Models">
  <CountryID>7</CountryID>
  <DateOfBirth>2020-01-18T07:08:07.2259827+00:00</DateOfBirth>
  <ETraderExpiryDate>2020-01-18T07:08:07.2259827+00:00</ETraderExpiryDate>
  <ETraderLicenseImage>sample string 13</ETraderLicenseImage>
  <EmirateImageBack>sample string 11</EmirateImageBack>
  <EmirateImageFront>sample string 10</EmirateImageFront>
  <EmiratesID>sample string 1</EmiratesID>
  <EmiratesStateID>1</EmiratesStateID>
  <FullNameAr>sample string 3</FullNameAr>
  <FullNameEn>sample string 2</FullNameEn>
  <ImagePath>sample string 9</ImagePath>
  <LicenseNumber>sample string 12</LicenseNumber>
  <LoginName>sample string 5</LoginName>
  <PhoneNumber>sample string 8</PhoneNumber>
  <UserEmail>sample string 4</UserEmail>
  <UserID>1</UserID>
  <UserPassword>sample string 6</UserPassword>
</ChangeAccountRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.