Result Scoring
The process for getting scoring results based on Question and Answer data is sent to the SIJITU system.
The partner will send data to Espay then Espay will respond in JSON format containing detailed scoring results.
Message Flow
Merchant -> Espay
Metode
HTTP Post
API URL
Development : https://sandbox-api.espay.id/cdd/sijitu/resultscoring
Production : https://api.espay.id/cdd/sijitu/resultscoring
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 |
| risk_scoring_id |
11 |
Ya |
ID obtained from the Answer Scoring API |
| data |
500 |
Ya |
Data question answer |
| 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
|
| data |
500 |
Ya |
Data |
Request
POST /cdd/sijitu/resultscoring
HTTP/1.1
Content-Length: 240
Host: sandbox-api.espay.id
Accept: */*
Content-Type: application/x-www-form-urlencoded
rq_uuid=QUESTIONSCORING0101003&rq_datetime=1658307237&sender_id=PAVINDO&user_id=rivan@sgo.co.id&organization_id=SSB001&risk_scoring_id=175&data=[{"1":"jawaban 11","3":"jawaban 33","2":"jawaban 22"}]&signature=62615a2066b0d9e614371db4d63c6532cca3d12baf4240343dea3901e31ed061
Response
{
"rq_uuid": "QUESTIONSCORING0101003",
"rs-datetime": "2022-07-20 12:01:32",
"error_code": "0000",
"error_message": "Success",
"data": [
{
"score": {
"Category:Point 1": "Score:12,06",
"Category:Point 2": "Score:25,00",
"Category:Point 3": "Score:20,00",
"Category:Point 4": "Score:30,00"
},
"total_score": "87.06",
"summary": {
"grade": "High",
"desc": "High risk profile karena status category PEP"
},
"url_pdf": "https://sijitu-dev.espay.id/frontend/report/scoring/detail/print_pdf/eyJpdiI6InlIMzM3OUdMd1E3R2E3eVIxUEhZK2c9PSIsInZhbHVlIjoic1FBb0J2eUlyaVJuNGtpVkdBeVFKUUdLT0hxempzdUhCVUdOUzR2bWJDWUZWa0k1TERnQUtJMlB1U25uYWc4T1puUmFsVzhcL01jRkRwXC9Cc0VtTVRINW91cVNyc0FWdm1ielZnb2FPS0kzbDVpY01WWlJQMkdsR1V6YTFZZ2Zsa1wvM1RGZWhpT3ZDREFaVzVKRzZrb2Z3PT0iLCJtYWMiOiJkMDAyYTlkMGZkOGYzYmJiOGUxZDMxODQwMGJiZjQ5ZjhlN2Y2MzE4YTcyZmU3YmQ1YzE4ZGNkZjk2ZTMwYzBlIn0=",
"Answer Edd": {
"Question 1": "asd",
"Answer Question 1": "jawaban 11",
"Question 2": "tes",
"Answer Question 2": "jawaban 22",
"Question 3": "asd12",
"Answer Question 3": "jawaban 33"
}
}
]
}