PUT api/ManageXNCodes
Request Information
URI Parameters
None.
Body Parameters
JsonObjectUpdate| Name | Description | Type | Additional information |
|---|---|---|---|
| XNCode | integer |
None. |
|
| SysName | string |
None. |
|
| ParentCompanyClientID | integer |
None. |
|
| CompanyClientID | integer |
None. |
|
| ActiveUser | globally unique identifier |
None. |
|
| ActiveNote | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"XNCode": 1,
"SysName": "sample string 2",
"ParentCompanyClientID": 3,
"CompanyClientID": 4,
"ActiveUser": "06beae9c-86ed-495e-93d7-0431422b787d",
"ActiveNote": "sample string 6"
}
application/xml, text/xml
Sample:
<JsonObjectUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Model"> <ActiveNote>sample string 6</ActiveNote> <ActiveUser>06beae9c-86ed-495e-93d7-0431422b787d</ActiveUser> <CompanyClientID>4</CompanyClientID> <ParentCompanyClientID>3</ParentCompanyClientID> <SysName>sample string 2</SysName> <XNCode>1</XNCode> </JsonObjectUpdate>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Status| Name | Description | Type | Additional information |
|---|---|---|---|
| ReturnCode | integer |
None. |
|
| ObjectReturn | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"ReturnCode": 1,
"ObjectReturn": {}
}
application/xml, text/xml
Sample:
<Status xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entities.Common"> <ObjectReturn /> <ReturnCode>1</ReturnCode> </Status>