POST api/UserProfile

Request Information

URI Parameters

None.

Body Parameters

UserProfileModel
NameDescriptionTypeAdditional information
UserFirstName

string

None.

UserLastName

string

None.

UserEmailAddress

string

None.

UserHourlyRate

integer

None.

UserHoursPerDay

integer

None.

UserPhone

string

None.

UserProfilePicture

string

None.

EmailNotifications

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "UserFirstName": "sample string 1",
  "UserLastName": "sample string 2",
  "UserEmailAddress": "sample string 3",
  "UserHourlyRate": 4,
  "UserHoursPerDay": 5,
  "UserPhone": "sample string 6",
  "UserProfilePicture": "sample string 7",
  "EmailNotifications": true
}

application/xml, text/xml

Sample:
<UserProfileModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cuewel.WebApi.Models">
  <EmailNotifications>true</EmailNotifications>
  <UserEmailAddress>sample string 3</UserEmailAddress>
  <UserFirstName>sample string 1</UserFirstName>
  <UserHourlyRate>4</UserHourlyRate>
  <UserHoursPerDay>5</UserHoursPerDay>
  <UserLastName>sample string 2</UserLastName>
  <UserPhone>sample string 6</UserPhone>
  <UserProfilePicture>sample string 7</UserProfilePicture>
</UserProfileModel>

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.