POST api/donhang/ThemTinhTrangDonHangNew1

Thêm tình trạng cho đơn hàng gồm hủy đơn hàng id=7, hoàn tất đơn hàng id=10 Dành cho giao diện mới nút hủy và hoàn tất đơn hàng Bổ sung UId của khách hàng để kiểm tra khách hàng có tồn tại trong hệ thống hay chưa 1/8/2018

Request Information

URI Parameters

None.

Body Parameters

TinhTrangDH
NameDescriptionTypeAdditional information
idor

integer

None.

iduser

integer

None.

tenkhachhang

string

None.

id

integer

None.

title

string

None.

hinhthuc

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "idor": 1,
  "iduser": 2,
  "tenkhachhang": "sample string 3",
  "id": 4,
  "title": "sample string 5",
  "hinhthuc": 6
}

application/xml, text/xml

Sample:
<TinhTrangDH xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_KD.Models">
  <hinhthuc>6</hinhthuc>
  <id>4</id>
  <idor>1</idor>
  <iduser>2</iduser>
  <tenkhachhang>sample string 3</tenkhachhang>
  <title>sample string 5</title>
</TinhTrangDH>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

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/" />