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