Przejdź do głównej zawartości

Uruchom skrypt z własnymi danymi wejściowymi

POST
/api/v3/automaticScripts/start-with-config/{id}
curl --request POST \
--url https://twoja-instancja-ajs-api.enterprise.sellrocket.pl/api/v3/automaticScripts/start-with-config/1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "additionalProperty": {} }'

Uruchamia skrypt ręcznie, przekazując dowolny JSON jako konfigurację tego uruchomienia.

id
wymagane
integer format: int64

Id of the script to start.

Parameters of the run. They will be passed to the script in object with name data.

object
key
additional properties
object
options
object
propertyNameCaseInsensitive
boolean
parent
object
object recursive
root
object
object recursive
Examplegenerated
{
"additionalProperty": {}
}

Accepted

integer format: int64

Bad Request

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

Not Found

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