> For the complete documentation index, see [llms.txt](https://docs.crm.ai.vn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.crm.ai.vn/api-update-9-4-2025/module-trien-khai.md). Agents can also search and read this documentation through its [MCP server](https://docs.crm.ai.vn/~gitbook/mcp).

# Module Triển Khai

### 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) Deployment Vouchers

#### 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               |
| Created                  | datetime | Created                     |
| Creator                  | string   | Creator                     |
| DeliveryAddress          | string   | Delivery Address            |
| DeliveryDistrict         | string   | Delivery District           |
| DeliveryDistrictLabel    | string   | Delivery District Label     |
| DeliveryProvince         | string   | Delivery Province           |
| DeliveryProvinceLabel    | string   | Delivery Province Label     |
| DeliveryWard             | string   | Delivery Ward               |
| DeliveryWardLabel        | string   | Delivery Ward Label         |
| DeploymentDate           | datetime | Deployment Date             |
| DirectReceiver           | string   | Direct Receiver             |
| DirectReceiverAddress    | string   | Direct Receiver Address     |
| DirectReceiverEmail      | string   | Direct Receiver Email       |
| DirectReceiverName       | string   | Direct Receiver Name        |
| DirectReceiverPhone      | string   | Direct Receiver Phone       |
| Driver                   | string   | Driver                      |
| DriverName               | string   | Driver Name                 |
| DriverPhone              | string   | Driver Phone                |
| Employee                 | string   | Employee                    |
| FullDeliveryAddress      | string   | Full Delivery Address       |
| Id                       | numeric  | Id                          |
| Implementer              | string   | Implementer                 |
| ImplementerEmail         | string   | Implementer Email           |
| ImplementerName          | string   | Implementer Name            |
| ImplementerPhone         | string   | Implementer Phone           |
| IsDebt                   | boolean  | Is Debt                     |
| MapUrl                   | string   | Map Url                     |
| Note                     | string   | Note                        |
| Object                   | string   | Object                      |
| ObjectAddress            | string   | Object Address              |
| ObjectBankCode           | string   | Object Bank Code            |
| ObjectBankName           | string   | Object Bank Name            |
| ObjectEmail              | string   | Object Email                |
| ObjectIdentifiedNumber   | string   | Object Identified Number    |
| ObjectName               | string   | Object Name                 |
| ObjectPhone              | string   | Object Phone                |
| ObjectTaxCode            | string   | Object Tax Code             |
| Permission               | string   | Permission                  |
| Recipient                | string   | Recipient                   |
| SequenceNumber           | numeric  | Sequence Number             |
| ShippingCost             | double   | Shipping Cost               |
| ShippingCostPaymentBy    | string   | Shipping Cost Payment By    |
| ShippingCostPaymentRatio | double   | Shipping Cost Payment Ratio |
| State                    | string   | State                       |
| SubNote                  | string   | Sub Note                    |
| Thread                   | string   | Thread                      |
| Title                    | string   | Title                       |
| Transportation           | string   | Transportation              |
| TransportationName       | string   | Transportation Name         |

#### GET

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

**Endpoint(s):**

* `GET /v4/deployment/vouchers/{Code}`: for get exacly item
* `GET /v4/deployment/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/deployment/vouchers`**

**Payload:**

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

#### PUT

**Description: Update items by ids**

* `PUT /v4/deployment/vouchers/{Code}`: for put exacly item
* `PUT /v4/deployment/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/deployment/vouchers/{Code}`: for delete exacly item
* `DELETE /v4/deployment/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) Deployment VoucherComments

#### Primary Key: `Voucher, SystemUuid`

#### Schema

| Field        | Type      | Description   |
| ------------ | --------- | ------------- |
| Attachments  | serialize | Attachments   |
| Content      | string    | Content       |
| DateOfPost   | datetime  | Date Of Post  |
| Id           | numeric   | Id            |
| Sender       | string    | Sender        |
| SenderAvatar | serialize | Sender Avatar |
| SenderName   | string    | Sender Name   |
| SystemUuid   | string    | System Uuid   |
| Voucher      | string    | Voucher       |

#### GET

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

**Endpoint(s):**

* `GET /v4/deployment/voucher-comments/{Voucher}-{SystemUuid}`: for get exacly item
* `GET /v4/deployment/voucher-comments`: 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/deployment/voucher-comments`**

**Payload:**

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

#### PUT

**Description: Update items by ids**

* `PUT /v4/deployment/voucher-comments/{Voucher}-{SystemUuid}`: for put exacly item
* `PUT /v4/deployment/voucher-comments`: 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/deployment/voucher-comments/{Voucher}-{SystemUuid}`: for delete exacly item
* `DELETE /v4/deployment/voucher-comments?id0=123&id1=456&...`: for delete multiple items with id0 id1,...


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.crm.ai.vn/api-update-9-4-2025/module-trien-khai.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
