Retrieve Inventory Locations By Code
  • 26 Sep 2024
  • 1 Minute to read
  • Dark
    Light

Retrieve Inventory Locations By Code

  • Dark
    Light

Article summary

Get
/ci-rest-api/rest/1/cilocation

Query Standards

Finder

Following row finders are available for data filtering and optimizing request performance.

  • Select by Code
  • By UUID

Select by Code

Recommended finder parameters. Refer to Query Parameters for example.

ParameterDescriptionSample
CompCodeCompany Code001
LocCodeLocation CodeMAIN

By UUID

This is an optional finder for querying a specific Inventory Location by row ID.

ParameterDescriptionSample
/VUUIDThe VUuid attribute is the Unique row ID/ci-rest-api/rest/1/cilocation/BEB0875D112F5013E05316821FAC3BB0
Security
HTTP
Type basic

Basic authentication

Query parameters
finder
string
ExampleselectByCode;CompCode=001,LocCode=MAIN
limit
integer
Example500
offset
integer
Example0
totalResults
boolean
Exampletrue
orderBy
string
ExampleCilocCode:desc
Responses
200

OK

Headers
Content-Type
string
Exampleapplication/vnd.oracle.adf.resourcecollection+json
{
  "items": [
    {
      "CilocCompCode": "001",
      "CilocCode": "MAIN",
      "CilocName": "Warehouse",
      "CilocDeptCode": "050",
      "CilocTypeCode": "W",
      "CilocCtrlCode": null,
      "CilocBinCtrlFlag": "N",
      "CilocPctUsed": null,
      "CilocDeptDistFlag": "N",
      "CilocHier": "001      .MAIN    .",
      "CilocInvSerCode": null,
      "CilocMszoneCode": null,
      "CilocIuCreateDate": "2016-08-18T08:59:01Z",
      "CilocIuUpdateDate": null,
      "CilocVUuid": "BEB0875D10F35013E05316821FAC3BB0",
      "links": [
        {
          "rel": "self",
          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/ci-rest-api/rest/1/cilocation/BEB0875D10F35013E05316821FAC3BB0",
          "name": "cilocation",
          "kind": "item"
        },
        {
          "rel": "canonical",
          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/ci-rest-api/rest/1/cilocation/BEB0875D10F35013E05316821FAC3BB0",
          "name": "cilocation",
          "kind": "item"
        }
      ]
    }
  ],
  "count": 1,
  "hasMore": false,
  "limit": 25,
  "offset": 0,
  "links": [
    {
      "rel": "self",
      "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/ci-rest-api/rest/1/cilocation",
      "name": "cilocation",
      "kind": "collection"
    }
  ]
}
object