Skip to main content

Trade Tracking Pipeline Sampling Approval

PATCH /api/v1/trade-tracking-pipeline/sampling/approval

Description​

Approve sampling in the trade tracking pipeline.

Path Parameters​

NameTypeDescription
NoneNo parameters

Request Headers​

NameTypeDescription
tenantIdstringThe tenant ID (header)
userIdstringThe user ID (header)
countryCodestringThe country code (header)

Request Body​

  • Content Type: application/json
{
"trade": "string",
"processFlow": "string",
"amount": 0,
"proofOfPayment": "string",
"testResult": "string",
"status": true,
"dateTimeStamp": "2024-07-13T01:15:53.342Z",
"userId": "string",
"tenantId": "string",
"countryCode": "string"
}

Response Code: 200 - OK​

Description

Approval successful.

Headers​

Content-TypeValue
apiKey{{apiKey}}
tenantIdstring
userIdstring
countryCodestring

Body​

{
"trade": "Sample Trade",
"processFlow": "Sample Process Flow",
"amount": 1000,
"proofOfPayment": "Sample Proof of Payment",
"testResult": "Sample Test Result",
"status": true,
"dateTimeStamp": "2024-07-13T01:15:53.342Z",
"userId": "usr456",
"tenantId": "ten123",
"countryCode": "US"
}

🔑 Authentication bearer​

ParamValueType
token{{accessCode}} string

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request PATCH \ 
--url /api/v1/trade-tracking-pipeline/sampling/approval \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


Click Try It! to start a request and see the response here!