POST api/profiles/ensure

Request Information

URI Parameters

None.

Body Parameters

EnsureProfileAndOrganisationRequest
NameDescriptionTypeAdditional information
UserId

globally unique identifier

None.

DefaultOrganisationName

string

None.

TenantId

globally unique identifier

None.

Forename

string

None.

Surname

string

None.

JobTitle

string

None.

PhoneNumber

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": "852ebf44-935d-450e-b826-acc9878e1fd1",
  "DefaultOrganisationName": "sample string 2",
  "TenantId": "cf602347-7ba9-45a1-9d6c-e43de0e7237d",
  "Forename": "sample string 4",
  "Surname": "sample string 5",
  "JobTitle": "sample string 6",
  "PhoneNumber": "sample string 7"
}

application/xml, text/xml

Sample:
<EnsureProfileAndOrganisationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Profile.Models">
  <DefaultOrganisationName>sample string 2</DefaultOrganisationName>
  <Forename>sample string 4</Forename>
  <JobTitle>sample string 6</JobTitle>
  <PhoneNumber>sample string 7</PhoneNumber>
  <Surname>sample string 5</Surname>
  <TenantId>cf602347-7ba9-45a1-9d6c-e43de0e7237d</TenantId>
  <UserId>852ebf44-935d-450e-b826-acc9878e1fd1</UserId>
</EnsureProfileAndOrganisationRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.