PUT /api/v3/bill/unexport/{billExportGuid}

Marks all bills from a previous export batch as unexported, identified by the export GUID

UnexportBillsByGuidV3 Permissions: ExportBills (Run)
Use this endpoint to undo an entire export batch at once. The GUID is returned in the ‘Ec-Guid’ response header when bills are exported via PUT /bill/export. To unexport individual bills by ID, use PUT /bill/unexport 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.

Path Parameters

Name Description Type Required
billExportGuid The GUID identifying the export batch, returned in the Ec-Guid header during the original export string Required

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 application/json
{  "selected": 1,  "updated": 1
}
404 Not Found The requested resource was not found. Verify the ID or path is correct.