Przejdź do głównej zawartości

Pobierz nagłówek skryptu automatycznego

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

Zwraca podstawowe dane skryptu (m.in. nazwę, status, wyzwalacz) bez kodu źródłowego.

id
wymagane
integer format: int64

Id of the automatic script.

Success

object
id
integer format: int64
name
string
nullable
groupId
integer format: int64
groupName
string
nullable

Not Found

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