Get parcel list with filter
This API allows you to find a list of parcels by using search filters. Please refer to the last row of the table for instructions on how to use search filters.
| URL | /parcel/v2/get_parcel_list |
| Method | POST |
| Parameters |
dcreatedfrom, date dcreatedto, date nlimitfrom, integer nlimitto, integer ssort, string sreference, string sowneruser, string ntotalstonesfrom, intege ntotalstonesto, intege rweightfrom: float rweightto, float scountry, string sparcelcountry, string scity, string sminefactory, string nisexported, integer nislinkedtoparent, integer sparcelsearch, string nparceltype, integer nmetadatadefinitionid, string smetadatavalue, string |
| Sample Request JSON |
{ "dcreatedfrom":20230405, "dcreatedto":20230406, "nlimitfrom":0, "nlimitto":65, "ssort":"numberofstones ASC ,datecreated ASC", "reference":"", "sowneruser":"", "ntotalstonesfrom": null, "ntotalstonesto": null, "rweightfrom": 45.52, "rweightto": 45.52, "country":"", "sparcelcountry": "", "scity":"", "sminefactory":"", "nisexported":0, "nislinkedtoparent": 0, "sparcelsearch": "", "nparceltype": 0, "nmetadatadefinitionid": "", "smetadatavalue": "" } |
| Sample Response JSON |
{ "status": "ok", "isvalid": true, "domid": "d7e19951-6990-402e-a1f3-357bd375ee61", "parcel": [ { "parcelid": "11393241-59ef-4c79-8b44-1d2f38b4a8d3", "parcelreference": "", "parcelweight": 0, "numberofstones": 0, "averageweight": 0, "parceltype": 2, "parcelbatchid": "895b706b-c578-4e61-82eb-a54650b726cb", "owneruserid": "ef086e7c-48f4-4116-b12b-84c2cf16a004", "owneruser": "Shashika ", "datecreated": "2023-04-06T10:10:14.816", "datemodified": "2023-04-06T10:10:14.816", "parcelcountry": "BELGIUM", "domaincountry": "BELGIUM", "minefactory": "Alrosa", "city": "BRAINE-LE-COMTE", "isexported": false, "islinkedtoparent": false, "metadatavaluememo": "", "metadatavaluestring": "" } ], "number_parcels_sent": 1, "number_parcels": 1 } |
| Response Codes | 200: ok |
| Note |
|