Update a Company
Updates information about the specified company.
Request
- Base URLhttps://api.avionte.com/front-office
- URLhttps://api.avionte.com/front-office/v1/company
- Auth
- API key in header x-api-key
- or HTTP bearer
Query parameters
An indication of whether to bypass the duplicate company name check when updating a company record. If set to true, the duplicate name validation is skipped; if set to false or not provided, the validation is applied and the update is rejected if a duplicate name is found.
Headers
Unique request identifier in UUID format used to correlate request data to log entries and events.
Unique request identifier (UUID) used to correlate request data with log entries and events.
An integer identifier for the tenant that the request is being made for. Required when Tenant header is not provided.
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": {
"street1": "123 Main Street",
"street2": "Suite 100",
"city": "St. Paul",
"state_Province": "MN",
"postalCode": "55121",
"country": "US",
"county": "Dakota",
"geoCode": "241231070",
"schoolDistrictCode": "00000"
},
"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 updated company.
Example response
{
"id": 12345,
"name": "Acme Corporation",
"mainAddress": {
"street1": "123 Main Street",
"street2": "Suite 100",
"city": "St. Paul",
"state_Province": "MN",
"postalCode": "55121",
"country": "US",
"county": "Dakota",
"geoCode": "241231070",
"schoolDistrictCode": "00000"
},
"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"
}Changes
No recorded changes to this operation across all 1 revision of this API.