# Module Kho Bãi

### RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Warehouse InventoryReceivingVouchers

#### Primary Key: `Code`

#### Schema

#### GET

**Description: Get item or list paging by offset and limit parameters**

**Endpoint(s):**

* `GET /v4/warehouse/inventory-receive-vouchers/{Code}`: for get exacly item
* `GET /v4/warehouse/inventory-receive-vouchers`: for get multiple items

**Parameters:**

* `token`: authentication token (Type: `string`)
* `offset`: get items from offset (Type: `int`)
* `limit`: get number of items (Type: `int`)
* `id<no>`: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: `string`)
* `filter_<Field>`: filter items by like value (Type: `string`)
* `left_<Field>`: filter items by like left of value (Type: `string`)
* `right_<Field>`: filter items by like right of value (Type: `string`)
* `eq_<Field>`: filter items by equal value (Type: `string`)
* `ne_<Field>`: filter items by not equal value (Type: `string`)
* `lt_<Field>`: filter items by less than value (Type: `string`)
* `le_<Field>`: filter items by less than or equal value (Type: `string`)
* `gt_<Field>`: filter items by greater then value (Type: `string`)
* `ge_<Field>`: filter items by greater than or equal value (Type: `string`)

#### POST

**Description: Create new items**

**Endpoint: `POST /v4/warehouse/inventory-receive-vouchers`**

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### PUT

**Description: Update items by ids**

* `PUT /v4/warehouse/inventory-receive-vouchers/{Code}`: for put exacly item
* `PUT /v4/warehouse/inventory-receive-vouchers`: for put multiple items

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### DELETE

**Description: Delete items by ids**

**Endpoint(s):**

* `DELETE /v4/warehouse/inventory-receive-vouchers/{Code}`: for delete exacly item
* `DELETE /v4/warehouse/inventory-receive-vouchers?id0=123&id1=456&...`: for delete multiple items with id0 id1,...

### RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Warehouse InventoryDeliveryVouchers

#### Primary Key: `Code`

#### Schema

#### GET

**Description: Get item or list paging by offset and limit parameters**

**Endpoint(s):**

* `GET /v4/warehouse/inventory-delivery-vouchers/{Code}`: for get exacly item
* `GET /v4/warehouse/inventory-delivery-vouchers`: for get multiple items

**Parameters:**

* `token`: authentication token (Type: `string`)
* `offset`: get items from offset (Type: `int`)
* `limit`: get number of items (Type: `int`)
* `id<no>`: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: `string`)
* `filter_<Field>`: filter items by like value (Type: `string`)
* `left_<Field>`: filter items by like left of value (Type: `string`)
* `right_<Field>`: filter items by like right of value (Type: `string`)
* `eq_<Field>`: filter items by equal value (Type: `string`)
* `ne_<Field>`: filter items by not equal value (Type: `string`)
* `lt_<Field>`: filter items by less than value (Type: `string`)
* `le_<Field>`: filter items by less than or equal value (Type: `string`)
* `gt_<Field>`: filter items by greater then value (Type: `string`)
* `ge_<Field>`: filter items by greater than or equal value (Type: `string`)

#### POST

**Description: Create new items**

**Endpoint: `POST /v4/warehouse/inventory-delivery-vouchers`**

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### PUT

**Description: Update items by ids**

* `PUT /v4/warehouse/inventory-delivery-vouchers/{Code}`: for put exacly item
* `PUT /v4/warehouse/inventory-delivery-vouchers`: for put multiple items

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### DELETE

**Description: Delete items by ids**

**Endpoint(s):**

* `DELETE /v4/warehouse/inventory-delivery-vouchers/{Code}`: for delete exacly item
* `DELETE /v4/warehouse/inventory-delivery-vouchers?id0=123&id1=456&...`: for delete multiple items with id0 id1,...

### RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Warehouse GoodsReceiptNotes

#### Primary Key: `Code`

#### Schema

| Field                   | Type     | Description               |
| ----------------------- | -------- | ------------------------- |
| Branch                  | string   | Branch                    |
| Code                    | string   | Code                      |
| Contact                 | string   | Contact                   |
| ContactAddress          | string   | Contact Address           |
| ContactEmail            | string   | Contact Email             |
| ContactIdentifiedNumber | string   | Contact Identified Number |
| ContactName             | string   | Contact Name              |
| ContactPhone            | string   | Contact Phone             |
| Creator                 | string   | Creator                   |
| DateOfCreated           | datetime | Date Of Created           |
| DateOfReceipted         | datetime | Date Of Receipted         |
| Description             | string   | Description               |
| Executor                | string   | Executor                  |
| Id                      | numeric  | Id                        |
| Note                    | string   | Note                      |
| Object                  | string   | Object                    |
| ObjectAddress           | string   | Object Address            |
| ObjectEmail             | string   | Object Email              |
| ObjectIdentifiedNumber  | string   | Object Identified Number  |
| ObjectName              | string   | Object Name               |
| ObjectPhone             | string   | Object Phone              |
| Permission              | string   | Permission                |
| RelateVoucher           | string   | Relate Voucher            |
| RelativeVouchers        | string   | Relative Vouchers         |
| State                   | string   | State                     |
| SubNote                 | string   | Sub Note                  |
| Thread                  | string   | Thread                    |
| Title                   | string   | Title                     |
| Warehouse               | string   | Warehouse                 |
| Bookkeeping             | boolean  | Bookkeeping               |

#### GET

**Description: Get item or list paging by offset and limit parameters**

**Endpoint(s):**

* `GET /v4/warehouse/goods-receipt-notes/{Code}`: for get exacly item
* `GET /v4/warehouse/goods-receipt-notes`: for get multiple items

**Parameters:**

* `token`: authentication token (Type: `string`)
* `offset`: get items from offset (Type: `int`)
* `limit`: get number of items (Type: `int`)
* `id<no>`: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: `string`)
* `filter_<Field>`: filter items by like value (Type: `string`)
* `left_<Field>`: filter items by like left of value (Type: `string`)
* `right_<Field>`: filter items by like right of value (Type: `string`)
* `eq_<Field>`: filter items by equal value (Type: `string`)
* `ne_<Field>`: filter items by not equal value (Type: `string`)
* `lt_<Field>`: filter items by less than value (Type: `string`)
* `le_<Field>`: filter items by less than or equal value (Type: `string`)
* `gt_<Field>`: filter items by greater then value (Type: `string`)
* `ge_<Field>`: filter items by greater than or equal value (Type: `string`)

#### POST

**Description: Create new items**

**Endpoint: `POST /v4/warehouse/goods-receipt-notes`**

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### PUT

**Description: Update items by ids**

* `PUT /v4/warehouse/goods-receipt-notes/{Code}`: for put exacly item
* `PUT /v4/warehouse/goods-receipt-notes`: for put multiple items

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### DELETE

**Description: Delete items by ids**

**Endpoint(s):**

* `DELETE /v4/warehouse/goods-receipt-notes/{Code}`: for delete exacly item
* `DELETE /v4/warehouse/goods-receipt-notes?id0=123&id1=456&...`: for delete multiple items with id0 id1,...

### RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Warehouse GoodsReceiptNoteDetailAccessNumbers

#### Primary Key: `AccessNumber`

#### Schema

| Field             | Type     | Description         |
| ----------------- | -------- | ------------------- |
| AccessNumber      | string   | Access Number       |
| AccessNumberNo    | numeric  | Access Number No    |
| Container         | string   | Container           |
| CreditAccount     | string   | Credit Account      |
| DateOfManufacture | datetime | Date Of Manufacture |
| DebitAccount      | string   | Debit Account       |
| Description       | string   | Description         |
| DetailUuid        | string   | Detail Uuid         |
| ExpiryDate        | datetime | Expiry Date         |
| Id                | numeric  | Id                  |
| Image             | string   | Image               |
| No                | numeric  | No                  |
| Product           | string   | Product             |
| ProductName       | string   | Product Name        |
| RefContact        | string   | Ref Contact         |
| RefContactAddress | string   | Ref Contact Address |
| RefContactEmail   | string   | Ref Contact Email   |
| RefContactName    | string   | Ref Contact Name    |
| RefContactPhone   | string   | Ref Contact Phone   |
| RefContactUpdate  | string   | Ref Contact Update  |
| RefPublishers     | string   | Ref Publishers      |
| Type              | string   | Type                |
| Unit              | string   | Unit                |
| Voucher           | string   | Voucher             |
| Price             | double   | Price               |
| DiscountPrice     | double   | Discount Price      |
| DateOfReceipted   | datetime | Date Of Receipted   |

#### GET

**Description: Get item or list paging by offset and limit parameters**

**Endpoint(s):**

* `GET /v4/warehouse/goods-receipt-note-detail-access-numbers/{AccessNumber}`: for get exacly item
* `GET /v4/warehouse/goods-receipt-note-detail-access-numbers`: for get multiple items

**Parameters:**

* `token`: authentication token (Type: `string`)
* `offset`: get items from offset (Type: `int`)
* `limit`: get number of items (Type: `int`)
* `id<no>`: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: `string`)
* `filter_<Field>`: filter items by like value (Type: `string`)
* `left_<Field>`: filter items by like left of value (Type: `string`)
* `right_<Field>`: filter items by like right of value (Type: `string`)
* `eq_<Field>`: filter items by equal value (Type: `string`)
* `ne_<Field>`: filter items by not equal value (Type: `string`)
* `lt_<Field>`: filter items by less than value (Type: `string`)
* `le_<Field>`: filter items by less than or equal value (Type: `string`)
* `gt_<Field>`: filter items by greater then value (Type: `string`)
* `ge_<Field>`: filter items by greater than or equal value (Type: `string`)

#### POST

**Description: Create new items**

**Endpoint: `POST /v4/warehouse/goods-receipt-note-detail-access-numbers`**

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### PUT

**Description: Update items by ids**

* `PUT /v4/warehouse/goods-receipt-note-detail-access-numbers/{AccessNumber}`: for put exacly item
* `PUT /v4/warehouse/goods-receipt-note-detail-access-numbers`: for put multiple items

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### DELETE

**Description: Delete items by ids**

**Endpoint(s):**

* `DELETE /v4/warehouse/goods-receipt-note-detail-access-numbers/{AccessNumber}`: for delete exacly item
* `DELETE /v4/warehouse/goods-receipt-note-detail-access-numbers?id0=123&id1=456&...`: for delete multiple items with id0 id1,...

### RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Warehouse GoodsDeliveryNotes

#### Primary Key: `Code`

#### Schema

| Field                   | Type     | Description               |
| ----------------------- | -------- | ------------------------- |
| Branch                  | string   | Branch                    |
| Code                    | string   | Code                      |
| Contact                 | string   | Contact                   |
| ContactAddress          | string   | Contact Address           |
| ContactEmail            | string   | Contact Email             |
| ContactIdentifiedNumber | string   | Contact Identified Number |
| ContactName             | string   | Contact Name              |
| ContactPhone            | string   | Contact Phone             |
| Creator                 | string   | Creator                   |
| DateOfCreated           | datetime | Date Of Created           |
| DateOfDelivered         | datetime | Date Of Delivered         |
| Description             | string   | Description               |
| Executor                | string   | Executor                  |
| Id                      | numeric  | Id                        |
| Note                    | string   | Note                      |
| Object                  | string   | Object                    |
| ObjectAddress           | string   | Object Address            |
| ObjectEmail             | string   | Object Email              |
| ObjectIdentifiedNumber  | string   | Object Identified Number  |
| ObjectName              | string   | Object Name               |
| ObjectPhone             | string   | Object Phone              |
| Permission              | string   | Permission                |
| RelateVoucher           | string   | Relate Voucher            |
| RelativeVouchers        | string   | Relative Vouchers         |
| State                   | string   | State                     |
| SubNote                 | string   | Sub Note                  |
| Thread                  | string   | Thread                    |
| Title                   | string   | Title                     |
| Warehouse               | string   | Warehouse                 |
| Bookkeeping             | boolean  | Bookkeeping               |

#### GET

**Description: Get item or list paging by offset and limit parameters**

**Endpoint(s):**

* `GET /v4/warehouse/goods-delivery-notes/{Code}`: for get exacly item
* `GET /v4/warehouse/goods-delivery-notes`: for get multiple items

**Parameters:**

* `token`: authentication token (Type: `string`)
* `offset`: get items from offset (Type: `int`)
* `limit`: get number of items (Type: `int`)
* `id<no>`: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: `string`)
* `filter_<Field>`: filter items by like value (Type: `string`)
* `left_<Field>`: filter items by like left of value (Type: `string`)
* `right_<Field>`: filter items by like right of value (Type: `string`)
* `eq_<Field>`: filter items by equal value (Type: `string`)
* `ne_<Field>`: filter items by not equal value (Type: `string`)
* `lt_<Field>`: filter items by less than value (Type: `string`)
* `le_<Field>`: filter items by less than or equal value (Type: `string`)
* `gt_<Field>`: filter items by greater then value (Type: `string`)
* `ge_<Field>`: filter items by greater than or equal value (Type: `string`)

#### POST

**Description: Create new items**

**Endpoint: `POST /v4/warehouse/goods-delivery-notes`**

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### PUT

**Description: Update items by ids**

* `PUT /v4/warehouse/goods-delivery-notes/{Code}`: for put exacly item
* `PUT /v4/warehouse/goods-delivery-notes`: for put multiple items

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### DELETE

**Description: Delete items by ids**

**Endpoint(s):**

* `DELETE /v4/warehouse/goods-delivery-notes/{Code}`: for delete exacly item
* `DELETE /v4/warehouse/goods-delivery-notes?id0=123&id1=456&...`: for delete multiple items with id0 id1,...

### RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Warehouse GoodsDeliveryNoteDetailAccessNumbers

#### Primary Key: `Voucher, DetailUuid, AccessNumber`

#### Schema

| Field          | Type    | Description      |
| -------------- | ------- | ---------------- |
| AccessNumber   | string  | Access Number    |
| AccessNumberNo | numeric | Access Number No |
| Container      | string  | Container        |
| CreditAccount  | string  | Credit Account   |
| DebitAccount   | string  | Debit Account    |
| Description    | string  | Description      |
| DetailUuid     | string  | Detail Uuid      |
| Id             | numeric | Id               |
| Image          | string  | Image            |
| No             | numeric | No               |
| Product        | string  | Product          |
| ProductName    | string  | Product Name     |
| Type           | string  | Type             |
| Unit           | string  | Unit             |
| Voucher        | string  | Voucher          |

#### GET

**Description: Get item or list paging by offset and limit parameters**

**Endpoint(s):**

* `GET /v4/warehouse/goods-delivery-note-detail-access-numbers/{Voucher}-{DetailUuid}-{AccessNumber}`: for get exacly item
* `GET /v4/warehouse/goods-delivery-note-detail-access-numbers`: for get multiple items

**Parameters:**

* `token`: authentication token (Type: `string`)
* `offset`: get items from offset (Type: `int`)
* `limit`: get number of items (Type: `int`)
* `id<no>`: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: `string`)
* `filter_<Field>`: filter items by like value (Type: `string`)
* `left_<Field>`: filter items by like left of value (Type: `string`)
* `right_<Field>`: filter items by like right of value (Type: `string`)
* `eq_<Field>`: filter items by equal value (Type: `string`)
* `ne_<Field>`: filter items by not equal value (Type: `string`)
* `lt_<Field>`: filter items by less than value (Type: `string`)
* `le_<Field>`: filter items by less than or equal value (Type: `string`)
* `gt_<Field>`: filter items by greater then value (Type: `string`)
* `ge_<Field>`: filter items by greater than or equal value (Type: `string`)

#### POST

**Description: Create new items**

**Endpoint: `POST /v4/warehouse/goods-delivery-note-detail-access-numbers`**

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### PUT

**Description: Update items by ids**

* `PUT /v4/warehouse/goods-delivery-note-detail-access-numbers/{Voucher}-{DetailUuid}-{AccessNumber}`: for put exacly item
* `PUT /v4/warehouse/goods-delivery-note-detail-access-numbers`: for put multiple items

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### DELETE

**Description: Delete items by ids**

**Endpoint(s):**

* `DELETE /v4/warehouse/goods-delivery-note-detail-access-numbers/{Voucher}-{DetailUuid}-{AccessNumber}`: for delete exacly item
* `DELETE /v4/warehouse/goods-delivery-note-detail-access-numbers?id0=123&id1=456&...`: for delete multiple items with id0 id1,...

### RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Warehouse InventoryAdjustNotes

#### Primary Key: `Code`

#### Schema

| Field                  | Type     | Description              |
| ---------------------- | -------- | ------------------------ |
| Branch                 | string   | Branch                   |
| Code                   | string   | Code                     |
| Creator                | string   | Creator                  |
| DateOfAdjusted         | datetime | Date Of Adjusted         |
| DateOfCreated          | datetime | Date Of Created          |
| Description            | string   | Description              |
| Executor               | string   | Executor                 |
| Id                     | numeric  | Id                       |
| Note                   | string   | Note                     |
| Object                 | string   | Object                   |
| ObjectAddress          | string   | Object Address           |
| ObjectEmail            | string   | Object Email             |
| ObjectIdentifiedNumber | string   | Object Identified Number |
| ObjectName             | string   | Object Name              |
| ObjectPhone            | string   | Object Phone             |
| Permission             | string   | Permission               |
| Shelf                  | string   | Shelf                    |
| State                  | string   | State                    |
| SubNote                | string   | Sub Note                 |
| Title                  | string   | Title                    |
| Type                   | string   | Type                     |
| Warehouse              | string   | Warehouse                |
| Bookkeeping            | boolean  | Bookkeeping              |

#### GET

**Description: Get item or list paging by offset and limit parameters**

**Endpoint(s):**

* `GET /v4/warehouse/inventory-adjust-notes/{Code}`: for get exacly item
* `GET /v4/warehouse/inventory-adjust-notes`: for get multiple items

**Parameters:**

* `token`: authentication token (Type: `string`)
* `offset`: get items from offset (Type: `int`)
* `limit`: get number of items (Type: `int`)
* `id<no>`: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: `string`)
* `filter_<Field>`: filter items by like value (Type: `string`)
* `left_<Field>`: filter items by like left of value (Type: `string`)
* `right_<Field>`: filter items by like right of value (Type: `string`)
* `eq_<Field>`: filter items by equal value (Type: `string`)
* `ne_<Field>`: filter items by not equal value (Type: `string`)
* `lt_<Field>`: filter items by less than value (Type: `string`)
* `le_<Field>`: filter items by less than or equal value (Type: `string`)
* `gt_<Field>`: filter items by greater then value (Type: `string`)
* `ge_<Field>`: filter items by greater than or equal value (Type: `string`)

#### POST

**Description: Create new items**

**Endpoint: `POST /v4/warehouse/inventory-adjust-notes`**

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### PUT

**Description: Update items by ids**

* `PUT /v4/warehouse/inventory-adjust-notes/{Code}`: for put exacly item
* `PUT /v4/warehouse/inventory-adjust-notes`: for put multiple items

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### DELETE

**Description: Delete items by ids**

**Endpoint(s):**

* `DELETE /v4/warehouse/inventory-adjust-notes/{Code}`: for delete exacly item
* `DELETE /v4/warehouse/inventory-adjust-notes?id0=123&id1=456&...`: for delete multiple items with id0 id1,...

### RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Warehouse GoodsQueues

#### Primary Key: `Id`

#### Schema

| Field                | Type      | Description            |
| -------------------- | --------- | ---------------------- |
| Container            | string    | Container              |
| ContainerFindOrder   | numeric   | Container Find Order   |
| ContainerShelf       | string    | Container Shelf        |
| ContainerShelfName   | string    | Container Shelf Name   |
| DateOfPush           | string    | Date Of Push           |
| Goods                | string    | Goods                  |
| Id                   | numeric   | Id                     |
| InCase               | string    | In Case                |
| Inventory            | double    | Inventory              |
| Name                 | string    | Name                   |
| Pictures             | serialize | Pictures               |
| Queue                | string    | Queue                  |
| RequestOrderQuantity | double    | Request Order Quantity |
| Sku                  | string    | Sku                    |
| State                | string    | State                  |
| Thumbnail            | serialize | Thumbnail              |
| Unit                 | string    | Unit                   |
| UnitLabel            | string    | Unit Label             |
| Categories           | serialize | Categories             |

#### GET

**Description: Get item or list paging by offset and limit parameters**

**Endpoint(s):**

* `GET /v4/warehouse/goods-queues/{Id}`: for get exacly item
* `GET /v4/warehouse/goods-queues`: for get multiple items

**Parameters:**

* `token`: authentication token (Type: `string`)
* `offset`: get items from offset (Type: `int`)
* `limit`: get number of items (Type: `int`)
* `id<no>`: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: `string`)
* `filter_<Field>`: filter items by like value (Type: `string`)
* `left_<Field>`: filter items by like left of value (Type: `string`)
* `right_<Field>`: filter items by like right of value (Type: `string`)
* `eq_<Field>`: filter items by equal value (Type: `string`)
* `ne_<Field>`: filter items by not equal value (Type: `string`)
* `lt_<Field>`: filter items by less than value (Type: `string`)
* `le_<Field>`: filter items by less than or equal value (Type: `string`)
* `gt_<Field>`: filter items by greater then value (Type: `string`)
* `ge_<Field>`: filter items by greater than or equal value (Type: `string`)

#### POST

**Description: Create new items**

**Endpoint: `POST /v4/warehouse/goods-queues`**

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### PUT

**Description: Update items by ids**

* `PUT /v4/warehouse/goods-queues/{Id}`: for put exacly item
* `PUT /v4/warehouse/goods-queues`: for put multiple items

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### DELETE

**Description: Delete items by ids**

**Endpoint(s):**

* `DELETE /v4/warehouse/goods-queues/{Id}`: for delete exacly item
* `DELETE /v4/warehouse/goods-queues?id0=123&id1=456&...`: for delete multiple items with id0 id1,...

### RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Warehouse GoodsContainers

#### Primary Key: `Code`

#### Schema

| Field          | Type      | Description      |
| -------------- | --------- | ---------------- |
| AccAccount     | string    | Acc Account      |
| AccAccountName | string    | Acc Account Name |
| AccessNumbers  | string    | Access Numbers   |
| Address        | string    | Address          |
| Branch         | string    | Branch           |
| Children       | serialize | Children         |
| ChildrenIndex  | serialize | Children Index   |
| Code           | string    | Code             |
| Description    | string    | Description      |
| FindOrder      | numeric   | Find Order       |
| Goods          | serialize | Goods            |
| GoodsImages    | serialize | Goods Images     |
| GoodsIndex     | serialize | Goods Index      |
| Id             | numeric   | Id               |
| LastUpdated    | datetime  | Last Updated     |
| Name           | string    | Name             |
| Parent         | string    | Parent           |
| Path           | string    | Path             |
| Shelf          | string    | Shelf            |
| ShelfName      | string    | Shelf Name       |
| State          | string    | State            |
| Type           | string    | Type             |
| Warehouse      | string    | Warehouse        |
| WarehouseName  | string    | Warehouse Name   |
| X              | string    | X                |
| Y              | string    | Y                |
| Z              | string    | Z                |
| GoodsThumbnail | serialize | Goods Thumbnail  |

#### GET

**Description: Get item or list paging by offset and limit parameters**

**Endpoint(s):**

* `GET /v4/warehouse/goods-containers/{Code}`: for get exacly item
* `GET /v4/warehouse/goods-containers`: for get multiple items

**Parameters:**

* `token`: authentication token (Type: `string`)
* `offset`: get items from offset (Type: `int`)
* `limit`: get number of items (Type: `int`)
* `id<no>`: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: `string`)
* `filter_<Field>`: filter items by like value (Type: `string`)
* `left_<Field>`: filter items by like left of value (Type: `string`)
* `right_<Field>`: filter items by like right of value (Type: `string`)
* `eq_<Field>`: filter items by equal value (Type: `string`)
* `ne_<Field>`: filter items by not equal value (Type: `string`)
* `lt_<Field>`: filter items by less than value (Type: `string`)
* `le_<Field>`: filter items by less than or equal value (Type: `string`)
* `gt_<Field>`: filter items by greater then value (Type: `string`)
* `ge_<Field>`: filter items by greater than or equal value (Type: `string`)

#### POST

**Description: Create new items**

**Endpoint: `POST /v4/warehouse/goods-containers`**

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### PUT

**Description: Update items by ids**

* `PUT /v4/warehouse/goods-containers/{Code}`: for put exacly item
* `PUT /v4/warehouse/goods-containers`: for put multiple items

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### DELETE

**Description: Delete items by ids**

**Endpoint(s):**

* `DELETE /v4/warehouse/goods-containers/{Code}`: for delete exacly item
* `DELETE /v4/warehouse/goods-containers?id0=123&id1=456&...`: for delete multiple items with id0 id1,...

### RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Warehouse GoodsInContainers

#### Primary Key: `Goods, Unit, Container`

#### Schema

| Field                       | Type      | Description                      |
| --------------------------- | --------- | -------------------------------- |
| AccessNumbers               | serialize | Access Numbers                   |
| Container                   | string    | Container                        |
| ContainerAccAccount         | string    | Container Acc Account            |
| ContainerAccAccountName     | string    | Container Acc Account Name       |
| ContainerDescription        | string    | Container Description            |
| ContainerFindOrder          | string    | Container Find Order             |
| ContainerName               | string    | Container Name                   |
| ContainerPath               | string    | Container Path                   |
| ContainerShelf              | string    | Container Shelf                  |
| ContainerShelfName          | string    | Container Shelf Name             |
| CostOfGoodsSold             | double    | Cost Of Goods Sold               |
| Goods                       | string    | Goods                            |
| GoodsIsManageByAccessNumber | boolean   | Goods Is Manage By Access Number |
| GoodsName                   | string    | Goods Name                       |
| GoodsPictures               | serialize | Goods Pictures                   |
| GoodsSku                    | string    | Goods Sku                        |
| GoodsThumbnail              | serialize | Goods Thumbnail                  |
| Id                          | numeric   | Id                               |
| Inventory                   | double    | Inventory                        |
| InventoryMoney              | string    | Inventory Money                  |
| LastUpdate                  | string    | Last Update                      |
| SearchIndex                 | numeric   | Search Index                     |
| Unit                        | string    | Unit                             |
| UnitLabel                   | string    | Unit Label                       |
| UnitNo                      | numeric   | Unit No                          |
| UnitSeq                     | numeric   | Unit Seq                         |
| Warehouse                   | string    | Warehouse                        |
| WarehouseName               | string    | Warehouse Name                   |
| ConversionRatio             | double    | Conversion Ratio                 |
| IsManageByAccessNumber      | boolean   | Is Manage By Access Number       |
| UnitPrice                   | double    | Unit Price                       |
| LastAdjust                  | datetime  | Last Adjust                      |
| Categories                  | serialize | Categories                       |
| Groups                      | serialize | Groups                           |
| Units                       | serialize | Units                            |

#### GET

**Description: Get item or list paging by offset and limit parameters**

**Endpoint(s):**

* `GET /v4/warehouse/goods-in-containers/{Goods}-{Unit}-{Container}`: for get exacly item
* `GET /v4/warehouse/goods-in-containers`: for get multiple items

**Parameters:**

* `token`: authentication token (Type: `string`)
* `offset`: get items from offset (Type: `int`)
* `limit`: get number of items (Type: `int`)
* `id<no>`: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: `string`)
* `filter_<Field>`: filter items by like value (Type: `string`)
* `left_<Field>`: filter items by like left of value (Type: `string`)
* `right_<Field>`: filter items by like right of value (Type: `string`)
* `eq_<Field>`: filter items by equal value (Type: `string`)
* `ne_<Field>`: filter items by not equal value (Type: `string`)
* `lt_<Field>`: filter items by less than value (Type: `string`)
* `le_<Field>`: filter items by less than or equal value (Type: `string`)
* `gt_<Field>`: filter items by greater then value (Type: `string`)
* `ge_<Field>`: filter items by greater than or equal value (Type: `string`)

#### POST

**Description: Create new items**

**Endpoint: `POST /v4/warehouse/goods-in-containers`**

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### PUT

**Description: Update items by ids**

* `PUT /v4/warehouse/goods-in-containers/{Goods}-{Unit}-{Container}`: for put exacly item
* `PUT /v4/warehouse/goods-in-containers`: for put multiple items

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### DELETE

**Description: Delete items by ids**

**Endpoint(s):**

* `DELETE /v4/warehouse/goods-in-containers/{Goods}-{Unit}-{Container}`: for delete exacly item
* `DELETE /v4/warehouse/goods-in-containers?id0=123&id1=456&...`: for delete multiple items with id0 id1,...

### RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Warehouse Warehouses

#### Primary Key: `Code`

#### Schema

| Field           | Type    | Description       |
| --------------- | ------- | ----------------- |
| AccAccount      | string  | Acc Account       |
| AccAccountName  | string  | Acc Account Name  |
| Address         | string  | Address           |
| Branch          | string  | Branch            |
| Code            | string  | Code              |
| Description     | string  | Description       |
| Director        | string  | Director          |
| District        | string  | District          |
| DistrictLabel   | string  | District Label    |
| FindOrder       | numeric | Find Order        |
| Id              | numeric | Id                |
| IsDefaultExport | numeric | Is Default Export |
| IsDefaultImport | numeric | Is Default Import |
| MapLink         | string  | Map Link          |
| Name            | string  | Name              |
| Province        | string  | Province          |
| ProvinceLabel   | string  | Province Label    |
| Ward            | string  | Ward              |
| WardLabel       | string  | Ward Label        |

#### GET

**Description: Get item or list paging by offset and limit parameters**

**Endpoint(s):**

* `GET /v4/warehouse/warehouses/{Code}`: for get exacly item
* `GET /v4/warehouse/warehouses`: for get multiple items

**Parameters:**

* `token`: authentication token (Type: `string`)
* `offset`: get items from offset (Type: `int`)
* `limit`: get number of items (Type: `int`)
* `id<no>`: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: `string`)
* `filter_<Field>`: filter items by like value (Type: `string`)
* `left_<Field>`: filter items by like left of value (Type: `string`)
* `right_<Field>`: filter items by like right of value (Type: `string`)
* `eq_<Field>`: filter items by equal value (Type: `string`)
* `ne_<Field>`: filter items by not equal value (Type: `string`)
* `lt_<Field>`: filter items by less than value (Type: `string`)
* `le_<Field>`: filter items by less than or equal value (Type: `string`)
* `gt_<Field>`: filter items by greater then value (Type: `string`)
* `ge_<Field>`: filter items by greater than or equal value (Type: `string`)

#### POST

**Description: Create new items**

**Endpoint: `POST /v4/warehouse/warehouses`**

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### PUT

**Description: Update items by ids**

* `PUT /v4/warehouse/warehouses/{Code}`: for put exacly item
* `PUT /v4/warehouse/warehouses`: for put multiple items

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### DELETE

**Description: Delete items by ids**

**Endpoint(s):**

* `DELETE /v4/warehouse/warehouses/{Code}`: for delete exacly item
* `DELETE /v4/warehouse/warehouses?id0=123&id1=456&...`: for delete multiple items with id0 id1,...

### RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Warehouse WarehouseBooks

#### Primary Key: `Code`

#### Schema

| Field           | Type     | Description       |
| --------------- | -------- | ----------------- |
| Branch          | string   | Branch            |
| Code            | string   | Code              |
| Commited        | datetime | Commited          |
| Creator         | string   | Creator           |
| CurrentCycle    | string   | Current Cycle     |
| DateOfBeginning | datetime | Date Of Beginning |
| DateOfEnd       | datetime | Date Of End       |
| DateOfStart     | datetime | Date Of Start     |
| Id              | numeric  | Id                |
| Note            | string   | Note              |
| PreviousBook    | string   | Previous Book     |
| State           | string   | State             |
| Warehouse       | string   | Warehouse         |

#### GET

**Description: Get item or list paging by offset and limit parameters**

**Endpoint(s):**

* `GET /v4/warehouse/books/{Code}`: for get exacly item
* `GET /v4/warehouse/books`: for get multiple items

**Parameters:**

* `token`: authentication token (Type: `string`)
* `offset`: get items from offset (Type: `int`)
* `limit`: get number of items (Type: `int`)
* `id<no>`: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: `string`)
* `filter_<Field>`: filter items by like value (Type: `string`)
* `left_<Field>`: filter items by like left of value (Type: `string`)
* `right_<Field>`: filter items by like right of value (Type: `string`)
* `eq_<Field>`: filter items by equal value (Type: `string`)
* `ne_<Field>`: filter items by not equal value (Type: `string`)
* `lt_<Field>`: filter items by less than value (Type: `string`)
* `le_<Field>`: filter items by less than or equal value (Type: `string`)
* `gt_<Field>`: filter items by greater then value (Type: `string`)
* `ge_<Field>`: filter items by greater than or equal value (Type: `string`)

#### POST

**Description: Create new items**

**Endpoint: `POST /v4/warehouse/books`**

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### PUT

**Description: Update items by ids**

* `PUT /v4/warehouse/books/{Code}`: for put exacly item
* `PUT /v4/warehouse/books`: for put multiple items

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### DELETE

**Description: Delete items by ids**

**Endpoint(s):**

* `DELETE /v4/warehouse/books/{Code}`: for delete exacly item
* `DELETE /v4/warehouse/books?id0=123&id1=456&...`: for delete multiple items with id0 id1,...

### RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Warehouse V2 Goods

#### Primary Key: `Code`

#### Schema

| Field                  | Type      | Description                |
| ---------------------- | --------- | -------------------------- |
| Barcode                | string    | Barcode                    |
| Brand                  | string    | Brand                      |
| BrandName              | string    | Brand Name                 |
| Categories             | objects   | Categories                 |
| Code                   | string    | Code                       |
| CostOfGoodsSoldX       | string    | Cost Of Goods Sold X       |
| Created                | datetime  | Created                    |
| Creator                | string    | Creator                    |
| CreatorName            | string    | Creator Name               |
| Description            | string    | Description                |
| ExchangeProduct        | string    | Exchange Product           |
| FeaturePicture         | serialize | Feature Picture            |
| Groups                 | objects   | Groups                     |
| Id                     | numeric   | Id                         |
| IsApprove              | numeric   | Is Approve                 |
| IsRegenerateCode       | numeric   | Is Regenerate Code         |
| IsRegenerateSku        | numeric   | Is Regenerate Sku          |
| IsStopBusiness         | boolean   | Is Stop Business           |
| Keyword                | string    | Keyword                    |
| Keywords               | serialize | Keywords                   |
| LastUpdate             | datetime  | Last Update                |
| LastUpdateBy           | string    | Last Update By             |
| LastUpdateByName       | string    | Last Update By Name        |
| ManualCode             | string    | Manual Code                |
| ManufactureId          | numeric   | Manufacture Id             |
| MarketingPrice         | string    | Marketing Price            |
| Name                   | string    | Name                       |
| OldCode                | string    | Old Code                   |
| OldCode2               | string    | Old Code2                  |
| Page                   | string    | Page                       |
| ParentId               | numeric   | Parent Id                  |
| Permission             | string    | Permission                 |
| PictureId              | string    | Picture Id                 |
| PictureIdBk            | numeric   | Picture Id Bk              |
| Pictures               | serialize | Pictures                   |
| PurchaseCost           | string    | Purchase Cost              |
| PurchasePrice          | string    | Purchase Price             |
| RequireVatTax          | boolean   | Require Vat Tax            |
| Revisions              | string    | Revisions                  |
| SearchRank             | numeric   | Search Rank                |
| Sequence               | numeric   | Sequence                   |
| Sku                    | string    | Sku                        |
| State                  | numeric   | State                      |
| Tags                   | serialize | Tags                       |
| Tax                    | string    | Tax                        |
| TaxName                | string    | Tax Name                   |
| Technical              | string    | Technical                  |
| Type                   | string    | Type                       |
| TypeCode               | string    | Type Code                  |
| UniqueKey              | string    | Unique Key                 |
| UnitRatio              | string    | Unit Ratio                 |
| VatTax                 | string    | Vat Tax                    |
| WarehouseUnit          | string    | Warehouse Unit             |
| WarehouseUnitLabel     | string    | Warehouse Unit Label       |
| AccessNumbers          | serialize | Access Numbers             |
| Inventory              | double    | Inventory                  |
| InventoryCost          | double    | Inventory Cost             |
| IsManageByAccessNumber | boolean   | Is Manage By Access Number |
| IsAutoAdjustInventory  | boolean   | Is Auto Adjust Inventory   |
| IsDefaultPurchase      | boolean   | Is Default Purchase        |
| IsDefaultSales         | boolean   | Is Default Sales           |
| IsExpirationGoods      | boolean   | Is Expiration Goods        |
| HeadInventory          | double    | Head Inventory             |
| UnitPrice              | double    | Unit Price                 |

#### GET

**Description: Get item or list paging by offset and limit parameters**

**Endpoint(s):**

* `GET /v4/warehouse/goods/{Code}`: for get exacly item
* `GET /v4/warehouse/goods`: for get multiple items

**Parameters:**

* `token`: authentication token (Type: `string`)
* `offset`: get items from offset (Type: `int`)
* `limit`: get number of items (Type: `int`)
* `id<no>`: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: `string`)
* `filter_<Field>`: filter items by like value (Type: `string`)
* `left_<Field>`: filter items by like left of value (Type: `string`)
* `right_<Field>`: filter items by like right of value (Type: `string`)
* `eq_<Field>`: filter items by equal value (Type: `string`)
* `ne_<Field>`: filter items by not equal value (Type: `string`)
* `lt_<Field>`: filter items by less than value (Type: `string`)
* `le_<Field>`: filter items by less than or equal value (Type: `string`)
* `gt_<Field>`: filter items by greater then value (Type: `string`)
* `ge_<Field>`: filter items by greater than or equal value (Type: `string`)

#### POST

**Description: Create new items**

**Endpoint: `POST /v4/warehouse/goods`**

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### PUT

**Description: Update items by ids**

* `PUT /v4/warehouse/goods/{Code}`: for put exacly item
* `PUT /v4/warehouse/goods`: for put multiple items

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### DELETE

**Description: Delete items by ids**

**Endpoint(s):**

* `DELETE /v4/warehouse/goods/{Code}`: for delete exacly item
* `DELETE /v4/warehouse/goods?id0=123&id1=456&...`: for delete multiple items with id0 id1,...

### RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Warehouse FindOrderTems

#### Primary Key: `Code, Unit, Container`

#### Schema

| Field              | Type    | Description          |
| ------------------ | ------- | -------------------- |
| Barcode            | string  | Barcode              |
| Brand              | string  | Brand                |
| BrandName          | string  | Brand Name           |
| Categories         | string  | Categories           |
| Code               | string  | Code                 |
| CostOfGoodsSoldX   | string  | Cost Of Goods Sold X |
| Created            | string  | Created              |
| Creator            | string  | Creator              |
| CreatorName        | string  | Creator Name         |
| Description        | string  | Description          |
| ExchangeProduct    | string  | Exchange Product     |
| FeaturePicture     | string  | Feature Picture      |
| Groups             | string  | Groups               |
| Id                 | numeric | Id                   |
| IsApprove          | numeric | Is Approve           |
| IsRegenerateCode   | numeric | Is Regenerate Code   |
| IsRegenerateSku    | numeric | Is Regenerate Sku    |
| IsStopBusiness     | numeric | Is Stop Business     |
| Keyword            | string  | Keyword              |
| Keywords           | string  | Keywords             |
| LastUpdate         | string  | Last Update          |
| LastUpdateBy       | string  | Last Update By       |
| LastUpdateByName   | string  | Last Update By Name  |
| ManualCode         | string  | Manual Code          |
| ManufactureId      | numeric | Manufacture Id       |
| MarketingPrice     | string  | Marketing Price      |
| Name               | string  | Name                 |
| OldCode            | string  | Old Code             |
| OldCode2           | string  | Old Code2            |
| Page               | string  | Page                 |
| ParentId           | numeric | Parent Id            |
| Permission         | string  | Permission           |
| PictureId          | string  | Picture Id           |
| PictureIdBk        | numeric | Picture Id Bk        |
| Pictures           | string  | Pictures             |
| PurchaseCost       | string  | Purchase Cost        |
| PurchasePrice      | string  | Purchase Price       |
| RequireVatTax      | numeric | Require Vat Tax      |
| Revisions          | string  | Revisions            |
| SearchRank         | numeric | Search Rank          |
| Sequence           | numeric | Sequence             |
| Sku                | string  | Sku                  |
| State              | numeric | State                |
| Tags               | string  | Tags                 |
| Tax                | string  | Tax                  |
| TaxName            | string  | Tax Name             |
| Technical          | string  | Technical            |
| Type               | string  | Type                 |
| TypeCode           | string  | Type Code            |
| UniqueKey          | string  | Unique Key           |
| UnitRatio          | string  | Unit Ratio           |
| VatTax             | string  | Vat Tax              |
| WarehouseUnit      | string  | Warehouse Unit       |
| WarehouseUnitLabel | string  | Warehouse Unit Label |
| Price              | double  | Price                |
| DiscountPrice      | double  | Discount Price       |

#### GET

**Description: Get item or list paging by offset and limit parameters**

**Endpoint(s):**

* `GET /v4/warehouse/find-order-tems/{Code}-{Unit}-{Container}`: for get exacly item
* `GET /v4/warehouse/find-order-tems`: for get multiple items

**Parameters:**

* `token`: authentication token (Type: `string`)
* `offset`: get items from offset (Type: `int`)
* `limit`: get number of items (Type: `int`)
* `id<no>`: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: `string`)
* `filter_<Field>`: filter items by like value (Type: `string`)
* `left_<Field>`: filter items by like left of value (Type: `string`)
* `right_<Field>`: filter items by like right of value (Type: `string`)
* `eq_<Field>`: filter items by equal value (Type: `string`)
* `ne_<Field>`: filter items by not equal value (Type: `string`)
* `lt_<Field>`: filter items by less than value (Type: `string`)
* `le_<Field>`: filter items by less than or equal value (Type: `string`)
* `gt_<Field>`: filter items by greater then value (Type: `string`)
* `ge_<Field>`: filter items by greater than or equal value (Type: `string`)

#### POST

**Description: Create new items**

**Endpoint: `POST /v4/warehouse/find-order-tems`**

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### PUT

**Description: Update items by ids**

* `PUT /v4/warehouse/find-order-tems/{Code}-{Unit}-{Container}`: for put exacly item
* `PUT /v4/warehouse/find-order-tems`: for put multiple items

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### DELETE

**Description: Delete items by ids**

**Endpoint(s):**

* `DELETE /v4/warehouse/find-order-tems/{Code}-{Unit}-{Container}`: for delete exacly item
* `DELETE /v4/warehouse/find-order-tems?id0=123&id1=456&...`: for delete multiple items with id0 id1,...

### RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Warehouse V2 Reports

#### Primary Key: `Code`

#### Schema

| Field                 | Type      | Description              |
| --------------------- | --------- | ------------------------ |
| Account               | string    | Account                  |
| BankAccount           | string    | Bank Account             |
| Branch                | string    | Branch                   |
| CommissionRatio       | string    | Commission Ratio         |
| CommissionStrategy    | string    | Commission Strategy      |
| Construction          | string    | Construction             |
| ContraAccount         | string    | Contra Account           |
| Contract              | string    | Contract                 |
| CostClassification    | string    | Cost Classification      |
| CostObject            | string    | Cost Object              |
| Credit                | string    | Credit                   |
| CreditQuantity        | string    | Credit Quantity          |
| DateOfWriting         | datetime  | Date Of Writing          |
| Debit                 | string    | Debit                    |
| DebitQuantity         | string    | Debit Quantity           |
| Description           | string    | Description              |
| Employee              | string    | Employee                 |
| EmployeeCredit        | string    | Employee Credit          |
| EmployeeCreditAccount | string    | Employee Credit Account  |
| EmployeeDebit         | string    | Employee Debit           |
| EmployeeDebitAccount  | string    | Employee Debit Account   |
| Id                    | numeric   | Id                       |
| MasterBook            | string    | Master Book              |
| Mentor                | string    | Mentor                   |
| Object                | string    | Object                   |
| ObjectName            | string    | Object Name              |
| Page                  | string    | Page                     |
| Price                 | string    | Price                    |
| Product               | string    | Product                  |
| ProductGroupIndex     | string    | Product Group Index      |
| ProductName           | string    | Product Name             |
| ProductUnit           | string    | Product Unit             |
| ProductUnitIndex      | string    | Product Unit Index       |
| ProductUnitLabel      | string    | Product Unit Label       |
| Publisher             | string    | Publisher                |
| Quantity              | double    | Quantity                 |
| SalesOrder            | string    | Sales Order              |
| Seller                | string    | Seller                   |
| State                 | string    | State                    |
| Tags                  | string    | Tags                     |
| Thread                | string    | Thread                   |
| Type                  | string    | Type                     |
| Voucher               | string    | Voucher                  |
| VoucherDate           | datetime  | Voucher Date             |
| VoucherDescription    | string    | Voucher Description      |
| VoucherDetailUuid     | string    | Voucher Detail Uuid      |
| VoucherPart           | string    | Voucher Part             |
| VoucherType           | string    | Voucher Type             |
| WriteNo               | numeric   | Write No                 |
| Writer                | string    | Writer                   |
| WriteType             | string    | Write Type               |
| HeadDebit             | number    | Head Debit               |
| HeadCredit            | number    | Head Credit              |
| GenerateDebit         | number    | Generate Debit           |
| GenerateCredit        | number    | Generate Credit          |
| UnitPrice             | double    | Unit Price               |
| HeadNumOfVouchers     | number    | Head Num Of Vouchers     |
| GenerateNumOfVouchers | number    | Generate Num Of Vouchers |
| TailNumOfVouchers     | number    | Tail Num Of Vouchers     |
| ObjectContactGroups   | serialize | Object Contact Groups    |
| EmployeeAvatar        | serialize | Employee Avatar          |
| ProductFeaturePicture | serialize | Product Feature Picture  |

#### GET

**Description: Get item or list paging by offset and limit parameters**

**Endpoint(s):**

* `GET /v4/warehouse/reports/{Code}`: for get exacly item
* `GET /v4/warehouse/reports`: for get multiple items

**Parameters:**

* `token`: authentication token (Type: `string`)
* `offset`: get items from offset (Type: `int`)
* `limit`: get number of items (Type: `int`)
* `id<no>`: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: `string`)
* `filter_<Field>`: filter items by like value (Type: `string`)
* `left_<Field>`: filter items by like left of value (Type: `string`)
* `right_<Field>`: filter items by like right of value (Type: `string`)
* `eq_<Field>`: filter items by equal value (Type: `string`)
* `ne_<Field>`: filter items by not equal value (Type: `string`)
* `lt_<Field>`: filter items by less than value (Type: `string`)
* `le_<Field>`: filter items by less than or equal value (Type: `string`)
* `gt_<Field>`: filter items by greater then value (Type: `string`)
* `ge_<Field>`: filter items by greater than or equal value (Type: `string`)

#### POST

**Description: Create new items**

**Endpoint: `POST /v4/warehouse/reports`**

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### PUT

**Description: Update items by ids**

* `PUT /v4/warehouse/reports/{Code}`: for put exacly item
* `PUT /v4/warehouse/reports`: for put multiple items

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### DELETE

**Description: Delete items by ids**

**Endpoint(s):**

* `DELETE /v4/warehouse/reports/{Code}`: for delete exacly item
* `DELETE /v4/warehouse/reports?id0=123&id1=456&...`: for delete multiple items with id0 id1,...

### RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Warehouse Statistics

#### Primary Key: `Code`

#### Schema

| Field              | Type     | Description         |
| ------------------ | -------- | ------------------- |
| AccessNumber       | string   | Access Number       |
| Account            | string   | Account             |
| Book               | string   | Book                |
| Branch             | string   | Branch              |
| Container          | string   | Container           |
| ContraAccount      | string   | Contra Account      |
| Currency           | string   | Currency            |
| DateOfManufacture  | string   | Date Of Manufacture |
| DateOfWriting      | string   | Date Of Writing     |
| DecreaseWrite      | string   | Decrease Write      |
| Description        | string   | Description         |
| Employee           | string   | Employee            |
| ExpiryDate         | string   | Expiry Date         |
| Goods              | string   | Goods               |
| Id                 | numeric  | Id                  |
| IncreaseWrite      | string   | Increase Write      |
| Object             | string   | Object              |
| ObjectAddress      | string   | Object Address      |
| ObjectEmail        | string   | Object Email        |
| ObjectName         | string   | Object Name         |
| ObjectPhone        | string   | Object Phone        |
| SerialNumber       | string   | Serial Number       |
| Type               | string   | Type                |
| Unit               | string   | Unit                |
| UnitPrice          | string   | Unit Price          |
| Voucher            | string   | Voucher             |
| VoucherDate        | datetime | Voucher Date        |
| VoucherDescription | string   | Voucher Description |
| VoucherType        | string   | Voucher Type        |
| Warehouse          | string   | Warehouse           |
| WritedDate         | string   | Writed Date         |
| WriteNo            | numeric  | Write No            |
| Writer             | string   | Writer              |
| WriteType          | string   | Write Type          |
| Debit              | number   | Debit               |
| Credit             | number   | Credit              |
| SumOfDebit         | number   | Sum Of Debit        |
| SumOfCredit        | number   | Sum Of Credit       |
| NumOfVouchers      | number   | Num Of Vouchers     |

#### GET

**Description: Get item or list paging by offset and limit parameters**

**Endpoint(s):**

* `GET /v4/warehouse/statistics/{Code}`: for get exacly item
* `GET /v4/warehouse/statistics`: for get multiple items

**Parameters:**

* `token`: authentication token (Type: `string`)
* `offset`: get items from offset (Type: `int`)
* `limit`: get number of items (Type: `int`)
* `id<no>`: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: `string`)
* `filter_<Field>`: filter items by like value (Type: `string`)
* `left_<Field>`: filter items by like left of value (Type: `string`)
* `right_<Field>`: filter items by like right of value (Type: `string`)
* `eq_<Field>`: filter items by equal value (Type: `string`)
* `ne_<Field>`: filter items by not equal value (Type: `string`)
* `lt_<Field>`: filter items by less than value (Type: `string`)
* `le_<Field>`: filter items by less than or equal value (Type: `string`)
* `gt_<Field>`: filter items by greater then value (Type: `string`)
* `ge_<Field>`: filter items by greater than or equal value (Type: `string`)

#### POST

**Description: Create new items**

**Endpoint: `POST /v4/warehouse/statistics`**

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### PUT

**Description: Update items by ids**

* `PUT /v4/warehouse/statistics/{Code}`: for put exacly item
* `PUT /v4/warehouse/statistics`: for put multiple items

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### DELETE

**Description: Delete items by ids**

**Endpoint(s):**

* `DELETE /v4/warehouse/statistics/{Code}`: for delete exacly item
* `DELETE /v4/warehouse/statistics?id0=123&id1=456&...`: for delete multiple items with id0 id1,...

### RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Warehouse ProductionOrders

#### Primary Key: `Code`

#### Schema

| Field         | Type     | Description     |
| ------------- | -------- | --------------- |
| Approved      | datetime | Approved        |
| Code          | string   | Code            |
| Creator       | string   | Creator         |
| CreatorName   | string   | Creator Name    |
| DateOfCreated | datetime | Date Of Created |
| DateOfEnd     | datetime | Date Of End     |
| DateOfStart   | datetime | Date Of Start   |
| Description   | string   | Description     |
| Id            | numeric  | Id              |
| Manager       | string   | Manager         |
| ManagerName   | string   | Manager Name    |
| Permission    | string   | Permission      |
| State         | string   | State           |
| Title         | string   | Title           |
| Type          | string   | Type            |
| Bookkeeping   | boolean  | Bookkeeping     |

#### GET

**Description: Get item or list paging by offset and limit parameters**

**Endpoint(s):**

* `GET /v4/warehouse/production-orders/{Code}`: for get exacly item
* `GET /v4/warehouse/production-orders`: for get multiple items

**Parameters:**

* `token`: authentication token (Type: `string`)
* `offset`: get items from offset (Type: `int`)
* `limit`: get number of items (Type: `int`)
* `id<no>`: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: `string`)
* `filter_<Field>`: filter items by like value (Type: `string`)
* `left_<Field>`: filter items by like left of value (Type: `string`)
* `right_<Field>`: filter items by like right of value (Type: `string`)
* `eq_<Field>`: filter items by equal value (Type: `string`)
* `ne_<Field>`: filter items by not equal value (Type: `string`)
* `lt_<Field>`: filter items by less than value (Type: `string`)
* `le_<Field>`: filter items by less than or equal value (Type: `string`)
* `gt_<Field>`: filter items by greater then value (Type: `string`)
* `ge_<Field>`: filter items by greater than or equal value (Type: `string`)

#### POST

**Description: Create new items**

**Endpoint: `POST /v4/warehouse/production-orders`**

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### PUT

**Description: Update items by ids**

* `PUT /v4/warehouse/production-orders/{Code}`: for put exacly item
* `PUT /v4/warehouse/production-orders`: for put multiple items

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### DELETE

**Description: Delete items by ids**

**Endpoint(s):**

* `DELETE /v4/warehouse/production-orders/{Code}`: for delete exacly item
* `DELETE /v4/warehouse/production-orders?id0=123&id1=456&...`: for delete multiple items with id0 id1,...

### RESTFul API working with GET, POST, PUT, DELETE / RESTFul API thao tác Lấy (GET), Thêm (POST), Sửa (PUT), Xóa (DELETE) Warehouse AccessNumbers

#### Primary Key: `Goods, Unit, Container`

#### Schema

| Field              | Type     | Description         |
| ------------------ | -------- | ------------------- |
| AccessNumber       | string   | Access Number       |
| Account            | string   | Account             |
| Book               | string   | Book                |
| Branch             | string   | Branch              |
| Container          | string   | Container           |
| ContraAccount      | string   | Contra Account      |
| Currency           | string   | Currency            |
| DateOfManufacture  | string   | Date Of Manufacture |
| DateOfWriting      | string   | Date Of Writing     |
| DecreaseWrite      | string   | Decrease Write      |
| Description        | string   | Description         |
| Employee           | string   | Employee            |
| ExpiryDate         | string   | Expiry Date         |
| Goods              | string   | Goods               |
| Id                 | numeric  | Id                  |
| IncreaseWrite      | string   | Increase Write      |
| Object             | string   | Object              |
| ObjectAddress      | string   | Object Address      |
| ObjectEmail        | string   | Object Email        |
| ObjectName         | string   | Object Name         |
| ObjectPhone        | string   | Object Phone        |
| SerialNumber       | string   | Serial Number       |
| Type               | string   | Type                |
| Unit               | string   | Unit                |
| UnitPrice          | string   | Unit Price          |
| Voucher            | string   | Voucher             |
| VoucherDate        | datetime | Voucher Date        |
| VoucherDescription | string   | Voucher Description |
| VoucherType        | string   | Voucher Type        |
| Warehouse          | string   | Warehouse           |
| WritedDate         | string   | Writed Date         |
| WriteNo            | numeric  | Write No            |
| Writer             | string   | Writer              |
| WriteType          | string   | Write Type          |

#### GET

**Description: Get item or list paging by offset and limit parameters**

**Endpoint(s):**

* `GET /v4/warehouse/access-numbers/{Goods}-{Unit}-{Container}`: for get exacly item
* `GET /v4/warehouse/access-numbers`: for get multiple items

**Parameters:**

* `token`: authentication token (Type: `string`)
* `offset`: get items from offset (Type: `int`)
* `limit`: get number of items (Type: `int`)
* `id<no>`: type is string and start from 0 for get one or more special items, id maybe end of enpoint / (Type: `string`)
* `filter_<Field>`: filter items by like value (Type: `string`)
* `left_<Field>`: filter items by like left of value (Type: `string`)
* `right_<Field>`: filter items by like right of value (Type: `string`)
* `eq_<Field>`: filter items by equal value (Type: `string`)
* `ne_<Field>`: filter items by not equal value (Type: `string`)
* `lt_<Field>`: filter items by less than value (Type: `string`)
* `le_<Field>`: filter items by less than or equal value (Type: `string`)
* `gt_<Field>`: filter items by greater then value (Type: `string`)
* `ge_<Field>`: filter items by greater than or equal value (Type: `string`)

#### POST

**Description: Create new items**

**Endpoint: `POST /v4/warehouse/access-numbers`**

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### PUT

**Description: Update items by ids**

* `PUT /v4/warehouse/access-numbers/{Goods}-{Unit}-{Container}`: for put exacly item
* `PUT /v4/warehouse/access-numbers`: for put multiple items

**Payload:**

* Content-Type: `application/json`
* Data: JSON Array of objects defined in Schema

#### DELETE

**Description: Delete items by ids**

**Endpoint(s):**

* `DELETE /v4/warehouse/access-numbers/{Goods}-{Unit}-{Container}`: for delete exacly item
* `DELETE /v4/warehouse/access-numbers?id0=123&id1=456&...`: for delete multiple items with id0 id1,...


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.crm.ai.vn/api-update-9-4-2025/module-kho-bai.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
