# Module Liên Hệ

### 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) Contact Contacts

#### Primary Key: `Code`

#### Schema

| Field                     | Type      | Description                  |
| ------------------------- | --------- | ---------------------------- |
| Address                   | string    | Address                      |
| Address2                  | string    | Address2                     |
| Address3                  | string    | Address3                     |
| Avatar                    | serialize | Avatar                       |
| AvatarBk                  | numeric   | Avatar Bk                    |
| AvatarUrl                 | string    | Avatar Url                   |
| BankAcc                   | string    | Bank Acc                     |
| BankName                  | string    | Bank Name                    |
| Birthday                  | string    | Birthday                     |
| Branch                    | string    | Branch                       |
| BranchId                  | numeric   | Branch Id                    |
| CallcenterNumber          | string    | Callcenter Number            |
| CanLogin                  | numeric   | Can Login                    |
| Code                      | string    | Code                         |
| CompanyEmail              | string    | Company Email                |
| ContactType               | string    | Contact Type                 |
| Created                   | string    | Created                      |
| Creator                   | string    | Creator                      |
| CreatorName               | string    | Creator Name                 |
| CreditPoints              | numeric   | Credit Points                |
| CurrentDevice             | string    | Current Device               |
| DateOfIssueIdNumber       | string    | Date Of Issue Id Number      |
| Debt                      | string    | Debt                         |
| DeleteBy                  | string    | Delete By                    |
| DeleteByName              | string    | Delete By Name               |
| Deleted                   | string    | Deleted                      |
| Department                | string    | Department                   |
| District                  | string    | District                     |
| DistrictLabel             | string    | District Label               |
| Email                     | string    | Email                        |
| EthnicOrigion             | string    | Ethnic Origion               |
| Fax                       | string    | Fax                          |
| FirstName                 | string    | First Name                   |
| FullAddress               | string    | Full Address                 |
| Gender                    | string    | Gender                       |
| GlobalPhone               | string    | Global Phone                 |
| Group                     | string    | Group                        |
| GtalkId                   | string    | Gtalk Id                     |
| Homeland                  | string    | Homeland                     |
| HomeTel                   | string    | Home Tel                     |
| Id                        | numeric   | Id                           |
| IdentifiedNumber          | string    | Identified Number            |
| IdNumber                  | string    | Id Number                    |
| IdNumberSnapshot          | string    | Id Number Snapshot           |
| IdNumberSnapshot2         | string    | Id Number Snapshot2          |
| IdNumberSnapshot2Bk       | numeric   | Id Number Snapshot2 Bk       |
| IdNumberSnapshotBk        | numeric   | Id Number Snapshot Bk        |
| IsDeleted                 | boolean   | Is Deleted                   |
| IsReceiveAllNotifications | numeric   | Is Receive All Notifications |
| JoinedDate                | string    | Joined Date                  |
| Keyword                   | string    | Keyword                      |
| LastName                  | string    | Last Name                    |
| Latitude                  | string    | Latitude                     |
| Location                  | string    | Location                     |
| Longitude                 | string    | Longitude                    |
| MapLink                   | string    | Map Link                     |
| MapUrl                    | string    | Map Url                      |
| MaxDebt                   | string    | Max Debt                     |
| MemberLevel               | string    | Member Level                 |
| MemberLevelName           | string    | Member Level Name            |
| MsnId                     | string    | Msn Id                       |
| Name                      | string    | Name                         |
| Note                      | string    | Note                         |
| OtherEmail                | string    | Other Email                  |
| OtherPhone                | string    | Other Phone                  |
| Parent                    | string    | Parent                       |
| ParentIdBk                | numeric   | Parent Id Bk                 |
| PermanentAddress          | string    | Permanent Address            |
| Permission                | string    | Permission                   |
| PersonalEmail             | string    | Personal Email               |
| Phone                     | string    | Phone                        |
| Phone2                    | string    | Phone2                       |
| Phone3                    | string    | Phone3                       |
| Phone4                    | string    | Phone4                       |
| PhoneExt                  | string    | Phone Ext                    |
| PlaceOfBirth              | string    | Place Of Birth               |
| PlaceOfIssueIdNumber      | string    | Place Of Issue Id Number     |
| Province                  | string    | Province                     |
| ProvinceLabel             | string    | Province Label               |
| Religion                  | string    | Religion                     |
| RewardPoints              | numeric   | Reward Points                |
| SearchRank                | numeric   | Search Rank                  |
| Sex                       | numeric   | Sex                          |
| ShortName                 | string    | Short Name                   |
| SignatureSnapshot         | string    | Signature Snapshot           |
| SignsOwn                  | string    | Signs Own                    |
| SipDomain                 | string    | Sip Domain                   |
| SipPassword               | string    | Sip Password                 |
| SipUser                   | string    | Sip User                     |
| SkypeId                   | string    | Skype Id                     |
| State                     | string    | State                        |
| TaxCode                   | string    | Tax Code                     |
| Title                     | string    | Title                        |
| Type                      | string    | Type                         |
| User                      | string    | User                         |
| Ward                      | string    | Ward                         |
| WardLabel                 | string    | Ward Label                   |
| Website                   | string    | Website                      |
| WorkingState              | string    | Working State                |
| WorkingType               | string    | Working Type                 |
| WorkStatus                | string    | Work Status                  |
| WorkTel                   | string    | Work Tel                     |
| YahooId                   | string    | Yahoo Id                     |
| Zalo                      | string    | Zalo                         |

#### GET

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

**Endpoint(s):**

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

**Payload:**

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

#### PUT

**Description: Update items by ids**

* `PUT /v4/contact/contacts/{Code}`: for put exacly item
* `PUT /v4/contact/contacts`: 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/contact/contacts/{Code}`: for delete exacly item
* `DELETE /v4/contact/contacts?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) Contact Groups

#### Primary Key: `Code`

#### Schema

| Field       | Type    | Description |
| ----------- | ------- | ----------- |
| BuildIn     | numeric | Build In    |
| Code        | string  | Code        |
| Description | string  | Description |
| Id          | numeric | Id          |
| Name        | string  | Name        |

#### GET

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

**Endpoint(s):**

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

**Payload:**

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

#### PUT

**Description: Update items by ids**

* `PUT /v4/contact/groups/{Code}`: for put exacly item
* `PUT /v4/contact/groups`: 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/contact/groups/{Code}`: for delete exacly item
* `DELETE /v4/contact/groups?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) Contact ContactDetailTypes

#### Primary Key: `Code`

#### Schema

| Field       | Type    | Description |
| ----------- | ------- | ----------- |
| Code        | string  | Code        |
| Description | string  | Description |
| Group       | string  | Group       |
| Id          | numeric | Id          |
| Name        | string  | Name        |

#### GET

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

**Endpoint(s):**

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

**Payload:**

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

#### PUT

**Description: Update items by ids**

* `PUT /v4/contact/detailTypes/{Code}`: for put exacly item
* `PUT /v4/contact/detailTypes`: 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/contact/detailTypes/{Code}`: for delete exacly item
* `DELETE /v4/contact/detailTypes?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) Contact IdentityCardVerifications

#### Primary Key: `Code`

#### Schema

| Field                     | Type      | Description                  |
| ------------------------- | --------- | ---------------------------- |
| Address                   | string    | Address                      |
| Address2                  | string    | Address2                     |
| Address3                  | string    | Address3                     |
| Avatar                    | string    | Avatar                       |
| AvatarBk                  | numeric   | Avatar Bk                    |
| AvatarUrl                 | string    | Avatar Url                   |
| BankAcc                   | string    | Bank Acc                     |
| BankName                  | string    | Bank Name                    |
| Birthday                  | string    | Birthday                     |
| Branch                    | string    | Branch                       |
| BranchId                  | numeric   | Branch Id                    |
| CallcenterNumber          | string    | Callcenter Number            |
| CanLogin                  | numeric   | Can Login                    |
| Code                      | string    | Code                         |
| CompanyEmail              | string    | Company Email                |
| ContactType               | string    | Contact Type                 |
| Created                   | datetime  | Created                      |
| Creator                   | string    | Creator                      |
| CreatorName               | string    | Creator Name                 |
| CreditPoints              | numeric   | Credit Points                |
| CurrentDevice             | string    | Current Device               |
| DateOfIssueIdNumber       | string    | Date Of Issue Id Number      |
| Debt                      | string    | Debt                         |
| DeleteBy                  | string    | Delete By                    |
| DeleteByName              | string    | Delete By Name               |
| Deleted                   | string    | Deleted                      |
| Department                | string    | Department                   |
| District                  | string    | District                     |
| DistrictLabel             | string    | District Label               |
| Email                     | string    | Email                        |
| EthnicOrigion             | string    | Ethnic Origion               |
| Fax                       | string    | Fax                          |
| FirstName                 | string    | First Name                   |
| FullAddress               | string    | Full Address                 |
| Gender                    | string    | Gender                       |
| GlobalPhone               | string    | Global Phone                 |
| Group                     | string    | Group                        |
| GtalkId                   | string    | Gtalk Id                     |
| Homeland                  | string    | Homeland                     |
| HomeTel                   | string    | Home Tel                     |
| Id                        | numeric   | Id                           |
| IdentifiedNumber          | string    | Identified Number            |
| IdNumber                  | string    | Id Number                    |
| IdNumberSnapshot          | string    | Id Number Snapshot           |
| IdNumberSnapshot2         | string    | Id Number Snapshot2          |
| IdNumberSnapshot2Bk       | numeric   | Id Number Snapshot2 Bk       |
| IdNumberSnapshotBk        | numeric   | Id Number Snapshot Bk        |
| IsDeleted                 | boolean   | Is Deleted                   |
| IsReceiveAllNotifications | numeric   | Is Receive All Notifications |
| JoinedDate                | string    | Joined Date                  |
| Keyword                   | string    | Keyword                      |
| LastName                  | string    | Last Name                    |
| Latitude                  | string    | Latitude                     |
| Location                  | string    | Location                     |
| Longitude                 | string    | Longitude                    |
| MapLink                   | string    | Map Link                     |
| MapUrl                    | string    | Map Url                      |
| MaxDebt                   | string    | Max Debt                     |
| MemberLevel               | string    | Member Level                 |
| MemberLevelName           | string    | Member Level Name            |
| MsnId                     | string    | Msn Id                       |
| Name                      | string    | Name                         |
| Note                      | string    | Note                         |
| OtherEmail                | string    | Other Email                  |
| OtherPhone                | string    | Other Phone                  |
| Parent                    | string    | Parent                       |
| ParentIdBk                | numeric   | Parent Id Bk                 |
| PermanentAddress          | string    | Permanent Address            |
| Permission                | string    | Permission                   |
| PersonalEmail             | string    | Personal Email               |
| Phone                     | string    | Phone                        |
| Phone2                    | string    | Phone2                       |
| Phone3                    | string    | Phone3                       |
| Phone4                    | string    | Phone4                       |
| PhoneExt                  | string    | Phone Ext                    |
| PlaceOfBirth              | string    | Place Of Birth               |
| PlaceOfIssueIdNumber      | string    | Place Of Issue Id Number     |
| Province                  | string    | Province                     |
| ProvinceLabel             | string    | Province Label               |
| Religion                  | string    | Religion                     |
| RewardPoints              | numeric   | Reward Points                |
| SearchRank                | numeric   | Search Rank                  |
| Sex                       | numeric   | Sex                          |
| ShortName                 | string    | Short Name                   |
| SignatureSnapshot         | string    | Signature Snapshot           |
| SignsOwn                  | string    | Signs Own                    |
| SipDomain                 | string    | Sip Domain                   |
| SipPassword               | string    | Sip Password                 |
| SipUser                   | string    | Sip User                     |
| SkypeId                   | string    | Skype Id                     |
| State                     | string    | State                        |
| TaxCode                   | string    | Tax Code                     |
| Title                     | string    | Title                        |
| Type                      | string    | Type                         |
| User                      | string    | User                         |
| Ward                      | string    | Ward                         |
| WardLabel                 | string    | Ward Label                   |
| Website                   | string    | Website                      |
| WorkingState              | string    | Working State                |
| WorkingType               | string    | Working Type                 |
| WorkStatus                | string    | Work Status                  |
| WorkTel                   | string    | Work Tel                     |
| YahooId                   | string    | Yahoo Id                     |
| Zalo                      | string    | Zalo                         |
| UserIdentityCardImage1    | serialize | User Identity Card Image1    |
| UserIdentityCardImage2    | serialize | User Identity Card Image2    |

#### GET

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

**Endpoint(s):**

* `GET /v4/contact/identity-card-verifications/{Code}`: for get exacly item
* `GET /v4/contact/identity-card-verifications`: 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/contact/identity-card-verifications`**

**Payload:**

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

#### PUT

**Description: Update items by ids**

* `PUT /v4/contact/identity-card-verifications/{Code}`: for put exacly item
* `PUT /v4/contact/identity-card-verifications`: 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/contact/identity-card-verifications/{Code}`: for delete exacly item
* `DELETE /v4/contact/identity-card-verifications?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-lien-he.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.
