Get a list of companies
Get the list of companies. <br>You must have at least one of these scopes: 'companies.read, companies.manage'.<br>For fine-grained clients, you must have this permission: 'core.companies.read'.
Request
- Base URLhttps://api.apaleo.com (the document declares no server; this is the origin it was published from)
- URLhttps://api.apaleo.com/rateplan/v0-nsfw/companies
- AuthOAuth 2Implicit: https://identity.apaleo.com/connect/authorizeScopes: companies.read, companies.manage, admin
Query parameters
Filter by the specified property
Return companies with any of the specified rate plans
Return companies that have any of the requested corporate codes. Use '*' to find companies with any corporate code. Use null (or %00 URL-encoded) to find companies without corporate codes. These can be combined: [null, "CODE1"] returns companies with no codes OR CODE1.
This will filter all companies for the provided free text. Currently it only looks up if the company name contains one of the provided values
Page number to retrieve. Default: 1. If the page has no items, the API returns 204 No Content.
Items per page. Default: 500. Maximum: 500.
List of all embedded resources that should be expanded in the response. Possible values are: identifiers. All other values will be silently ignored.
Response
Success.
Example response
{
"companies": [
{
"identifiers": [
{
"scheme": "PEPPOL:0204",
"value": "991-12345-37"
}
],
"type": "GovernmentBuyer",
"id": "MUC-UMBRELLA",
"code": "UMBRELLA",
"propertyId": "MUC",
"name": "Umbrella Corp.",
"invoicingEmail": "umbrella@corp.com",
"phone": "+49 89 12345678",
"taxId": "Tax 123456",
"additionalTaxId": "123456789",
"additionalTaxId2": "987654321",
"invoiceNetworkIdentity": {
"network": "Peppol",
"id": "0208:123456789"
},
"address": {
"addressLine1": "Marienplatz 1",
"postalCode": "80331",
"city": "München",
"countryCode": "DE"
},
"canCheckOutOnAr": true,
"ratePlans": [
{
"id": "MUC-DBL",
"code": "DBL",
"corporateCode": "UMBRELLAINC",
"name": "Double room flexible"
}
]
}
],
"count": 0
}Changes
No recorded changes to this operation across all 4 revisions of this API.