Get details on a given status.
string
RequiredReturns status details.
1
2
3
curl --request GET \
--url 'http://{baseurl}/rest/assets/1.0/config/statustype/{id}' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
{
"id": 2154,
"name": "<string>",
"description": "<string>",
"category": 2154,
"objectSchemaId": 2154
}
Update an existing status type.
string
RequiredThe status type to update
integer
string
string
integer
integer
Returns the updated status type.
1
2
3
4
5
6
7
8
9
10
11
curl --request PUT \
--url 'http://{baseurl}/rest/assets/1.0/config/statustype/{id}' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"id": 2154,
"name": "<string>",
"description": "<string>",
"category": 2154,
"objectSchemaId": 2154
}'
1
2
3
4
5
6
7
{
"id": 2154,
"name": "<string>",
"description": "<string>",
"category": 2154,
"objectSchemaId": 2154
}