POST api/Accounts/UpdateAccountingKey?pAccountNum={pAccountNum}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| pAccountNum | integer |
Required |
Body Parameters
Collection of AccountingKeys| Name | Description | Type | Additional information |
|---|---|---|---|
| code | integer |
None. |
|
| account_code | integer |
Required |
|
| type | string |
String length: inclusive between 0 and 20 |
|
| accounting_key | string |
Required String length: inclusive between 0 and 16 |
|
| name | string |
String length: inclusive between 0 and 50 |
|
| exp_inc_code | integer |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"code": 1,
"account_code": 2,
"type": "sample string 3",
"accounting_key": "sample string 4",
"name": "sample string 5",
"exp_inc_code": 1
},
{
"code": 1,
"account_code": 2,
"type": "sample string 3",
"accounting_key": "sample string 4",
"name": "sample string 5",
"exp_inc_code": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfAccountingKeys xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
<AccountingKeys>
<account_code>2</account_code>
<accounting_key>sample string 4</accounting_key>
<code>1</code>
<exp_inc_code>1</exp_inc_code>
<name>sample string 5</name>
<type>sample string 3</type>
</AccountingKeys>
<AccountingKeys>
<account_code>2</account_code>
<accounting_key>sample string 4</accounting_key>
<code>1</code>
<exp_inc_code>1</exp_inc_code>
<name>sample string 5</name>
<type>sample string 3</type>
</AccountingKeys>
</ArrayOfAccountingKeys>
application/x-www-form-urlencoded
Sample:
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
None.