Rules and Istructions:

Schema:

image-20240619-165529.png

Buyer Configuration:

Supplier Configuration:

Suppliers that agreed to work with Modular Survey:

API ENDPOINT SPECIFICATION:

(API) Endpoints 1: Validate Transaction and create a new Transaction

Use this API to validate the Respondent and in case of valid transaction,

JDPA can send us survey_id and supplier_id in the API then we can use an existing API

POST {{BASE_URL}}/buyers/v2/surveys/SURVEY_ID/transactions?supplier_id=SUPPLIER_ID

Body:

[]

Response (Transaction is valid for next study):

[]

Response (Transaction is NOT valid for next study):

[]

(API) Endpoints 2: Register the Transaction as Complete

Use this API to validate the Respondent and in case of valid transaction,

POST {{BASE_URL}}/buyers/v2/surveys/SURVEY_ID/transactions/TRANSACTION_ID/status?st=21

Body:

[]

Response:

[]