POST api/Address/InsertAddress
Request Information
URI Parameters
None.
Body Parameters
AddressInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| MaDiaChi | string |
None. |
|
| TenDiaChi | string |
None. |
|
| QuanID | integer |
None. |
|
| TinhID | integer |
None. |
|
| LoaiDiaChi | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"MaDiaChi": "sample string 1",
"TenDiaChi": "sample string 2",
"QuanID": 3,
"TinhID": 4,
"LoaiDiaChi": "sample string 5"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AddressInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| MaDiaChi | string |
None. |
|
| TenDiaChi | string |
None. |
|
| QuanID | integer |
None. |
|
| TinhID | integer |
None. |
|
| LoaiDiaChi | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"MaDiaChi": "sample string 1",
"TenDiaChi": "sample string 2",
"QuanID": 3,
"TinhID": 4,
"LoaiDiaChi": "sample string 5"
}