Reconciliation via API

PRODUCTION API END POINTS:

1 2 3 4 5 Single survey: POST : https://api.spectrumsurveys.com/buyers/v2/adjustments/surveys/{surveyId} Multimple Survey: https://api.spectrumsurveys.com/buyers/v2/adjustments

DESCRIPTION:

STAGING API and Payload:

1 - Reconciliation Single Survey:

Buyer API endPoint:

1 2 3 POST : https://staging.spectrumsurveys.com/buyers/v2/adjustments/surveys/{surveyId} API: POST Access-token: Buyer account

Request Payload:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 [ { "transaction_id": "7lNK5AGrSL3bk5tV4gw0Tr" }, { "transaction_id": "7dTdSUUWkR9DBs7rUi5jdT" }, { "transaction_id": "5EmEbeX9mEblEpwP6yHG1K" }, { "transaction_id": "6HkYQWFMcIcDOTxfnIi6op" } ]

 

Response:

1 2 3 4 5 6 7 8 9 { "adjustment_id": "b43ce6a3-9578-4ba6-8cc5-a4add094a352", "summary": { "transactions": 4, "eligible": 4, "completes": 1, "rejected": 0 } }

 

2 - Reconciliation multiple surveys (Bulk Reconciliation)

Buyer API endPoint:

1 2 3 POST : https://staging.spectrumsurveys.com/buyers/v2/adjustments API:POST Access-token:Buyer account

Request Payload:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 [ { "transaction_id": "7by1JwD0oLzX1iip0liui4" }, { "transaction_id": "7Er50MDCnV0b0bc91S8Qr1" }, { "transaction_id": "41JBHVbfHas8kzAwYhGW9l" }, { "transaction_id": "7mwVC728181yok8mKgDzQv" }, { "transaction_id": "21NJOoeCB4mXoMZXg77bNo" }, { "transaction_id": "5j2UOEpgsMlXoLix0qtU0W" } ]

 

Response:

1 2 3 4 5 6 7 8 9 { "adjustment_id": "46e10177-c3a3-4246-a33a-0c8306f3a9a6", "summary": { "transactions": 6, "eligible": 6, "completes": 0, "rejected": 2 } }