HTTP request
GET https://api-{location-id}.flexicapture.com/v2/dataset/businessunits/{region} where {location-id} is the supported location.Path parameters
Parameters | |
region | path, string Required. Invoice region. Supported regions: US: USA, AU: Australia, EU: European Union countries, CA: Canada. |
ExternalId | query, string Optional. External business unit ID. |
Skip | query, integer Optional. Skip count. |
Response
If successful, the response body contains an instance of BusinessUnitsResponseModel. If request is successful but business units with the specified region are not found, the server returns a 204 OK HTTP status.BusinessUnitsResponseModel JSON representation
BusinessUnitsResponseModel JSON representation
BusinessUnitsResponseModel fields
BusinessUnitsResponseModel fields
BusinessUnitsResponseModel fields | |
external_id | string Required. External business unit ID. |
name[] | string Required. Business unit name. |
street[] | string Optional. Business unit street. |
city[] | string Optional. Business unit city. |
state[] | string Optional. Business unit state. |
zip[] | string Optional. Business unit zip code. |
country_code | string Required. Country code in ISO 3166-1 alpha-2 format. |
vat[] | string Optional. Tax payer ID. |
