Hi,
I have request and responce files and in Request i have multiple request in an array and same in Responce.
When i give some part of request and i should get same from responce file instead everything. How can i do it ?
please find below request and responce example
Request:
POST /rcs HTTP/1.1POST /rcs HTTP/1.1
{ "rcsRequest": [
{ "transactionId": "", "transactionStatusCode": "", "postedTimeStamp": "", "transactionAmount": "", "accountNumber": "", "releaseStatus": "APP", "reason": "", "approvedBy": "", "approvedTimeStamp": "" },
{ "transactionId": "", "transactionStatusCode": "", "postedTimeStamp": "", "transactionAmount": "", "accountNumber": "", "releaseStatus": "REJ", "rejectedBy": "", "rejectedTimeStamp": "", "reason": "" }
]
}
Responce:
{ {
"rcsResponse":[
{ "transactionId": "", "ackStatus": "APP" },
{ "transactionId": "", "ackStatus": "REJ" }
]
}
what i am expecting is when i give
{ { "transactionId": "", "transactionStatusCode": "", "postedTimeStamp": "", "transactionAmount": "", "accountNumber": "", "releaseStatus": "APP", "reason": "", "approvedBy": "", "approvedTimeStamp": "" }
in the Request body, i want to get only
{{ "transactionId": "", "ackStatus": "APP" }
I am using Postman for this, please help me with this