POST api/persons/{id}/names
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
Required |
Body Parameters
PersonNameCreationRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Type | PersonNameType |
None. |
|
| LocaleID | integer |
None. |
|
| EntityContextID | integer |
None. |
|
| Name | string |
None. |
|
| SortOrder | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Type": 0,
"LocaleID": 1,
"EntityContextID": 1,
"Name": "sample string 2",
"SortOrder": 3
}
application/xml, text/xml
Sample:
<PersonNameCreationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <EntityContextID>1</EntityContextID> <LocaleID>1</LocaleID> <Name>sample string 2</Name> <SortOrder>3</SortOrder> <Type>Unknown</Type> </PersonNameCreationRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.