Przejdź do głównej zawartości

Pobierz obiekty dostępne w skryptach

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

Zwraca obiekty i pola, z których można korzystać w skryptach automatycznych danego typu. Przydatne przy pisaniu własnych skryptów.

type
string

Object type.

Success

object
id
integer format: int64
name
string
nullable
body
string
nullable
groupId
integer format: int64
priority
integer format: int64
delaySeconds
integer format: int64
inputDataSchema
nullable
inputUiSchema

(absent ⇒ property omitted)

nullable
inputDataDefaultsScriptId

(absent ⇒ property omitted)

integer format: int64
nullable
type
string
Dozwolone wartości: AutomaticScript AutomaticAction
updatedAt
string format: date-time
nullable

Not Found

object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties