POST api/Profiles/GetUserProfileIT

Request Information

URI Parameters

None.

Body Parameters

ObjUserProfile
NameDescriptionTypeAdditional information
SiteUrl

string

None.

User

FormUser

None.

Request Formats

application/json, text/json

Sample:
{
  "SiteUrl": "sample string 1",
  "User": {
    "Id": 1,
    "Email": "sample string 2",
    "Username": "sample string 3",
    "DisplayName": "sample string 4",
    "PictureURL": "sample string 5"
  }
}

application/xml, text/xml

Sample:
<ObjUserProfile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Appvity.eOffice.Backend.Models">
  <SiteUrl>sample string 1</SiteUrl>
  <User>
    <DisplayName>sample string 4</DisplayName>
    <Email>sample string 2</Email>
    <Id>1</Id>
    <PictureURL>sample string 5</PictureURL>
    <Username>sample string 3</Username>
  </User>
</ObjUserProfile>

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 'ObjUserProfile'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.