item_department
Changelog
December 16, 2025
- New POST method to create a department.
|
GET /item_department
To get a specific item department.
/item_department?token=XXXXX&item_department_code_365=EB
| field |
description |
| token |
Credentials provided by Powersoft that allow access to the API |
| item_department_code_365 |
365 item department code |
Returns
POST /item_department
To create a new department in 365 as main (root) department.
To create a new department in 365 as child department.
| field |
type |
description |
| api_credentials
|
| token |
string |
Credentials provided by Powersoft that allow access to the API |
| item_department
|
| item_department_parent_code_365 |
string |
365 item root (main) department code. If the value is empty string then the new department will be created as main (root). |
| item_department_code |
string |
The new item department code to be created. |
| item_department_name |
string |
The item department name. |
| item_department_other_name |
string |
The item department other name. |
| item_department_other_name_2 |
string |
The item department other name 2. |
Returns
Returns the standard api_response object. The Powersoft365 item department code is returned in the response_id field.