Skip to main content
POST
Convert many documents to another type

Authorizations

Authorization
string
header
required

API token issued from the Equated app under Settings → API Tokens.

Body

application/json
documentIds
integer[]
required
Required array length: 1 - 500 elements
Required range: x > 0
newType
enum<string>
required
Available options:
REIMBURSEMENT,
BILL,
INVOICE,
RECEIPT

Response

200 - application/json

Per-row bulk result

succeeded
integer[]
required

Rows that reached the requested state, including idempotent no-ops.

Required range: x > 0
changed
integer[]
required

Rows that were mutated by this request.

Required range: x > 0
failed
object[]
required