POST
/
coa
/
api
/
budgets
/
{budget_pk}
/
accounts
Create Budget
curl --request POST \
  --url https://api.meetcampfire.com/coa/api/budgets/{budget_pk}/accounts \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "period": 1,
  "amount": 0
}'
{
  "id": 123,
  "account_name": "<string>",
  "account_lineage": "<string>",
  "department_name": "<string>",
  "period": 1,
  "amount": 0,
  "created_at": "2023-11-07T05:31:56Z",
  "last_modified_at": "2023-11-07T05:31:56Z",
  "customer": 123,
  "budget": 123,
  "account": 123,
  "department": 123
}

Authorizations

Authorization
string
header
required

Token-based authentication with required prefix "Token"

Path Parameters

budget_pk
integer
required

Body

Response

201 - application/json

The response is of type object.