Przejdź do głównej zawartości

Pobierz skrypt automatyczny po nazwie

GET
/api/v1/automaticScripts/name/{name}
curl --request GET \
--url https://twoja-instancja-ajs-api.enterprise.sellrocket.pl/api/v1/automaticScripts/name/example \
--header 'Authorization: Bearer <token>'

Zwraca skrypt automatyczny o podanej nazwie.

name
wymagane
string

Name of the automatic script.

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