POST api/identity/Add?personId={personId}
Adds a new identity (E.g. Facebook Identity, Twitter identity etc.) to a person Processes this identity API request. The parameter and response sections describe the data exchanged with the API.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| personId |
The unique identifier of the person resource. |
integer |
Required |
Body Parameters
The add identity command data contract supplied with the request.
AddIdentityCommandDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| FriendlyName |
The friendly name value. |
string |
None. |
| Issuer |
The issuer value. |
string |
None. |
| UniqueIdentifier |
The unique identifier value. |
string |
None. |
| Id |
The unique identifier of this resource. |
integer |
None. |
Request Formats
application/x-www-form-urlencoded
Sample not available.
application/json, text/json
{
"FriendlyName": "sample string 1",
"Issuer": "sample string 2",
"UniqueIdentifier": "sample string 3",
"Id": 4
}
Response Information
Resource Description
The response returned after the operation completes.
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version |
The version value. |
Version |
None. |
| Content |
The content value. |
HttpContent |
None. |
| StatusCode |
The status code classification. |
HttpStatusCode |
None. |
| ReasonPhrase |
The reason phrase value. |
string |
None. |
| Headers |
The collection of headers. |
Collection of Object |
None. |
| RequestMessage |
The request message value. |
HttpRequestMessage |
None. |
| IsSuccessStatusCode |
Indicates whether this item is success status code. |
boolean |
None. |