PUT api/PortalAdmin/NewsType/Update
Request Information
URI Parameters
None.
Body Parameters
NewsType_BinddingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PortalId | integer |
Required |
|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"portalId": 1,
"id": 2,
"name": "sample string 3",
"description": "sample string 4"
}
application/xml, text/xml
Sample:
<NewsType_BinddingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgencyWebAPI.Models.Portal"> <Description>sample string 4</Description> <Id>2</Id> <Name>sample string 3</Name> <PortalId>1</PortalId> </NewsType_BinddingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.