Delete a bulk of general ledgers using external Ids from a specific company.

Delete a bulk of general ledgers from a specific company.

PUT generalledgers/delete/external/bulk/:companyExternalId"

Request details

The put request will contain all the required information to delete a bulk of general ledgers using external Ids from a specific company.

Request properties

Property Type Description Optional
GeneralLedgerId [] Guid [] An array of external identifiers of general ledgers. No

Example bulk delete general ledgers request

[
    "00000000-0000-0000-0000-000000000000",
    "00000000-0000-0000-0000-000000000000",
    "00000000-0000-0000-0000-000000000000",
    "{general-ledger-external-id}"
]

Response

Upon successful delete of a bulk of general ledgers in the Basecone system, a 200 http status code will be returned. If something goes wrong, an error message with failure details will be given together with a suitable http error status code.

Possible error responses

Status code Error code Details
401 unauthorized Current user isn't allowed to delete general ledgers from the company.
404 resource_not_found One provided general ledger or more was not found.