Approve Trade Process Flow
PATCH /api/v1/trades/{tradeId}/process-flows/approval
Description
Approve a trade process flow.
Path Parameters
| Name | Type | Description |
|---|---|---|
tradeId | string | The ID of the trade (path) |
Request Headers
| Name | Type | Description |
|---|---|---|
tenantId | string | The tenant ID (header) |
userId | string | The user ID (header) |
Request Body
- Content Type:
application/json
{
"reason": "string",
"status": "ACCEPTED",
"userId": "string"
}
Response Code: 200 - OK
Description
Approval of trade process flow was successful.
Headers
| Content-Type | Value |
|---|---|
| apiKey | {{apiKey}} |
| tenantId | string |
| userId | string |
Body
{
"reason": "Approved after review",
"status": "ACCEPTED",
"userId": "usr456"
}
🔑 Authentication bearer
| Param | Value | Type |
|---|---|---|
| token | {{accessCode}} | string |
LANGUAGE
CURL REQUEST
curl --request PATCH \
--url /api/v1/trades/{tradeId}/process-flows/approval \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!