Get a department
GET
Returns one product department by its numeric ID, directly without the status/message envelope, or not found if it does not exist.
BearerAuthheader
AuthorizationBearer <JWT>id*integerID of the record.
Format
int64OK
*/*- response
id?|Numeric department ID. Set by the server; use it as departmentId on items.
Format
int64name*stringDepartment name, e.g. the top-level grouping of items in the catalog. Required, must be unique and not blank.
modifiedTime*stringTimestamp stored when the department was created (ISO 8601). Renaming it does not change it.
Format
date-timeExample Request
curl -X GET 'https://beta.iotoms.com/api/v1/catalog/attributes/departments/0'Example Response
{ "id": 0, "name": "string", "modifiedTime": "2019-08-24T14:15:22Z"}