Get Departments Setting Lists

Use this method to get departments lists. See our HTTP GET documentation for complete queries method.

The following elements are returned in the get departments lists methods response :

Body Response

Element Description
id Departments id. String Automatically.
code Departments code. String maximum 255 characters.
name Departments name String maximum 255 characters.
is_profit_center Is profit center true or false Boolean.
is_point_of_sale Is point of sale true or false Boolean.
is_active Value for change data String.
parent* Parent of departement.
parent.id Parent id String maximum 255 characters.
parent.code Parent name String maximum 255 characters.
parent.name Value for change data String.
manager Manager name String maximum 255 characters.
warehouses* warehouses String.
warehouses.id Warehouses id. String Automatically.
warehouses.is_primary Is primary warehouses true or false Boolean.
warehouses.code Warehouses code. String maximum 255 characters.
warehouses.name Warehouses name String maximum 255 characters.
warehouses.complete_address Warehouses address String maximum 100 characters.
warehouses.district Warehouses district String maximum 100 characters.
warehouses.city Warehouses city String maximum 25 characters.
warehouses.state Warehouses state String maximum 25 characters.
warehouses.country_code Warehouses country code String maximum 10 characters.
warehouses.country_name Warehouses country name String maximum 80 characters.
warehouses.postal_code Warehouses postal code String maximum 10 characters.
addresses* Addresses.
addresses.id Addresses id String Automatically.
addresses.is_primary Is primary addresses true or false Boolean.
addresses.type Addresses type String.
addresses.complete_address Addresses complete String maximum 100 characters.
addresses.district District String maximum 100 characters.
addresses.city City String maximum 25 characters.
addresses.state States String maximum 25 characters.
addresses.country_code Country code String maximum 10 characters.
addresses.country_name Country name String maximum 80 characters.
addresses.postal_code Postal code String maximum 10 characters.
phones* phones.
phones.id Phone id String Automatically.
phones.is_primary Is primary phone true or false Boolean.
phones.type Phones type String.
phones.value Phones number String.
email* Email.
email.id Email id String Automatically.
email.is_primary Is primary email true or false Boolean.
email.type Email type String.
email.value email address String.
contact_persons* contact_persons.
contact_persons.id Contact Persons String Automatically.
contact_persons.is_primary Contact Persons is primary true or false Boolean.
contact_persons.type Contact Persons type String.
contact_persons.designation Contact Persons designation
contact_persons.name Contact Persons name String maximum 255 characters.
other_fields other_fields.
created* Created.
created.user* Created User.
created.user.id User id String Automaticaly.
created.user.name User name String.
created.user.email User email String.
created.time Date Time format YYYY-MM-DDThh:mm:ss.fffZ (RFC 3339, ISO 8601 date format). Automaticaly.
update* Update.
update.user* Update user.
update.user.id User id String Automaticaly.
update.user.name User name String.
update.user.email User email String.
update.time Date Time format YYYY-MM-DDThh:mm:ss.fffZ (RFC 3339, ISO 8601 date format). Automaticaly.