Get objects query

Gets list of objects base on query

Uri

POST queries/object

Parameters

companyId
- Current legal entity context

Form Data

{
   "count":false,
   "range":{
      "type":"logicalOperator",
      "operator":"and",
      "value":[
         {
            "field":"active",
            "operator":"eq",
            "type":"comparisonOperator",
            "value":true
         },
         {
            "type":"logicalOperator",
            "operator":"or",
            "value":[
               {
                  "field":"objectId",
                  "operator":"eq",
                  "type":"comparisonOperator",
                  "value":"*AK*"
               },
               {
                  "field":"objectName",
                  "operator":"eq",
                  "type":"comparisonOperator",
                  "value":"*AK*"
               },
               {
                  "field":"serialId",
                  "operator":"eq",
                  "type":"comparisonOperator",
                  "value":"*AK*"
               }
            ]
         }
      ]
   },
   "orderBy":[
      {
         "field":"objectId",
         "sortOrder":"ascending"
      }
   ],
   "top":51
}:

JSON Response

[
   {
      "_id":"5637147758",
      "_parentObjectId":"0",
      "_objectTypeId":"5637144577",
      "objectId":"AK-101",
      "objectName":"AK-101 Air Knife for Line 1",
      "functionalLocationId":"PP-02-01-01",
      "functionalLocationName":"Cooling/Cutting/Classify Line 1",
      "activeRequests":2,
      "active":true,
      "objectTypeId":"Air Knife",
      "objectTypeName":"Air Knife",
      "productId":"",
      "productName":"",
      "modelId":"",
      "modelName":""
   },
   {
      "_id":"5637147759",
      "_parentObjectId":"5637147758",
      "_objectTypeId":"5637144577",
      "objectId":"AK-201",
      "objectName":"AK-201 Air Knife for Line 2",
      "functionalLocationId":"PP-02-01-01",
      "functionalLocationName":"Cooling/Cutting/Classify Line 1",
      "activeRequests":1,
      "active":true,
      "objectTypeId":"Air Knife",
      "objectTypeName":"Air Knife",
      "productId":"",
      "productName":"",
      "modelId":"",
      "modelName":""
   },
   {
      "_id":"5637147760",
      "_parentObjectId":"5637147759",
      "_objectTypeId":"5637144577",
      "objectId":"AK-301",
      "objectName":"AK-301 Air Knife for Line 3",
      "functionalLocationId":"PP-02-01-01",
      "functionalLocationName":"Cooling/Cutting/Classify Line 1",
      "activeRequests":3,
      "active":true,
      "objectTypeId":"Air Knife",
      "objectTypeName":"Air Knife",
      "productId":"",
      "productName":"",
      "modelId":"",
      "modelName":""
   }
]

Copyright Dynaway A/S

Privacy Policy