Saltar al contenido principal
GET
/
v1
/
maintenance
/
assets
/
{assetReference}
/
location
Gets the relevant warehouse information about the asset
curl --request GET \
  --url https://api.bold-factory.com/v1/maintenance/assets/{assetReference}/location \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "externalReference": "<string>",
  "code": "<string>",
  "name": "<string>",
  "inheritedLocationId": "<string>",
  "inheritedLocation": {
    "id": "<string>",
    "externalReference": "<string>",
    "name": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "createdBy": "<string>",
    "lastModifiedAt": "2023-11-07T05:31:56Z",
    "lastModifiedBy": "<string>"
  },
  "locationId": "<string>",
  "location": {
    "id": "<string>",
    "externalReference": "<string>",
    "name": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "createdBy": "<string>",
    "lastModifiedAt": "2023-11-07T05:31:56Z",
    "lastModifiedBy": "<string>"
  }
}

Autorizaciones

Authorization
string
header
requerido

Use a valid JWT token in the Authorization header with the format 'Bearer {token}'

Parámetros de ruta

assetReference
string
requerido

Respuesta

OK

id
string
requerido
externalReference
null | string
requerido
code
string
requerido
name
string
requerido
inheritedLocationId
null | string
requerido
inheritedLocation
object
requerido
locationId
null | string
requerido
location
object
requerido