POST api/v1/User/PostPersonAndRelationship
Request Information
URI Parameters
None.
Body Parameters
PersonAndRelationship| Name | Description | Type | Additional information |
|---|---|---|---|
| Person | PersonUI |
None. |
|
| ForceLink | boolean |
None. |
|
| AccessCardIds | Collection of integer |
None. |
|
| AccessProfileIds | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Person": {
"_PersonID": 1,
"_PersonType": 0,
"_Address": "sample string 2",
"_Phone": "sample string 3",
"_Gender": 0,
"_Email": "sample string 4",
"_FirstName": "sample string 5",
"_LastName": "sample string 6",
"_AccessMethod": 0,
"_PersonStatus": 0,
"_PersonPIN": 7,
"_ExternalID": "sample string 8",
"_OverrideBlock": 9,
"_OverridePrivacy": 10,
"_FreePassage": 11,
"_IsAda": 12
},
"ForceLink": true,
"AccessCardIds": [
1,
2
],
"AccessProfileIds": [
1,
2
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.