Edits a specific account's setting to split account charges on bill import If a rule does not currently exist for this account it is created otherwise it is updated
Request Headers
| Header | Value | Required | Description |
|---|---|---|---|
| ECI-ApiKey | string | Yes | Your API key. See Authentication. |
| Content-Type | application/json | Yes | All requests must specify JSON content type, including the request body. |
Path Parameters
| Name | Description | Type | Required |
|---|---|---|---|
| accountId | Account identifier | integer (int32) | Required |
Request Body
Array of:
Type: integer (int32)
Example Request Body
[
1
]
Responses
200
OK
The request succeeded and the response body contains the requested data.
Response Body Parameters
AccountBillAccountChargeSplitSettingsResponse
| Property | Description | Type | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| accountCode | The account code | string | |||||||||
| accountId | The account identifier | integer (int32) | |||||||||
| accountInfo | The account info | string | |||||||||
| costCategories | Split account charges with a bill line type assigned to the cost categories | CostCategoryResponseV202405[] | |||||||||
|
CostCategoryResponseV202405 properties
|
|||||||||||
| vendorCode | The vendor code | string | |||||||||
| vendorId | The vendor identifier | integer (int32) | |||||||||
| vendorInfo | The vendor info | string | |||||||||
Example Response
{ "accountCode": "string", "accountId": 1, "accountInfo": "string", "costCategories": [
{ "costCategoryId": 1, "costCategoryInfo": "string"
}
], "vendorCode": "string", "vendorId": 1, "vendorInfo": "string"
}