Skip to content
English
  • There are no suggestions because the search field is empty.

Get all media list with filters

You can filter all the documents and get a list using this API.

URL /media/v2/get_media_list
Method POST
Parameters

sparcelid, string

dcreatedfrom, date

dcreatedto, date

nlimitfrom, integer

nlimitto, integer

filename, string

Sample Request JSON

 {

   "sparcelid": null,

   "dcreatedfrom":20230509,

   "dcreatedto":20230509,

   "nlimitfrom":0,

   "nlimitto":65,

   "sfilename": null

}

Sample Response JSON

{

   "status": "ok",

   "isvalid": true,

   "domid": "d7e19951-6990-402e-a1f3-357bd375ee61",

   "media": [

      {

         "mediaid": "e1cc564b-2fe2-48d1-90e3-0706bddd6700",

         "filename": "theme_demo2.zip",

         "numberofchunks": 14,

         "category_name": "Default Category",

         "category_token": "de9b42a4-2053-4ef6-b9e3-44f2aa13f035",

         "datecreated": "2023-05-09T13:23:16.845",

         "datemodified": "2023-05-09T13:23:16.845",

         "total_size_bytes": 0

      },

     {

         "mediaid": "4fc7d7c2-53fa-4856-95b7-ecbc8f8669a7",

         "filename": "Gemapp-Contact screen Sequence format.pdf",

         "numberofchunks": 1,

         "category_name": "Invoices",

         "category_token": "00000000-0000-0000-0000-000000000000",

         "datecreated": "2023-05-08T10:22:41.688",

         "datemodified": "2023-05-08T10:22:44.873",

         "parcel": [

            {

               "parcelid": "408a35ed-99be-48da-8132-242d535efd1d",

               "reference": "6764",

               "weight": 110,

               "numberofstones": 0

            }

         ],

         "total_size_bytes": 0

      }

   ],

   "number_medias": 2

}

Response Codes 200: ok
Note:  If you are not going to filter by "sparcelid" or "sfilename", keep these parameters "empty"