---
title: "Create-multiple-locations"
slug: "create-multiple-locations"
updated: 2026-05-26T12:53:14Z
published: 2026-05-26T12:53:48Z
canonical: "developers.cmicglobal.com/create-multiple-locations"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://developers.cmicglobal.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create-multiple-locations

Post/ci-rest-api/jersey/v1/inventory-location/create-multiple-locations

## Overview

This endpoint allows creating **multiple Inventory (CI) Locations** in a single request.

It is designed for bulk creation to efficiently add several inventory locations at once.

---

## Notes

- Authentication and authorization are required.
- Each inventory location in the request is validated individually.
- If validation fails, the request may be rejected.
- System-generated fields are ignored if provided in the request payload.

---

## UI Navigation

**Asset Management→ Inventory → Setup → Local Tables → Inventory Locations**

---

## Finders

Not applicable.

This is a **POST (create)** endpoint and does not support finders.

---

## Path Parameters

Not applicable.

This endpoint does not use path parameters.

---

## Query Standards

Not applicable.

This endpoint does not support `finder`, `limit`, `offset`, or `orderBy`.

---

## Finders with Example

Not applicable.

Finders are not supported for POST operations.

---

## Attributes

The request body must contain an **items** array.

Each object in the array represents one inventory location to be created.

All attributes are listed below for completeness.

Only attributes marked as **Mandatory = True** are required during creation.

| CMiC UI Fieldname | Object | Name | Description | Type | Data Length | Example | Mandatory |
| --- | --- | --- | --- | --- | --- | --- | --- |
| CilocCompCode | cilocation | cilocCompCode | Company code for the inventory location | String | 8 | CL02 | True |
| CilocCode | cilocation | cilocCode | Unique inventory location code | String | 7 | DRLC01 | True |
| CilocName | cilocation | cilocName | Name or description of the inventory location | String | 60 | Main Warehouse - Bin 01 | True |
| CilocDeptCode | cilocation | cilocDeptCode | Department code associated with the location | String | 6 | 00 | True |
| CilocTypeCode | cilocation | cilocTypeCode | Inventory location type (W = Warehouse, B = Bin) | String | 1 | W | True |
| CilocCtrlCode | cilocation | cilocCtrlCode | Control code for bin locations (required only when type is B) | String | 7 | BIN01 | Conditional |
| CilocBinCtrlFlag | cilocation | cilocBinCtrlFlag | Indicates whether bin control is enabled (Y/N) | String | 1 | Y | False |
| CilocPctUsed | cilocation | cilocPctUsed | Percentage of storage capacity used | Number | 6,2 | 0.00 | False |
| CilocDeptDistFlag | cilocation | cilocDeptDistFlag | Department distribution flag (Y/N) | String | 1 | N | True |
| CilocHier | cilocation | cilocHier | Hierarchical structure of the inventory location | String | 255 | WH1/BIN1 | False |
| CilocInvSerCode | cilocation | cilocInvSerCode | Inventory serialization code | String | 4 | SER1 | False |
| CilocMszoneCode | cilocation | cilocMszoneCode | Material staging zone code | String | 10 | ZONE1 | False |
| CilocIuCreateDate | cilocation | cilocIuCreateDate | Date and time when the record is created | String | N/A | System generated | False |
| CilocIuCreateUser | cilocation | cilocIuCreateUser | User who created the inventory location | String | 30 | System user | False |
| CilocIuUpdateDate | cilocation | cilocIuUpdateDate | Date and time of last update | String | N/A | System generated | False |
| CilocIuUpdateUser | cilocation | cilocIuUpdateUser | User who last updated the record | String | 30 | System user | False |
| CilocVUuid | cilocation | cilocVUuid | Virtual unique identifier generated by the system | String | 64 | Generated | False |

SecurityHTTPType basic

Basic authentication

Body parameters<select class='api-response-data' aria-label='Media type'><option value='f9143dec-237b-4b57-a3e5-72b3ec9cc9f8'>application/json</option>
</select>object  Example{
  "items": [
    {
      "cilocCompCode": "CL02",
      "cilocCode": "DRLC01",
      "cilocName": "Main Warehouse - Bin 01",
      "cilocDeptCode": "00",
      "cilocTypeCode": "W",
      "cilocCtrlCode": null,
      "cilocDeptDistFlag": "N"
    },
    {
      "cilocCompCode": "CL02",
      "cilocCode": "DRLC02",
      "cilocName": "Main Warehouse - Bin 02",
      "cilocDeptCode": "00",
      "cilocTypeCode": "W",
      "cilocCtrlCode": null,
      "cilocDeptDistFlag": "N"
    },
    {
      "cilocCompCode": "CL02",
      "cilocCode": "DRLC03",
      "cilocName": "Main Warehouse - Bin 03",
      "cilocDeptCode": "00",
      "cilocTypeCode": "W",
      "cilocCtrlCode": null,
      "cilocDeptDistFlag": "N"
    },
    {
      "cilocCompCode": "CL02",
      "cilocCode": "DRLC04",
      "cilocName": "Main Warehouse - Bin 04",
      "cilocDeptCode": "00",
      "cilocTypeCode": "W",
      "cilocCtrlCode": null,
      "cilocDeptDistFlag": "N"
    },
    {
      "cilocCompCode": "CL02",
      "cilocCode": "DRLC05",
      "cilocName": "Main Warehouse - Bin 05",
      "cilocDeptCode": "00",
      "cilocTypeCode": "W",
      "cilocCtrlCode": null,
      "cilocDeptDistFlag": "N"
    },
    {
      "cilocCompCode": "CL02",
      "cilocCode": "DRLC06",
      "cilocName": "Main Warehouse - Bin 06",
      "cilocDeptCode": "00",
      "cilocTypeCode": "W",
      "cilocCtrlCode": null,
      "cilocDeptDistFlag": "N"
    },
    {
      "cilocCompCode": "CL02",
      "cilocCode": "DRLC07",
      "cilocName": "Main Warehouse - Bin 07",
      "cilocDeptCode": "00",
      "cilocTypeCode": "W",
      "cilocCtrlCode": null,
      "cilocDeptDistFlag": "N"
    },
    {
      "cilocCompCode": "CL02",
      "cilocCode": "DRLC08",
      "cilocName": "Main Warehouse - Bin 08",
      "cilocDeptCode": "00",
      "cilocTypeCode": "W",
      "cilocCtrlCode": null,
      "cilocDeptDistFlag": "N"
    },
    {
      "cilocCompCode": "CL02",
      "cilocCode": "DRLC09",
      "cilocName": "Main Warehouse - Bin 09",
      "cilocDeptCode": "00",
      "cilocTypeCode": "W",
      "cilocCtrlCode": null,
      "cilocDeptDistFlag": "N"
    },
    {
      "cilocCompCode": "CL02",
      "cilocCode": "DRLC10",
      "cilocName": "Main Warehouse - Bin 10",
      "cilocDeptCode": "00",
      "cilocTypeCode": "W",
      "cilocCtrlCode": null,
      "cilocDeptDistFlag": "N"
    }
  ]
}

Responses200

OK

HeadersContent-TypestringExampleapplication/json
<select class='api-response-data' aria-label='Media type'><option value='65c498e0-fc61-4d48-a8c8-f705f53184fd'>text/plain</option>
</select>

```
"{\n    \"status\": \"SUCCESS\",\n    \"message\": \"All records were created successfully.\",\n    \"createdCount\": 10\n}"
```

string
