Distributes account-level charges to meters for all bills in a list
For each bill in the list that has account-level charges, distributes those charges proportionally
across the meters on the bill based on the specified split basis (use or cost).
Maximum of 10,000 bills can be processed per request. Bills are cleaned after distribution.
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 |
|---|---|---|---|
| listId | Unique numeric identifier of the list containing bills to process | integer (int32) | Required |
Request Body
DistributeAccountChargesBaseV202104
| Property | Description | Type |
|---|---|---|
| splitBasis | Determines if account charges should be assigned proportionally based on the usage values of each meter or based on the bill cost from each meter. If not provided, defaults to “Usage”. One of ‘Usage’, ‘Cost’, ‘’ Case sensitive Required (defined) | integer (int32) |
Example Request Body
{ "splitBasis": 1
}
Responses
200
OK
The request succeeded and the response body contains the requested data.
Response Body Parameters
UpdateResult
| Property | Description | Type |
|---|---|---|
| selected | The total number of items that were targeted by the bulk operation Required (defined) | integer (int32) |
| updated | The number of items that were actually modified (excludes items that already matched the target state) Required (defined) | integer (int32) |
Example Response
{ "selected": 1, "updated": 1
}