Marks one or more bills as unexported by bill IDs
Use this endpoint to undo a previous export and allow bills to be re-exported.
To unexport all bills from a specific export batch, use PUT /bill/unexport/{billExportGuid} instead.
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
BillUnexport
| Property | Description | Type |
|---|---|---|
| billIds | List of bill IDs to mark as unexported. Must contain at least one ID. Required Cannot be Empty | integer[] |
| exportMode | The export type to clear. Valid values: “ap” (accounts payable), “gl” (general ledger), “payment” (bill payment). Case-insensitive. Required One of ‘ap’, ‘gl’, ‘payment’ | string |
Example Request Body
{ "billIds": [
1
], "exportMode": "string"
}
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
}