Przejdź do głównej zawartości

Pobierz statusy dostępne dla użytkownika

GET
/api/v3/Statuses/GetAllUserStatuses
curl --request GET \
--url https://twoja-instancja-smerp-api.enterprise.sellrocket.pl/api/v3/Statuses/GetAllUserStatuses \
--header 'Authorization: Bearer <token>'

Zwraca statusy, do których bieżący użytkownik ma uprawnienia.

Success

Typ treściapplication/json
Array<object>
object
id
integer format: int64
name
string
nullable
shortName
string
nullable
description
string
nullable
color
string
nullable
isFavorite
boolean
groupId
integer format: int64
nullable
position
integer format: int64
externalId
string
nullable
Examplegenerated
[
{
"id": 1,
"name": "example",
"shortName": "example",
"description": "example",
"color": "example",
"isFavorite": true,
"groupId": 1,
"position": 1,
"externalId": "example"
}
]