Create a Inventory Location
    • 06 Jan 2025
    • 1 Minute to read
    • Dark
      Light

    Create a Inventory Location

    • Dark
      Light

    Article summary

    Post
    /ci-rest-api/rest/1/cilocation

    Create Inventory Locations

    UI Location: ASSET MANAGEMENT - Inventory - Setup - Local Tables - Inventory Locations

    Security
    HTTP
    Type basic

    Basic authentication

    Header parameters
    Content-Type
    string
    Exampleapplication/vnd.oracle.adf.resourceItem+json
    Body parameters
    object
    Example{ "CilocDeptCode": "056", "CilocCompCode": "001", "CilocCode": "ASPH", "CilocName": "Main Warehouse", "CilocDeptDistFlag": "Y", "CilocVUuid": "" }
    CilocName
    string

    Location Name

    💻 UI Fieldname: Description

    Max length60
    CilocDeptCode
    string

    Department Code

    💻 UI Fieldname: Department

    Max length6
    CilocCode
    string

    Location Code

    💻 UI Fieldname: Location Code

    Max length7
    CilocVUuid
    string

    Unique Row ID

    💻 UI Fieldname: CilocVUuid

    Max length64
    CilocCompCode
    string

    Company Code

    💻 UI Fieldname: Company

    Max length8
    CilocDeptDistFlag
    string

    Dept. Dist. Flag

    💻 UI Fieldname: CilocDeptDistFlag

    Max length1
    Responses
    201

    Created

    Headers
    Content-Type
    string
    Exampleapplication/vnd.oracle.adf.resourceitem+json
    {
      "CilocCompCode": "001",
      "CilocCode": "ASPH",
      "CilocName": "Main Warehouse",
      "CilocDeptCode": "056",
      "CilocTypeCode": null,
      "CilocCtrlCode": null,
      "CilocBinCtrlFlag": null,
      "CilocPctUsed": null,
      "CilocDeptDistFlag": "Y",
      "CilocHier": null,
      "CilocInvSerCode": null,
      "CilocMszoneCode": null,
      "CilocIuCreateDate": null,
      "CilocIuUpdateDate": null,
      "CilocVUuid": "F309D91D40421C71E05316821FAC6359",
      "links": [
        {
          "rel": "self",
          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/ci-rest-api/rest/1/cilocation/F309D91D40421C71E05316821FAC6359",
          "name": "cilocation",
          "kind": "item"
        },
        {
          "rel": "canonical",
          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/ci-rest-api/rest/1/cilocation/F309D91D40421C71E05316821FAC6359",
          "name": "cilocation",
          "kind": "item"
        }
      ]
    }
    object