v1
latestOpenAPI 3.0.12026-07-243124341009.5 KBCompanies
Create a Company
Adds a new company record to the system.
post/v1/company
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
{
"id": 12345,
"name": "Acme Corporation",
"mainAddress": {
"addressGuid": "cb63d8fc-6d06-f011-87a7-a0595061251e",
"street1": "123 Main St.",
"street2": "Suite 250",
"city": "Minneapolis",
"state": "MN",
"postalCode": "55435",
"country": "US"
},
"frontOfficeId": 12353,
"link": "https://www.acmecorp.com",
"representativeUsers": [
123498,
123499
],
"sourceName": "Indeed",
"statusId": 128,
"status": "Active",
"industry": "Information Technology",
"origin": "Acme Partner",
"originRecordId": "ACME-12345",
"department": {
"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"
},
"weekEndDay": "Friday",
"payPeriod": "Weekly",
"payCycle": "1",
"billingPeriod": "BiWeekly",
"billingCycle": "2",
"isParent": true,
"parentCompanyId": 13839,
"phoneNumber": "305-555-01472"
}Response
The created company.
Example response
{
"id": 12345,
"name": "Acme Corporation",
"mainAddress": {
"addressGuid": "cb63d8fc-6d06-f011-87a7-a0595061251e",
"street1": "123 Main St.",
"street2": "Suite 250",
"city": "Minneapolis",
"state": "MN",
"postalCode": "55435",
"country": "US"
},
"frontOfficeId": 12353,
"link": "https://www.acmecorp.com",
"representativeUsers": [
123498,
123499
],
"sourceName": "Indeed",
"statusId": 128,
"status": "Active",
"industry": "Information Technology",
"origin": "Acme Partner",
"originRecordId": "ACME-12345",
"department": {
"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"
},
"weekEndDay": "Friday",
"payPeriod": "Weekly",
"payCycle": "1",
"billingPeriod": "BiWeekly",
"billingCycle": "2",
"isParent": true,
"parentCompanyId": 13839,
"phoneNumber": "305-555-01472"
}