API
- Introduction
- Authentication
- Idempotency
- Versioning
- Silo
- Transform
- Sequences
- Access
- Utils
Workflows
Create a workflow
Create a new workflow idempotently with the given UUID (any version).
PUT
/
transform
/
v1
/
workflows
/
{id}
curl --request PUT \
--url https://api.invopop.com/transform/v1/workflows/{id} \
--header 'Content-Type: application/json' \
--data '{
"country": "ES",
"description": "<string>",
"name": "<string>",
"schema": "bill/invoice",
"steps": [
{
"config": {},
"id": "186522a6-e697-4e34-8498-eee961bcb845",
"name": "<string>",
"next": [
{
"status": "OK",
"step_id": "186522a6-e697-4e34-8498-eee961bcb845",
"stop": true
}
],
"notes": "<string>",
"provider": "provider"
}
]
}'
{
"country": "<string>",
"created_at": "<string>",
"description": "<string>",
"disabled": true,
"id": "186522a6-e697-4e34-8498-eee961bcb845",
"name": "<string>",
"schema": "<string>",
"steps": [
{
"config": {},
"id": "186522a6-e697-4e34-8498-eee961bcb845",
"name": "<string>",
"next": [
{
"status": "OK",
"step_id": "186522a6-e697-4e34-8498-eee961bcb845",
"stop": true
}
],
"notes": "<string>",
"provider": "provider"
}
],
"updated_at": "<string>",
"version": "<string>"
}
Path Parameters
UUID (any version) of the workflow to create.
Example:
"186522a6-e697-4e34-8498-eee961bcb845"
Body
application/json
Response
200 - application/json
OK
The response is of type object
.
curl --request PUT \
--url https://api.invopop.com/transform/v1/workflows/{id} \
--header 'Content-Type: application/json' \
--data '{
"country": "ES",
"description": "<string>",
"name": "<string>",
"schema": "bill/invoice",
"steps": [
{
"config": {},
"id": "186522a6-e697-4e34-8498-eee961bcb845",
"name": "<string>",
"next": [
{
"status": "OK",
"step_id": "186522a6-e697-4e34-8498-eee961bcb845",
"stop": true
}
],
"notes": "<string>",
"provider": "provider"
}
]
}'
{
"country": "<string>",
"created_at": "<string>",
"description": "<string>",
"disabled": true,
"id": "186522a6-e697-4e34-8498-eee961bcb845",
"name": "<string>",
"schema": "<string>",
"steps": [
{
"config": {},
"id": "186522a6-e697-4e34-8498-eee961bcb845",
"name": "<string>",
"next": [
{
"status": "OK",
"step_id": "186522a6-e697-4e34-8498-eee961bcb845",
"stop": true
}
],
"notes": "<string>",
"provider": "provider"
}
],
"updated_at": "<string>",
"version": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.