The function of the Web Report Master Voucher service is to display master data related to all products provided on the web admin. The following is a detailed explanation of the three actions on the master voucher.
Here's the detail of service action in Web Report Master Voucher :
Master
Used to display a list of data from all voucher transactions.
Payload Data
Name | Data Type |
---|---|
Limit | String |
Page | String |
Search | String |
Status | String |
StartDate | String |
EndDate | String |
Example Request
{
"Subject":"ewallet",
"SubjectType":"webreport",
"SubjectIdentifier":"voucher",
"Action":"master",
"ResourceType":"",
"Resource":"",
"ResourceId":"",
"Data":{
"Limit":10,
"Page":1,
"Search":"",
"Status":"",
"StartDate":"",
"EndDate":""
}
}
Detail
Used to display the details of voucher transaction based on id transaction.
Payload Data
Name | Data Type |
---|---|
ID | String |
Example Request
{
"Subject":"ewallet",
"SubjectType":"webreport",
"SubjectIdentifier":"voucher",
"Action":"detail",
"ResourceType":"",
"Resource":"",
"ResourceId":"",
"Data":{
"Id":3967404
}
}
Export
Used to download or export report voucher transaction data.
Payload Data
Name | Data Type |
---|---|
Limit | String |
Page | String |
Search | String |
Status | String |
Destination | String |
Payment | String |
StartDate | String |
EndDate | String |
Example Request
{
"Subject":"ewallet",
"SubjectType":"webreport",
"SubjectIdentifier":"voucher",
"Action":"export",
"ResourceType":"",
"Resource":"",
"ResourceId":"",
"Data":{
"Limit":10,
"Page":1,
"Search":"",
"Status":"",
"StartDate":"",
"EndDate":""
}
}