Get spot fields for asset
GET/api/inspect/v1/spot/field
Fetch the list of spot fields in an asset for the given asset ID.
Request
Query Parameters
Asset ID for which spot fields are to be fetched.
Responses
- 200
- 400
- 401
- 403
- 404
- 500
200 response
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
data
object[]
List of spot fields
Whether the spot field is multi-valued
Name of the spot field
options
object[]
List of options for the spot field
Text of the option
Value of the option
Color of the option
Possible values: [1
, 2
, 3
, 4
, 5
, 6
, 7
, 8
, 9
, 10
]
Type of the spot field. Possible values are: 1 = Multiple Choice, 2 = System, 3 = Date, 4 = Date Range, 5 = Text, 6 = Text Multiline, 7 = Number Integer, 8 = Number Decimal, 9 = User, 10 = External Photo
ID of the spot field
Whether the spot field is multi-level
{
"data": [
{
"multivalued": false,
"name": "Severity",
"options": [
{
"color": "#FF0000",
"text": "Major",
"value": "major"
},
{
"color": "#FFFF00",
"text": "Minor",
"value": "minor"
}
],
"type": 1,
"id": "severity",
"multiLevel": false
}
]
}
400 response
- application/json
- Schema
- Example (from schema)
Schema
A code representing the specific error that occurred. This can be used to programmatically identify and handle the error.
A detailed description of the error, providing more context or information about what went wrong. This is intended to help understand the cause of the error and how to resolve it.
{
"error": "Forbidden",
"errorDescription": "permission denied"
}
401 response
- application/json
- Schema
- Example (from schema)
Schema
A code representing the specific error that occurred. This can be used to programmatically identify and handle the error.
A detailed description of the error, providing more context or information about what went wrong. This is intended to help understand the cause of the error and how to resolve it.
{
"error": "Forbidden",
"errorDescription": "permission denied"
}
403 response
- application/json
- Schema
- Example (from schema)
Schema
A code representing the specific error that occurred. This can be used to programmatically identify and handle the error.
A detailed description of the error, providing more context or information about what went wrong. This is intended to help understand the cause of the error and how to resolve it.
{
"error": "Forbidden",
"errorDescription": "permission denied"
}
404 response
- application/json
- Schema
- Example (from schema)
Schema
A code representing the specific error that occurred. This can be used to programmatically identify and handle the error.
A detailed description of the error, providing more context or information about what went wrong. This is intended to help understand the cause of the error and how to resolve it.
{
"error": "Forbidden",
"errorDescription": "permission denied"
}
500 response
- application/json
- Schema
- Example (from schema)
Schema
A code representing the specific error that occurred. This can be used to programmatically identify and handle the error.
A detailed description of the error, providing more context or information about what went wrong. This is intended to help understand the cause of the error and how to resolve it.
{
"error": "Forbidden",
"errorDescription": "permission denied"
}