POST api/ThanhVienThemChienDich?TenDangNhap={TenDangNhap}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
TenDangNhap | string |
Required |
Body Parameters
clsChienDichName | Description | Type | Additional 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-04T06:49:59.0691019+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-04T06:49:59.0691019+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
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |