POST api/u-khachhang
Request Information
URI Parameters
None.
Body Parameters
CauHinhHeThongDO| Name | Description | Type | Additional information |
|---|---|---|---|
| id_khach_hang | string |
None. |
|
| ma_khach_hang | string |
None. |
|
| ten_khach_hang | string |
None. |
|
| title | string |
None. |
|
| dia_chi | string |
None. |
|
| so_dien_thoai | string |
None. |
|
| website | string |
None. |
|
| string |
None. |
||
| smtphost | string |
None. |
|
| smtpusername | string |
None. |
|
| smtppassword | string |
None. |
|
| smtpport | integer |
None. |
|
| smtpssl | boolean |
None. |
|
| theme | string |
None. |
|
| ma_theme | string |
None. |
|
| logo | string |
None. |
|
| favicon_icon | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id_khach_hang": "sample string 1",
"ma_khach_hang": "sample string 2",
"ten_khach_hang": "sample string 3",
"title": "sample string 4",
"dia_chi": "sample string 5",
"so_dien_thoai": "sample string 6",
"website": "sample string 7",
"email": "sample string 8",
"smtphost": "sample string 9",
"smtpusername": "sample string 10",
"smtppassword": "sample string 11",
"smtpport": 12,
"smtpssl": true,
"theme": "sample string 14",
"ma_theme": "sample string 15",
"logo": "sample string 16",
"favicon_icon": "sample string 17"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultBase| Name | Description | Type | Additional information |
|---|---|---|---|
| result | boolean |
None. |
|
| code | integer |
None. |
|
| message | string |
None. |
|
| validated_message | Collection of string |
None. |
|
| time | string |
None. |
|
| resdata | Object |
None. |
|
| fields_not_null | Collection of string |
None. |
|
| total_items | integer |
None. |
|
| total_pages | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"result": true,
"code": 2,
"message": "sample string 3",
"validated_message": [
"sample string 1",
"sample string 2"
],
"time": "sample string 4",
"resdata": {},
"fields_not_null": [
"sample string 1",
"sample string 2"
],
"total_items": 6,
"total_pages": 7
}