Suppliers - Management
Get the parents of the target as a list.
Changed onRetrieve parent targets for the specified target.
Required Permission: access_public_target_parents
Performance impact: Low
get/public/v1/target/{systemId}/{targetId}/parents
Request
- Base URLhttps://api.prewave.com
- AuthAPI key in header X-Auth-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
systemIdstring required
The system ID is an identifier to determine from which the targetId might originate from. Supported systemIds are "prewave", "customer", "supplier", "own".
targetIdstring required
The target ID can be the target's prewaveId or an external id (edge number) representing the site in another system.
Query parameters
Response
Successfully retrieved parent targets
Example response
[
{
"id": 102006215,
"name": "Høyanger",
"sname": "3191281",
"description": "Description shown in the target profile",
"location": "Mistelbach",
"yearFounded": 1999,
"screened": true,
"screenedStatus": "Screened",
"linkedInId": "general-motors",
"ctype": {
"id": 1234,
"ctype": "mine",
"targetTypeId": 1234,
"displayName": "Mine",
"pluralName": "Mines",
"icon": "fas fa-mine",
"bgColor": "#ff0000",
"textColor": "#ffffff"
},
"foreignSystems": [
{
"id": "1234",
"source": "SAP_ARIBA"
}
]
}
]Changes
- info
added to the
/response propertyallOflist for the response status - info
removed from the
/response propertyallOflist for the response status
- info
- info
response property
items/earliestAlertdeprecated
- info