Batch Search



yaitu the process of checking customer data with more than one number based on names who have previously registered with the relevant party. In this API, clients are asked to send customer data in the form of a CSV file according to the format provided by SIJITU.


The client will send data to Espay then Espay will respond in JSON format containing the file upload status for searching. Batch search results will be sent to the API which must be provided by the client with a CSV file containing data search results based on the name sent.


Message Flow

Merchant -> Espay

Metode

HTTP Post

API URL

Development : https://sandbox-api.espay.id/cdd/sijitu/uploadbatchdata
Production : https://api.espay.id/cdd/sijitu/uploadbatchdata



Parameter Request:
Parameter Name Max Length Mandatory Description
rq_uuid 64 Ya Request identifier. Unique id to identify this message with other messages
rq_datetime 19 Ya Date and time on the Espay application server when the message was sent
sender_id 32 Ya Merchant identity code registered in the Espay application
user_id 64 Ya email registered in Sijitu
organization_id 32 Ya Merchant code registered in Sijitu
isResult 5 Tidak Result Batch Search results. fixed value api/email
data file Ya The name you want to search for is in the form of a CSV file
signature 64 Ya Signature that must be validated by Espay. Click here for details


Parameter Response:
Parameter Name Max Length Mandatory Description
rq_uuid 64 Ya Request identifier. Unique id to identify this message with other messages
rs_datetime 32 Ya Date and time on the Espay application server when the message was sent
error_code 4 Ya Error code in web service, 0000 its success
error_message 32 Ya Description error


Request

POST /cdd/sijitu/batchsearch HTTP/1.1 Content-Length: 240 Host: sandbox-api.espay.id Accept: */* Content-Type: multipart/form-data rq_uuid=ABCTEST123SIJITUCEKBALANCE010100019PROD01&rq_datetime=2020-11-26 16:15:45&sender_id=SALDOMU&user_id=test@gmail.com&organization_id=ORG001&data=[berisi file csv]&signature=62615a2066b0d9e614371db4d63c6532cca3d12baf4240343dea3901e31ed061&isResult=email

Response

{ "rq_uuid": "ABCTEST123SIJITUCEKBALANCE010100019PROD01", "rs_datetime": "2022-09-12 16:38:50", "error_code": "0000", "error_message": "Success" }