Tasks
Mark Task as Processed
Getting Started
- Overview
- Quick Start
- API Concepts
Endpoints
- Incoming Transactions
- Outgoing Transactions
- All Transactions
- Tasks
- Misc
Tasks
Mark Task as Processed
Report the processing of tasks and submit result data.
PUT
/
v2
/
tasks
/
{procurosTaskId}
curl --request PUT \
--url https://api.procuros.io/v2/tasks/{procurosTaskId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"success": true,
"result": [
{
"systemIdentifier": "KU-1092",
"isEnabled": false,
"mainParty": {
"name": "ACME Co. Ltd.",
"identifiers": [
{
"identifier": "4300000000001",
"domain": "GS1"
},
{
"identifier": "DE123456789",
"domain": "VAT_DE"
}
],
"postalAddress": {
"name": "ACME Co. Ltd.",
"street": "Elroy-Fritsch-Ring 15",
"city": "Berlin",
"countryCode": "DE",
"postalCode": "82643"
},
"contacts": [
{
"firstName": "John",
"lastName": "Doe",
"email": "[email protected]",
"fax": "(818) 463-6124",
"phone": "+1.352.856.0626"
}
]
},
"additionalParties": {
"shipTo": [
{
"name": "ACME Corp Warehouse A",
"identifiers": [
{
"identifier": "4300000000002",
"domain": "GS1"
}
],
"postalAddress": {
"name": "ACME Co. Ltd.",
"street": "Musterstraße 445",
"city": "Berlin",
"countryCode": "DE",
"postalCode": "82643"
},
"contacts": [
{
"firstName": "John",
"lastName": "Doe",
"email": "[email protected]",
"fax": "(818) 463-6124",
"phone": "+1.352.856.0626"
}
]
}
],
"billTo": [
{
"name": "ACME Corp Billing",
"identifiers": [
{
"identifier": "4300000000003",
"domain": "GS1"
}
],
"postalAddress": {
"name": "ACME Co. Ltd.",
"street": "Musterstraße 445",
"city": "Berlin",
"countryCode": "DE",
"postalCode": "82643"
},
"contacts": [
{
"firstName": "John",
"lastName": "Doe",
"email": "[email protected]",
"fax": "(818) 463-6124",
"phone": "+1.352.856.0626"
}
]
}
]
}
}
]
}'
{
"message": "OK."
}
Authorizations
The API Token of your ERP Connection.
Path Parameters
Unique ID assigned to every task by Procuros.
Example:
"949b2f25-fd9d-4c58-8899-b4dc277f8cf9"
Body
application/json
Expected parameters to update a task.
The body is of type object
.
Response
200
application/json
Success
The response is of type object
.
Was this page helpful?
curl --request PUT \
--url https://api.procuros.io/v2/tasks/{procurosTaskId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"success": true,
"result": [
{
"systemIdentifier": "KU-1092",
"isEnabled": false,
"mainParty": {
"name": "ACME Co. Ltd.",
"identifiers": [
{
"identifier": "4300000000001",
"domain": "GS1"
},
{
"identifier": "DE123456789",
"domain": "VAT_DE"
}
],
"postalAddress": {
"name": "ACME Co. Ltd.",
"street": "Elroy-Fritsch-Ring 15",
"city": "Berlin",
"countryCode": "DE",
"postalCode": "82643"
},
"contacts": [
{
"firstName": "John",
"lastName": "Doe",
"email": "[email protected]",
"fax": "(818) 463-6124",
"phone": "+1.352.856.0626"
}
]
},
"additionalParties": {
"shipTo": [
{
"name": "ACME Corp Warehouse A",
"identifiers": [
{
"identifier": "4300000000002",
"domain": "GS1"
}
],
"postalAddress": {
"name": "ACME Co. Ltd.",
"street": "Musterstraße 445",
"city": "Berlin",
"countryCode": "DE",
"postalCode": "82643"
},
"contacts": [
{
"firstName": "John",
"lastName": "Doe",
"email": "[email protected]",
"fax": "(818) 463-6124",
"phone": "+1.352.856.0626"
}
]
}
],
"billTo": [
{
"name": "ACME Corp Billing",
"identifiers": [
{
"identifier": "4300000000003",
"domain": "GS1"
}
],
"postalAddress": {
"name": "ACME Co. Ltd.",
"street": "Musterstraße 445",
"city": "Berlin",
"countryCode": "DE",
"postalCode": "82643"
},
"contacts": [
{
"firstName": "John",
"lastName": "Doe",
"email": "[email protected]",
"fax": "(818) 463-6124",
"phone": "+1.352.856.0626"
}
]
}
]
}
}
]
}'
{
"message": "OK."
}