POST api/SuaChienDich

Request Information

URI Parameters

None.

Body Parameters

clsChienDich
NameDescriptionTypeAdditional information
id

integer

None.

TenChienDich

string

None.

NgayTao

date

None.

GhiChu

string

None.

NhanGiaTriSo

string

None.

NhanGiaTriChu

string

None.

SoLuongDuThuong

integer

None.

NguonTao

integer

None.

DanhSachTrungThuong

Collection of clsDuThuong

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "TenChienDich": "sample string 2",
  "NgayTao": "2023-02-04T05:43:04.7120201+07:00",
  "GhiChu": "sample string 4",
  "NhanGiaTriSo": "sample string 5",
  "NhanGiaTriChu": "sample string 6",
  "SoLuongDuThuong": 7,
  "NguonTao": 8,
  "DanhSachTrungThuong": null
}

application/xml, text/xml

Sample:
<clsChienDich xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VongXoayTrungThuong">
  <DanhSachTrungThuong i:nil="true" />
  <GhiChu>sample string 4</GhiChu>
  <NgayTao>2023-02-04T05:43:04.7120201+07:00</NgayTao>
  <NguonTao>8</NguonTao>
  <NhanGiaTriChu>sample string 6</NhanGiaTriChu>
  <NhanGiaTriSo>sample string 5</NhanGiaTriSo>
  <SoLuongDuThuong>7</SoLuongDuThuong>
  <TenChienDich>sample string 2</TenChienDich>
  <id>1</id>
</clsChienDich>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.