Create a Inventory Location
    • 19 Jun 2024
    • 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 Required

    Location Name

    💻 UI Fieldname: * Description

    Max length60
    CilocCode
    string Required

    Location Code

    💻 UI Fieldname: * Location Code

    Max length7
    CilocVUuid
    string Required

    Unique Row ID

    Max length64
    CilocCompCode
    string Required

    Company Code

    Max length8
    CilocDeptDistFlag
    string Required

    Dept. Dist. Flag

    Max length1
    CilocDeptCode
    string Required

    Department Code

    💻 UI Fieldname: * Department

    Max length6
    CilocMszoneCode
    string

    one Code

    💻 UI Fieldname: Zone Code

    Max length10
    CilocHier
    string

    Location Hierarchy

    Max length255
    CilocPctUsed
    number

    [Pct Code] PCT USED

    Max length6
    DiscriminatorCode
    string
    CilocIuCreateDate
    string
    CilocTypeCode
    string

    Location Type B(Bin), W (Warehouse)

    💻 UI Fieldname: Type

    Max length1
    CilocIuUpdateDate
    string
    CilocCtrlCode
    string

    Control Location Code

    💻 UI Fieldname: Control Location

    Max length7
    CilocInvSerCode
    string

    Invoice Series Code

    💻 UI Fieldname: Invoice Series

    Max length4
    CilocBinCtrlFlag
    string

    Bin Control Flag

    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