v1
latestOpenAPI 3.0.12026-07-243124341009.5 KBDepartments
Add a Department
Adds a new department record to the system.
post/v1/departments
Headers
RequestIdstring uuid
The unique request identifier used to correlate request data with log entries and events, formatted as a UUID.
Unique request identifier (UUID) used to correlate request data with log entries and events.
FrontOfficeTenantIdinteger
An integer identifier for the tenant that the request is being made for. Required when Tenant header is not provided.
Tenantstring
Tenant company code that determines data access scope during the request. Required when FrontOfficeTenantId header is not provided.
Request body
Example request
{
"compId": 123456,
"departmentName": "Warehouse",
"officeId": 789012,
"statusId": 263,
"parentDepartmentId": 345678,
"street1": "123 Main Street",
"street2": "Suite 100",
"city": "Eagan",
"stateProvince": "MN",
"postalCode": "55121",
"country": "US",
"geoCode": "241234892",
"departmentPhone": "651-555-1234",
"defaultJobOwnerIDs": [
12345,
67890
],
"origin": "PartnerXYZ",
"weekEndDate": "Friday",
"payPeriod": "Weekly",
"payCycle": "1",
"billingPeriod": "BiWeekly",
"billingCycle": "2",
"originRecordId": "12345-abcde"
}Response
The created department.