POST api/donhang/ThemTinhTrangThanhToanDonHangNew
Thêm tình trạng và hình thức thanh toán nhưng phải giao hàng thì mới đk cập nhật tình trạng thanh toán
Request Information
URI Parameters
None.
Body Parameters
TinhThanhToanDH| Name | Description | Type | Additional information |
|---|---|---|---|
| idor | integer |
None. |
|
| idttthanhtoan | integer |
None. |
|
| hinhthucthanhtoan | string |
None. |
|
| title | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"idor": 1,
"idttthanhtoan": 2,
"hinhthucthanhtoan": "sample string 3",
"title": "sample string 4"
}
application/xml, text/xml
Sample:
<TinhThanhToanDH xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_KD.Models"> <hinhthucthanhtoan>sample string 3</hinhthucthanhtoan> <idor>1</idor> <idttthanhtoan>2</idttthanhtoan> <title>sample string 4</title> </TinhThanhToanDH>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />