[Fixed]Error receiving asset info
Posted: Sun Feb 20, 2022 11:58 pm
Hi!
I am having an issue with getting asset information where the information from the assets endpoint seems incorrect. Here is a specific example:
INPUT
OUTPUT
INPUT
OUTPUT
Using an asset associated with the site found from the first API request fails during the second API request. I am using implicit grant type.
I am having an issue with getting asset information where the information from the assets endpoint seems incorrect. Here is a specific example:
INPUT
Code: Select all
# get asset information
{{baseURL}}/api/v1.0/companies/0/sites/286/assets/Code: Select all
[
...
...
{
"ID": 392,
"AssetType": {
"ID": 2,
"Name": "UPS / EBM / Bypass"
}
},
...
...
]
Code: Select all
# specific asset information
{{baseURL}}/api/v1.0/companies/0/sites/286/assets/392Code: Select all
{
"errors": [
{
"path": null,
"message": "Customer asset not found.",
"value": null
}
]
}