POST api/newscolumn/update
Request Information
URI Parameters
None.
Body Parameters
YmpColumnModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Name | string |
None. |
|
ColumnType | byte |
None. |
|
Sort | integer |
None. |
|
IsShowOnYmp | boolean |
None. |
|
IsShowOnExhibition | boolean |
None. |
|
ExhibitionId | integer |
None. |
|
CompanyId | integer |
None. |
|
Count | integer |
None. |
|
CategoryId | integer |
None. |
|
List | Collection of YmpColumnDetail |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "Name": "sample string 2", "ColumnType": 64, "Sort": 4, "IsShowOnYmp": true, "IsShowOnExhibition": true, "ExhibitionId": 7, "CompanyId": 8, "Count": 9, "CategoryId": 10, "List": [ { "Id": 1, "Title": "sample string 2", "Describe": "sample string 3", "NewsPic": "sample string 4", "Content": "sample string 5", "Keyword": "sample string 6" }, { "Id": 1, "Title": "sample string 2", "Describe": "sample string 3", "NewsPic": "sample string 4", "Content": "sample string 5", "Keyword": "sample string 6" } ] }
application/xml, text/xml
Sample:
<YmpColumnModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ftcb.Global.Web.Api.Controllers"> <CategoryId>10</CategoryId> <ColumnType>64</ColumnType> <CompanyId>8</CompanyId> <Count>9</Count> <ExhibitionId>7</ExhibitionId> <Id>1</Id> <IsShowOnExhibition>true</IsShowOnExhibition> <IsShowOnYmp>true</IsShowOnYmp> <List> <YmpColumnDetail> <Content>sample string 5</Content> <Describe>sample string 3</Describe> <Id>1</Id> <Keyword>sample string 6</Keyword> <NewsPic>sample string 4</NewsPic> <Title>sample string 2</Title> </YmpColumnDetail> <YmpColumnDetail> <Content>sample string 5</Content> <Describe>sample string 3</Describe> <Id>1</Id> <Keyword>sample string 6</Keyword> <NewsPic>sample string 4</NewsPic> <Title>sample string 2</Title> </YmpColumnDetail> </List> <Name>sample string 2</Name> <Sort>4</Sort> </YmpColumnModel>
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. |