All documented web services allow for the submission of multiple operations (i.e. sub-requests) within each HTTP request.
For GET Requests:
Multiple comma-separated identifiers can be submitted within URL parameters as follows:
?identifiers=<id-0>,<id-1>,<id-2>…&another_param=<some-value>
For POST Requests:
Multiple operations can be submitted within each request body:
[
{
… Resource/operation 0 request data …
},
{
… Resource/operation 1 request data …
},
{
… Resource/operation 2 request data …
},
… Additional resource/operation requests …
]
Expected Format of the Response JSON:
This is the expected format for every web service:
[
{
… Resource/operation 0 result data …
},
{
… Resource/operation 1 result data …
},
{
… Resource/operation 2 result data …
},
… Additional resource/operation results …
]