POST api/News/UpdateNews
Documentation for 'UpdateNews'.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
request | Documentation for 'request'. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "item": { "ID": "sample string 1", "Title": "sample string 2", "Description": "sample string 3", "Discipline": "sample string 4", "AdminID": "sample string 5", "CreateDate": "2025-01-09T11:58:39.2713073+08:00", "UpdateDate": "2025-01-09T11:58:39.2713073+08:00", "enabled": 6, "deleted": 7 }, "adminID": "sample string 1" }
application/xml, text/xml
Sample:
<updateNewsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SISVServices.Models"> <adminID>sample string 1</adminID> <item xmlns:d2p1="http://schemas.datacontract.org/2004/07/SISVServicesDA.Models"> <d2p1:AdminID>sample string 5</d2p1:AdminID> <d2p1:CreateDate>2025-01-09T11:58:39.2713073+08:00</d2p1:CreateDate> <d2p1:Description>sample string 3</d2p1:Description> <d2p1:Discipline>sample string 4</d2p1:Discipline> <d2p1:ID>sample string 1</d2p1:ID> <d2p1:Title>sample string 2</d2p1:Title> <d2p1:UpdateDate>2025-01-09T11:58:39.2713073+08:00</d2p1:UpdateDate> <d2p1:deleted>7</d2p1:deleted> <d2p1:enabled>6</d2p1:enabled> </item> </updateNewsRequest>
application/x-www-form-urlencoded
Sample: