POST saveUserProfile

Request Information

URI Parameters

None.

Body Parameters

ProfileModel
NameDescriptionTypeAdditional information
givenName

string

None.

surname

string

None.

userPrincipalName

string

None.

id

string

None.

displayName

string

None.

RoleId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "givenName": "sample string 1",
  "surname": "sample string 2",
  "userPrincipalName": "sample string 3",
  "id": "sample string 4",
  "displayName": "sample string 5",
  "RoleId": 6
}

application/xml, text/xml

Sample:
<ProfileModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AbbApi.Models">
  <RoleId>6</RoleId>
  <displayName>sample string 5</displayName>
  <givenName>sample string 1</givenName>
  <id>sample string 4</id>
  <surname>sample string 2</surname>
  <userPrincipalName>sample string 3</userPrincipalName>
</ProfileModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ProfileModel'.

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.