POST api/Slider/create
Request Information
URI Parameters
None.
Body Parameters
SliderName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
TenHinh | string |
String length: inclusive between 0 and 200 |
|
TenHinhNho | string |
String length: inclusive between 0 and 200 |
|
Link | string |
None. |
|
STT | integer |
None. |
|
KichHoat | boolean |
None. |
|
NgayTao | string |
None. |
|
NguoiTao | string |
None. |
|
NgaySua | string |
None. |
|
NguoiSua | string |
None. |
|
DaXoa | boolean |
None. |
|
NgayXoa | string |
None. |
|
NguoiXoa | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "TenHinh": "sample string 2", "TenHinhNho": "sample string 3", "Link": "sample string 4", "STT": 1, "KichHoat": true, "NgayTao": "sample string 5", "NguoiTao": "sample string 6", "NgaySua": "sample string 7", "NguoiSua": "sample string 8", "DaXoa": true, "NgayXoa": "sample string 9", "NguoiXoa": "sample string 10" }
application/xml, text/xml
Sample:
<Slider xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LcdCNTT.Model.Models"> <DaXoa>true</DaXoa> <ID>1</ID> <KichHoat>true</KichHoat> <Link>sample string 4</Link> <NgaySua>sample string 7</NgaySua> <NgayTao>sample string 5</NgayTao> <NgayXoa>sample string 9</NgayXoa> <NguoiSua>sample string 8</NguoiSua> <NguoiTao>sample string 6</NguoiTao> <NguoiXoa>sample string 10</NguoiXoa> <STT>1</STT> <TenHinh>sample string 2</TenHinh> <TenHinhNho>sample string 3</TenHinhNho> </Slider>
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. |