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