I’m a complete beginner at JSON and Postman. I reviewed the existing questions, but they all seemd to be about sending in an array from Postman.
My problem is when I receive an array back to Postman. I’ll include some shortened examples of what I mean. Here is the data that is sent. Note that all the fields called ???-NUM are used as indexes to indicate there is data in the next field - I don’t know if this is a/the standard way of doing things (BTW - obviously the details here are from test, so of no use to man or beast).
05 UT-IX-KONTO-TBL +0000000001 ← This intended to “say” that there is data in the table
05 UT-KONTO-TBL
10 UT-KONTO-RADER
10 UT-KONTO-RADER (1) <---- row 1 in the table
15 UT-KONTO-DETALJER
20 UT-ID-KONTONR-NUM +0000000001
20 UT-ID-KONTONR 508918737
20 UT-ID-KNR-KONTO-NUM +0000000001
20 UT-ID-KUNDNR-KONTO 101524007
20 UT-FL-KONTOSPARR-NUM +0000000001
20 UT-FL-KONTOSPARR ‘C’
20 UT-BL-LIMIT-NUM +000000000110 UT-KONTO-RADER (2) <----- row 2
15 UT-KONTO-DETALJER
20 UT-ID-KONTONR-NUM +0000000001
20 UT-ID-KONTONR 514617588
20 UT-ID-KNR-KONTO-NUM +0000000001
20 UT-ID-KUNDNR-KONTO 101524007
20 UT-FL-KONTOSPARR-NUM +0000000001
20 UT-FL-KONTOSPARR ‘C’
20 UT-BL-LIMIT-NUM +0000000001
20 UT-BL-LIMIT +0000000
20 UT-SU-AKT-SALDO-NUM +0000000001
20 UT-SU-AKT-SALDO +000000000.00
The results shown in Postman are as follows: -
{
"AccountListType": [ { "AccountNumber": 508918737, "CustomerID": 101524007, "AccountIsBlocked": true, "Limit": 8000, "CurrentBalance": 0.00, "MinBet": 0.00, "AccountCode": "K", "NameOfAccount": "ICA-KONTO", "Forfallet": 0.00, "AccountStartDate": "1993-07-06", "AccountEndDate": "1995-07-24", "InterestCalculationDate": "1995-09-07", "InterestOnDebt": 0.00, "CreditedRate": 0.00, "IsInkasso": true, "ClaimClassCode": "60", "RE-TG": 0.0000, "RE-KM": 10.4500, "Saldo-Avsluten": 0.00 } ]
}
Is there a trick I’m missing ???