I am new to REST APIs and JSON and I've got a beginner question. The API that I am trying to use is asking for parameters according to the following schema:
<GetAppts xmlns="<Removed>" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:urn1="<Removed>">
<!--idtype occurs:0,1-->
<Patient xsi:nil="false">
<!--string occurs:0,1-->
<urn1:ID xsi:nil="false">Z42991</urn1:ID>
<!--string occurs:0,1-->
<urn1:Type xsi:nil="false">External</urn1:Type>
</Patient>
</GetAppts>
Example request parameters would be:
{"Patient":{"ID":"E1234","Type":"MRN"}}
However, when I am attempting to use SoapUI and Postman to test this API, I only see Key-Value pairs for the parameters, and I have no idea how to nest the ID and Type inside a Patient Object:
