Przejdź do głównej zawartości

Pobierz stan zadania dotyczącego skryptów

GET
/api/jobs/get/{id}
curl --request GET \
--url https://twoja-instancja-ajs-api.enterprise.sellrocket.pl/api/jobs/get/1 \
--header 'Authorization: Bearer <token>'

Zwraca status zadania asynchronicznego zwróconego przy tworzeniu, edycji lub usuwaniu skryptów i grup.

id
wymagane
integer format: int64

Success

Typ treściapplication/json
object
id
integer format: int64
createdAt
string format: date-time
updatedAt
string format: date-time
payload
nullable
result
nullable
status
string
Dozwolone wartości: New InProgress Completed Failed
command
string
nullable
Example
{
"status": "New"
}