Get Parcel Document List
| Sample Response JSON | |
| Response Codes |
E101: Rejected E111: Unable to open the C:\\location file. |
Get Parcel Document List
Using this API, you can retrieve a list of documents that are attached to your parcel with document details.
| URL | /parcel/v1/get_media_list/{sParcelID} |
| Method | GET |
| Parameters | parcelid, string |
| Sample Request JSON | |
| Sample Response JSON |
{ "status": "ok", "isvalid": true, "media": [ { "mediaid": "e1e0c3a3-989b-48ea-8e5d-9a0e9fd3434c", "mediaid_long": "ba53cc90bdb4aa187e9c8932da19a2271769f2251c10807cc19cfa2a52a36ee7", "mediafilename": "download.png", "datecreated": "2022-07-14T12:32:04.764", "datemodified": "2022-07-14T12:32:04.764", "uploadedby": "Saman ", "iduserlocal": 9, "idmediacategory": 3, "isblockchain": true, "mediacategoryname": "Miscellaneous" }, { "mediaid": "2bf358c3-77ed-47af-976b-774eebc21b6a", "mediaid_long": "7cb87804d7ab8dd3ebbe4172550a3571a2d17da819cee910f6ecd3c2c6943e38", "mediafilename": "dummy.pdf", "datecreated": "2022-07-14T12:10:21.271", "datemodified": "2022-07-14T12:11:06.677", "uploadedby": "Saman ", "iduserlocal": 9, "idmediacategory": 4, "isblockchain": true, "mediacategoryname": "Confidential Documents" } ] } |
| Response Codes |
200: ok E109: wrong token |