Creates a new Department record, or updates an existing Department record.
Post | api/department/post |
Resource Path: /sites/{company-id}/api/department/post
Uri: https://secure.ontime360.com/sites/{company-id}/api/department/post
The request body is of type Department.
![]() |
Department
Represents a comprehensive Department record within the OnTime API.
|
The response body is of type object.
Returns the created or updated Department object.Fault | Description |
---|---|
400 | Request was improperly formatted, contained invalid data, or contained incorrect values. See response body for more information. |
401 | Authorization key is invalid or no longer exists. |
403 | Authorization key does not have permission to perform this action, or does not have permission to access the requested data. See response body for more information. |