...
Through the postman scripts we are getting the data from the existing mgramseva db and passing it to mgramseva adopter, which will push the data to ifix adopter.
Payments Curl:
Here Pass the offset and limit based on the total transactions present in the database.
Code Block |
---|
curl --location --request POST 'http://localhost:8084/mgramseva-ifix-adapter/mGramsevaAdopter/v1/_paymentdatatransfer?tenantId=pb.massewal&businessService=WS&limit=1000&offset=0' --header 'Content-Type: application/json' --data-raw '{ "RequestInfo": { "apiId": "Rainmaker", "ver": ".01", "ts": null, "action": "", "did": "1", "key": "", "msgId": "20170310130900|en_IN", "authToken": null, "correlationId": null, "userInfo": { "id": 1238, "userName": "230566|6nazOXejetsSwLcRS5aclEJD/4e7SzmimN4=", "name": "230566|kBzPQAXbCiQzR3NUY/cLPTzdnmw63ho=", "type": "SYSTEM", "mobileNumber": "230566|6nazOXejetsSwLcRS5aclEJD/4e7SzmimN4=", "emailId": null, "roles": [ { "id": null, "name": "Employee", "code": "EMPLOYEE", "tenantId": "pb" }, { "id": null, "name": "System user", "code": "SYSTEM", "tenantId": "pb" } ], "tenantId": "pb.lodhipur", "uuid": "47ff55dc-c9d0-4f86-8f82-b4d7a24ba59e" } } }' |
...