cancel
Showing results for 
Search instead for 
Did you mean: 

REST RECEIVER ADAPTER in PI7.5 XML to JSON Conversion Issue

sivakumar_mobility
Active Participant
0 Kudos

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.

Accepted Solutions (0)

Answers (0)