Companies
Get a Company
Returns details about the specified company.
get/v1/company/{companyId}
Request
- Base URLhttps://api.avionte.com/front-office
- URLhttps://api.avionte.com/front-office/v1/company/{companyId}
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
companyIdstring required
An identifier for the company being retrieved.
Headers
RequestIdstring uuid
Unique request identifier in UUID format used to correlate request data to log entries and events.
Example:63680b86-c7e0-4a36-ae4a-d0d481089aff
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.
Response
The retrieved company record.
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"
},
"billingAddress": {
"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://abc.myavionte.com/app/#/company/12345",
"representativeUsers": [
18394,
18402
],
"statusId": 184,
"status": "Active",
"statusType": "General",
"industry": "Information Technology",
"latestActivityName": "Meeting",
"openJobs": 15,
"phoneNumber": "800-555-0199",
"fax": "800-555-0198",
"webSite": "https://www.acmecorp.com",
"origin": "PartnerX",
"originRecordId": "12345-abcde",
"weekEndDay": "Friday",
"payPeriod": "BiWeekly",
"payCycle": "Last Week",
"billingPeriod": "Monthly",
"billingCycle": "2",
"isParent": true,
"parentCompanyId": 13839
}Changes
No recorded changes to this operation across all 1 revision of this API.