POST api/Circular/UpdateCircular

Documentation for 'UpdateCircular'.

Request Information

Parameters

NameDescriptionAdditional information
request
Documentation for 'request'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "item": {
    "id": 1,
    "title": "sample string 2",
    "description": "sample string 3",
    "discipline": "sample string 4",
    "publisher": "sample string 5",
    "type": "sample string 6",
    "contentType": "sample string 7",
    "filename": "sample string 8",
    "url": "sample string 9",
    "enable": 10,
    "deleted": 11,
    "visible": "sample string 12",
    "createDate": "2025-01-09T11:52:02.5362586+08:00",
    "updateDate": "2025-01-09T11:52:02.5362586+08:00",
    "displayDate": "2025-01-09T11:52:02.5362586+08:00",
    "adminID": "sample string 16"
  }
}

application/xml, text/xml

Sample:
<updateCircularRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SISVServices.Models">
  <item xmlns:d2p1="http://schemas.datacontract.org/2004/07/SISVServicesDA.Models">
    <d2p1:adminID>sample string 16</d2p1:adminID>
    <d2p1:contentType>sample string 7</d2p1:contentType>
    <d2p1:createDate>2025-01-09T11:52:02.5362586+08:00</d2p1:createDate>
    <d2p1:deleted>11</d2p1:deleted>
    <d2p1:description>sample string 3</d2p1:description>
    <d2p1:discipline>sample string 4</d2p1:discipline>
    <d2p1:displayDate>2025-01-09T11:52:02.5362586+08:00</d2p1:displayDate>
    <d2p1:enable>10</d2p1:enable>
    <d2p1:filename>sample string 8</d2p1:filename>
    <d2p1:id>1</d2p1:id>
    <d2p1:publisher>sample string 5</d2p1:publisher>
    <d2p1:title>sample string 2</d2p1:title>
    <d2p1:type>sample string 6</d2p1:type>
    <d2p1:updateDate>2025-01-09T11:52:02.5362586+08:00</d2p1:updateDate>
    <d2p1:url>sample string 9</d2p1:url>
    <d2p1:visible>sample string 12</d2p1:visible>
  </item>
</updateCircularRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedMediaTypeFormatterTracer' to write type 'updateCircularRequest'.