Retrieves destination accounts compatible with moving the specified bills
Use this endpoint before calling PUT /bill/moveBills to discover which accounts have meters matching
all commodities represented by the given bills. Returns the list of commodities and matching accounts with their meters.
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. |
Request Body
ListIds
| Property | Description | Type |
|---|---|---|
| ids | Required (defined) | integer[] |
Example Request Body
{ "ids": [
1
]
}
Responses
200
OK
The request succeeded and the response body contains the requested data.
Response Body Parameters
MoveBillsDestination
| Property | Description | Type | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| accounts | List of valid destination accounts that the selected bills can be moved to, including their available meters. Required (defined) | DestinationAccountResponse[] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
DestinationAccountResponse properties
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| commodities | List of commodities available for the move operation, used to filter destination accounts by commodity match. Required (defined) | CommodityChild[] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
CommodityChild properties
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Example Response
{ "accounts": [
{ "accountCode": "string", "accountId": 1, "accountInfo": "string", "meters": [
{ "accountMeterId": 1, "commodity": {}, "meterCode": "string", "meterId": 1, "meterInfo": "string"
}
], "vendor": { "vendorCode": "string", "vendorId": 1, "vendorInfo": "string"
}
}
], "commodities": [
{ "commodityCode": "string", "commodityIcon": { "code": "string", "color": "string"
}, "commodityId": 1, "commodityInfo": "string"
}
]
}
400
Bad Request
The request was malformed or contains invalid parameters. Check the request body and query parameters.