Get parcel list of a batch
| URL | /parcel/v1/get_parcel_batch_list/{sBatchID}/{index}/{size} |
| Method | GET |
| Parameters |
sBatchID, string index, integer size, integer |
| Sample Request JSON |
{ "status": "ok", "isvalid": true, "domid": "d7e19951-6990-402e-a1f3-357bd375ee61", "batchid": "2570516e-4dcb-40dd-9ece-7b3eb98623e9", "parcel_batch": { "parcel": [ { "parcelid": "1de7c5c5-276c-4cd1-8d29-d273a7a89942", "parcelref": "TEST M 1109/1", "is_blockchain_exported": true, "is_deleted": false, "batchid": [ "6e517025-cb4d-dd40-9ece-7b3eb98623e9", "b285e1a4-8df4-134c-a5e4-0089d5567300" ], "batches_locations": 2 }, { "parcelid": "48f21df4-11a4-435b-b5e4-bc3202875401", "parcelref": "TEST M 1109/2", "is_blockchain_exported": true, "is_deleted": false, "batchid": [ "6e517025-cb4d-dd40-9ece-7b3eb98623e9", "b285e1a4-8df4-134c-a5e4-0089d5567300" ], "batches_locations": 2 }, { "parcelid": "50be63d8-4fea-410a-8aa8-fb90aee56f6d", "parcelref": "TEST M 1109/3", "is_blockchain_exported": true, "is_deleted": false, "batchid": [ "6e517025-cb4d-dd40-9ece-7b3eb98623e9", "b285e1a4-8df4-134c-a5e4-0089d5567300" ], "batches_locations": 2 }, ], "is_blockchain_exported": false, "isindomain": true, "batchref": "" }, "nquantity_total": 5, "nquantity": 5 } |
| Sample Response JSON |
{ "status": "ok", "isvalid": true, "domid": "d7e19951-6990-402e-a1f3-357bd375ee61", "batchid": "e30607fb-1793-47e9-81ad-f795911ac6d4", "nquantity": 0 } |
| Response Codes | 200: ok |
| Note |
sBatchID => batch ID or "all" (when the sBatchID set as "all" all the batches will list) index => starting index of the parcel in a batch size => no of parcels in the batch to be listed |