POST api/KhaoSatGia/CapNhatKhaoSatGiaV2
Request Information
URI Parameters
None.
Body Parameters
DanhSachKhaoSat| Name | Description | Type | Additional information |
|---|---|---|---|
| Store | integer |
None. |
|
| NguoiDung | integer |
None. |
|
| Audit | integer |
None. |
|
| ChiTiet | Collection of DanhSachKhaoSatChiTiet |
None. |
Request Formats
application/json, text/json
Sample:
{
"Store": 1,
"NguoiDung": 2,
"Audit": 3,
"ChiTiet": [
{
"KhaoSatGia": 1,
"SanPham": 2,
"SoMieng": 3,
"Gia": 4.0,
"GiaKhuyenMai": 5.0,
"ChuongTrinhKhuyenMai": "sample string 6"
},
{
"KhaoSatGia": 1,
"SanPham": 2,
"SoMieng": 3,
"Gia": 4.0,
"GiaKhuyenMai": 5.0,
"ChuongTrinhKhuyenMai": "sample string 6"
}
]
}
application/xml, text/xml
Sample:
<KhaoSatGiaController.DanhSachKhaoSat xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Controllers">
<Audit>3</Audit>
<ChiTiet>
<KhaoSatGiaController.DanhSachKhaoSatChiTiet>
<ChuongTrinhKhuyenMai>sample string 6</ChuongTrinhKhuyenMai>
<Gia>4</Gia>
<GiaKhuyenMai>5</GiaKhuyenMai>
<KhaoSatGia>1</KhaoSatGia>
<SanPham>2</SanPham>
<SoMieng>3</SoMieng>
</KhaoSatGiaController.DanhSachKhaoSatChiTiet>
<KhaoSatGiaController.DanhSachKhaoSatChiTiet>
<ChuongTrinhKhuyenMai>sample string 6</ChuongTrinhKhuyenMai>
<Gia>4</Gia>
<GiaKhuyenMai>5</GiaKhuyenMai>
<KhaoSatGia>1</KhaoSatGia>
<SanPham>2</SanPham>
<SoMieng>3</SoMieng>
</KhaoSatGiaController.DanhSachKhaoSatChiTiet>
</ChiTiet>
<NguoiDung>2</NguoiDung>
<Store>1</Store>
</KhaoSatGiaController.DanhSachKhaoSat>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
API_Response| Name | Description | Type | Additional information |
|---|---|---|---|
| response_code | integer |
None. |
|
| response_text | string |
None. |
|
| response_description | string |
None. |
|
| response_data | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"response_code": 1,
"response_text": "sample string 2",
"response_description": "sample string 3",
"response_data": 4
}
application/xml, text/xml
Sample:
<API_Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models"> <response_code>1</response_code> <response_data>4</response_data> <response_description>sample string 3</response_description> <response_text>sample string 2</response_text> </API_Response>