v1

latestOpenAPI 3.0.12026-07-24310590875.6 KB
classifications

Create a department

Create a new department.

post/v3/classifications/departments

Headers

sessionIdstring nullable

API session ID generated with /v3/login

Example:{{session_id}}
devKeystring nullable

Developer key generated with your BILL developer account

Example:{{developer_key}}

Request body

namestring required

Department name

shortNamestring

Department short name

descriptionstring

Department description

parentIdstring

BILL-generated ID of the parent department. You can set this field if this department is a child object.

Response

Create a department response

idstring

BILL-generated ID of the department. The value begins with 0de.

namestring

Department name

shortNamestring

Department short name

descriptionstring

Department description

parentIdstring

BILL-generated ID of the parent department. You can set this field if this department is a child object.

archivedboolean

Set as true if the department is archived

createdTimestring date-time

Created date and time

updatedTimestring date-time

Updated date and time