POST
/
ledger
curl --request POST \
  --url https://spark.test.woodcore.co/api/v2/ledger \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "description": "Cash at Head office branch",
  "glCode": "1000124e7",
  "manualEntriesAllowed": true,
  "name": "Cash at Office Vault",
  "parentId": "29",
  "type": "asset",
  "usage": "header"
}'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200 - application/json
ddddd

The response is of type object.