POST api/User/AddOrUpdatePersonalInfo

Request Information

URI Parameters

None.

Body Parameters

PersonalInfoModel
NameDescriptionTypeAdditional information
UserID

integer

Required

FullNameEn

string

None.

FullNameAr

string

None.

PhoneNumber

string

None.

EmiratesStateID

integer

None.

UserEmail

string

None.

DateOfBirth

date

None.

Gender

string

None.

Certificate

string

None.

Education

string

None.

ProfessionalTitleEn

string

None.

ProfessionalTitleAr

string

None.

AboutYourselfEn

string

None.

AboutYourselfAr

string

None.

Language

string

None.

CV

string

None.

CountryID

integer

None.

steps

integer

None.

Facebook

string

None.

LinkedIn

string

None.

Google

string

None.

Twitter

string

None.

EmiratesID

string

None.

EmirateImageFront

string

None.

EmirateImageBack

string

None.

Instagram

string

None.

YouTube

string

None.

LicenseNumber

string

None.

ETraderIssuingAuthority

integer

None.

ETraderExpiryDate

date

None.

ETraderLicenseImage

string

None.

ImagePath

string

None.

Request Formats

application/json, text/json

Sample:
{
  "userID": 1,
  "fullNameEn": "sample string 1",
  "fullNameAr": "sample string 2",
  "phoneNumber": "sample string 3",
  "emiratesStateID": 1,
  "userEmail": "sample string 4",
  "dateOfBirth": "2020-07-04T17:32:06.1293393+00:00",
  "gender": "sample string 5",
  "certificate": "sample string 6",
  "education": "sample string 7",
  "professionalTitleEn": "sample string 8",
  "professionalTitleAr": "sample string 9",
  "aboutYourselfEn": "sample string 10",
  "aboutYourselfAr": "sample string 11",
  "language": "sample string 12",
  "cv": "sample string 13",
  "countryID": 1,
  "steps": 1,
  "facebook": "sample string 14",
  "linkedIn": "sample string 15",
  "google": "sample string 16",
  "twitter": "sample string 17",
  "emiratesID": "sample string 18",
  "emirateImageFront": "sample string 19",
  "emirateImageBack": "sample string 20",
  "instagram": "sample string 21",
  "youTube": "sample string 22",
  "licenseNumber": "sample string 23",
  "eTraderIssuingAuthority": 1,
  "eTraderExpiryDate": "2020-07-04T17:32:06.1293393+00:00",
  "eTraderLicenseImage": "sample string 24",
  "imagePath": "sample string 25"
}

application/xml, text/xml

Sample:
<PersonalInfoModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SelfHub.API.Models">
  <AboutYourselfAr>sample string 11</AboutYourselfAr>
  <AboutYourselfEn>sample string 10</AboutYourselfEn>
  <CV>sample string 13</CV>
  <Certificate>sample string 6</Certificate>
  <CountryID>1</CountryID>
  <DateOfBirth>2020-07-04T17:32:06.1293393+00:00</DateOfBirth>
  <ETraderExpiryDate>2020-07-04T17:32:06.1293393+00:00</ETraderExpiryDate>
  <ETraderIssuingAuthority>1</ETraderIssuingAuthority>
  <ETraderLicenseImage>sample string 24</ETraderLicenseImage>
  <Education>sample string 7</Education>
  <EmirateImageBack>sample string 20</EmirateImageBack>
  <EmirateImageFront>sample string 19</EmirateImageFront>
  <EmiratesID>sample string 18</EmiratesID>
  <EmiratesStateID>1</EmiratesStateID>
  <Facebook>sample string 14</Facebook>
  <FullNameAr>sample string 2</FullNameAr>
  <FullNameEn>sample string 1</FullNameEn>
  <Gender>sample string 5</Gender>
  <Google>sample string 16</Google>
  <ImagePath>sample string 25</ImagePath>
  <Instagram>sample string 21</Instagram>
  <Language>sample string 12</Language>
  <LicenseNumber>sample string 23</LicenseNumber>
  <LinkedIn>sample string 15</LinkedIn>
  <PhoneNumber>sample string 3</PhoneNumber>
  <ProfessionalTitleAr>sample string 9</ProfessionalTitleAr>
  <ProfessionalTitleEn>sample string 8</ProfessionalTitleEn>
  <Twitter>sample string 17</Twitter>
  <UserEmail>sample string 4</UserEmail>
  <UserID>1</UserID>
  <YouTube>sample string 22</YouTube>
  <steps>1</steps>
</PersonalInfoModel>

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.