Retrieve a list of UUIDs corresponding to a list of AOS IDs.
POST /aos/v1/tools/ids-to-uuids
| Header | Value |
|---|---|
| Content-Type | application/json |
| Accept | application/json |
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| resources | array | yes | The items to convert |
| resources.projects | array<string> | no | An array of AOS projects ID |
| resources.organizations | array<string> | no | An array of AOS organizations ID |
| resources.templates | array<string> | no | An array of AOS templates ID |
| resources.documents | array<string> | no | An array of AOS documents ID |
| resources.users | array<string> | no | An array of AOS users ID |
| resources.trade_lists | array<string> | no | An array of AOS trade lists ID |
| resources.trades | array<string> | no | An array of AOS trades ID |
| resources.customers | array<string> | no | An array of AOS customers ID |
{
"resources": {
"projects": ['AAAAAAAAAAAAAAAAA', 'BBBBBBBBBBBBBBBB'],
"organizations": ['AAAAAAAAAAAAAAAAA', 'BBBBBBBBBBBBBBBB'],
//...
}
}
Status: 200 OK
It returns for each resource the AOS ID and its UUID.
{
"resources": {
"projects": [
{
"id": "AAAAAAAAAAAAAAAAA",
"uuid": "97740900-803b-4582-a67d-ab7a2fc71101"
},
{
"id": "BBBBBBBBBBBBBBBB",
"uuid": "97740900-803b-4582-a67d-ab7a2fc71102"
}
],
"organizations": [
{
"id": "AAAAAAAAAAAAAAAAA",
"uuid": "97740900-803b-4582-a67d-ab7a2fc71103"
},
{
"id": "BBBBBBBBBBBBBBBB",
"uuid": "97740900-803b-4582-a67d-ab7a2fc71104"
}
]
}
}
``