POST api/User/AddFreelancer

Request Information

URI Parameters

None.

Body Parameters

RegisterFreelancerModel
NameDescriptionTypeAdditional information
EmiratesID

string

None.

UserEmail

string

Required

LoginName

string

Required

UserPassword

string

Required

PhoneNumber

string

None.

EmirateImageFront

string

None.

EmirateImageBack

string

None.

CountryID

integer

None.

RoleID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "emiratesID": "sample string 1",
  "userEmail": "sample string 2",
  "loginName": "sample string 3",
  "userPassword": "sample string 4",
  "phoneNumber": "sample string 5",
  "emirateImageFront": "sample string 6",
  "emirateImageBack": "sample string 7",
  "countryID": 1,
  "roleID": 8
}

application/xml, text/xml

Sample:
<RegisterFreelancerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SelfHub.API.Models">
  <CountryID>1</CountryID>
  <EmirateImageBack>sample string 7</EmirateImageBack>
  <EmirateImageFront>sample string 6</EmirateImageFront>
  <EmiratesID>sample string 1</EmiratesID>
  <LoginName>sample string 3</LoginName>
  <PhoneNumber>sample string 5</PhoneNumber>
  <RoleID>8</RoleID>
  <UserEmail>sample string 2</UserEmail>
  <UserPassword>sample string 4</UserPassword>
</RegisterFreelancerModel>

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.