on 12-31-2018 3:53 AM
Dear All,
I am not able to generate API in this format in PI rest receiver after array used also.
Requested Format:
[
{
"id": "amit100520180654",
"transaction_date": "10/05/2018",
"return_period": "062018",
"source": "USER",
"total_taxable_val": 150024.85,
"total_igst_val": 18002.91,
"discount_type": null,
"total_val": 168027.76,
"tags": null,
"gst_status": null,
"gst_validation_errors": null,
}
]
SAP PI generated like this.
{"id":"amit100520180654","transaction_date":"10\/05\/2018","return_period":"062018","source":"USER","total_taxable_val":150024.85,"total_igst_val":18002.91,"total_val":168027.76,"tags":"null","gst_status":"null","gst_validation_errors":"null" }
Note: I am using PI7.5 only. In the beginning itself array format required without outer element. I have used conversion mapping table , In that with outer element array format is coming. But Clear Tax API is different.
With Regards,
Siva.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.