Skip to content

Retrieve Business Units

Use this API to retrieve the business unit details.

GET https://arc-aegis.billtrust.com/creditapp/api/v1/tenants/{tenantId}/businessunits/values

Example:

curl -X GET 'https://arc-aegis.billtrust.com/creditappcore/api/v1/tenants/{tenantId}/businessunits/values' \
    -H 'Content-Type: application/json' \
    -H 'Accept: application/json' \
    -H 'X-Billtrust-Api-Key: <API key value>'

Sample Response Payload

[
    {
        "businessUnitsId": "c0d5beae-b224-11e9-a075-028e0f350d3a",
        "displayName": "Sector",
        "businessUnitsValuesList": [
            {
                "businessUnitsValuesId": "c0d6c4e5-b224-11e9-a075-028e0f350d3a",
                "displayName": "Division 1",
            },
            {
                "businessUnitsValuesId": "c0d6e432-b234-11e9-a075-028e0f350d3a",
                "displayName": "Division 2",
            }
        ]
    }
]
  • businessUnitsId - Unique identifier(GUID) for a Business Unit type grouping
  • displayName - the name of the business unit grouping.
  • businessUnitsValuesList.x.displayName - Name of the business unit.
  • businessUnitsValuesList.x.businessUnitsValuesId - Unique identifier of the business unit value

IMPORTANT! - In the credit application response, the businessUnitIdList property refers to the businessUnitsValuesId from the business unit response payload