Get Buyer Business Unit Data
Describes the API specifications for retrieving all buyer business unit data.
Request
URI: https://<SAP Fieldglass envionment URL>/api/v1/admin/v1/buyer-business-units/<buyer-business-unitsID>?_loadInActiveObjects=true
HTTP Method: GET
Request Parameters
| Parameter | Required | Data Type | Description | Parameter Type |
|---|---|---|---|---|
| buyer-business-unitID | Yes | String | The unique ID of the buyer business unit. | Path |
| ?_loadInActiveObjects=true | No | String | Include a record that is inactive but should still be pulled into the API. | Query string |
Request Example
GET https://company.com/api/v1/admin/v1/buyer-business-units/012504042814353939172072 authorization: Bearer WDXlKj3TTOn3rpg9GHnZpbKmvj1= x-ApplicationKey: 5c91f4fdb0c6ee9992ff476f89bf6cf25e589350 content-type: application/json
Response
Response Status and Error Codes
See Common Status and Error Codes for more information.
Resonse Body
| Element | Data Type | Description | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| activeFlag | Boolean | Indicates whether the business unit is active. | |||||||||||||||||||||
| buCoordinatorDistributorSet | Array |
|
|||||||||||||||||||||
| buId | String | The unique ID of the Business Unit. | |||||||||||||||||||||
| buyerSelectsAPCodeFlag | Boolean | Indicates whether the Business Unit has been configured to select the Accounts Payable (AP) code. | |||||||||||||||||||||
| code | String | Code describing the Business Unit. | |||||||||||||||||||||
| companyCode | String | The Business Unit's company code. | |||||||||||||||||||||
| companyType | String | The Business Unit's company type. | |||||||||||||||||||||
| coordinatorId | String | The unique ID of the Resource Coordinator. | |||||||||||||||||||||
| createTime | String | The day and time the Business Unit record was created. | |||||||||||||||||||||
| displayStatus | String | The Business Unit status that displays in the UI. | |||||||||||||||||||||
| distributorId | String | The unique ID of the Distributor. | |||||||||||||||||||||
| escalationPrefId | String | The Escalation Preference ID related to transactions that will be created for this Business Unit. | |||||||||||||||||||||
| legalEntityAssociation | String | Indicates whether the business unit applies to more than one legal entity. | |||||||||||||||||||||
| name | String | Name of the Business Unit. | |||||||||||||||||||||
| parentBuId | String | The ID of the Business Unit directly above this Business Unit in the company Hierarchy. | |||||||||||||||||||||
| requireCoordinatorFlag | Boolean | Indicates whether a Resource Coordinator is required for this Business Unit. | |||||||||||||||||||||
| requireDistributorFlag | Boolean | Indicates whether a Distributor is required for this Business Unit. | |||||||||||||||||||||
| requireRemitToAddressFlag | Boolean | Indicates ether a Remit-to Address is required. | |||||||||||||||||||||
| revisionTime | String | The date and time the business unit record was revised. | |||||||||||||||||||||
| uploadedFlag | Boolean |
| Element Name | Data Type | Description |
|---|---|---|
| rel | String |
Related sub-modules. Example:
|
| link | String | The URI of the link. |
| id | String | Globally unique database-level identifier of the business unit record. Only valid when rel=self. |