PUT api/v3/Profile/UpdateProfile

Updates a users profile

Request Information

URI Parameters

None.

Body Parameters

UpdateProfileInput
NameDescriptionTypeAdditional information
Id

string

None.

FirstName

string

Required

LastName

string

Required

Email

string

Required

HomePhone

string

None.

MobilePhone

string

None.

MobileCarrier

integer

None.

SendCallSms

boolean

None.

SendCallPush

boolean

None.

SendCallEmail

boolean

None.

SendMessageSms

boolean

None.

SendMessagePush

boolean

None.

SendMessageEmail

boolean

None.

SendNotificationSms

boolean

None.

SendNotificationPush

boolean

None.

SendNotificationEmail

boolean

None.

Request Formats

application/json

Sample:
{
  "Id": "sample string 1",
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "Email": "sample string 4",
  "HomePhone": "sample string 5",
  "MobilePhone": "sample string 6",
  "MobileCarrier": 7,
  "SendCallSms": true,
  "SendCallPush": true,
  "SendCallEmail": true,
  "SendMessageSms": true,
  "SendMessagePush": true,
  "SendMessageEmail": true,
  "SendNotificationSms": true,
  "SendNotificationPush": true,
  "SendNotificationEmail": true
}

application/xml, text/xml

Sample:
<UpdateProfileInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Resgrid.Web.Services.Controllers.Version3.Models.Profile">
  <Email>sample string 4</Email>
  <FirstName>sample string 2</FirstName>
  <HomePhone>sample string 5</HomePhone>
  <Id>sample string 1</Id>
  <LastName>sample string 3</LastName>
  <MobileCarrier>7</MobileCarrier>
  <MobilePhone>sample string 6</MobilePhone>
  <SendCallEmail>true</SendCallEmail>
  <SendCallPush>true</SendCallPush>
  <SendCallSms>true</SendCallSms>
  <SendMessageEmail>true</SendMessageEmail>
  <SendMessagePush>true</SendMessagePush>
  <SendMessageSms>true</SendMessageSms>
  <SendNotificationEmail>true</SendNotificationEmail>
  <SendNotificationPush>true</SendNotificationPush>
  <SendNotificationSms>true</SendNotificationSms>
</UpdateProfileInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

An HTTP Result

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.