I’m trying to create a collection runner that will call the same endpoint URL, but will have various json strings (a collection of each single string we send). But when I created the file, I seem to be running into an issue with the formatting. Can I create a runner with a header and detail section and separate them for each subsequent push? Ideally, I would want to be able to add as many of these as needed.
Example
{
"orderHeader": {
"recordType": "01",
"salesOrderNumber": "111111",
"salesOrderName": "",
"salesOrderID": "28106378111111120241111",
"orderStatus": "04",
"orderDate": "2024-11-11",
"orderAmount": 111.11,
"orderHoldReason": "Over Credit ",
"expectedShipDate": " ",
"divisionCode": " ",
"customerPONumber": "POSTMAN TEST1",
"insideSalesPersonEmailID": "",
"outsideSalesPersonEmailID": "[email protected]",
"orderEnteredBy": "[email protected]",
"forcedRoutingFlag": " ",
"holdStatus": " ",
"taxAmount": 0,
"openOrderBalanceAmount": 1234.56
},
"customerDetails": {
"customerNumber": "123412345",
"branchNumber": "1234",
"companyCode": "TEST123",
"sourceSystem": "TEST"
}
"orderHeader": {
"recordType": "01",
"salesOrderNumber": "222222",
"salesOrderName": "",
"salesOrderID": "78023200022222220241111",
"orderStatus": "04",
"orderDate": "2024-11-11",
"orderAmount": 222.22,
"orderHoldReason": "Over Credit",
"expectedShipDate": "",
"divisionCode": "",
"customerPONumber": "POSTMAN TEST2",
"insideSalesPersonEmailID": "[email protected]",
"outsideSalesPersonEmailID": "",
"orderEnteredBy": "[email protected]",
"forcedRoutingFlag": "",
"holdStatus": "",
"taxAmount": 0,
"openOrderBalanceAmount": 9876.54,
"arBalance": 0
},
"customerDetails": {
"customerNumber": "987698765",
"branchNumber": "9876",
"companyCode": "TEST321",
"sourceSystem": "TEST"
}
}
Postman details:
Postman for Windows
Version11.19.0
UI version
11.19.0-ui-241023-0433
Desktop platform version
11.19.0
Architecture
x64
OS platform
win32 10.0.19045