POST api/KnowledgeBank/DeleteKnowledgeBankFileByID

Documentation for 'DeleteKnowledgeBankFileByID'.

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": "sample string 1",
    "RefID": "sample string 2",
    "MediaCategory": "sample string 3",
    "MediaType": "sample string 4",
    "PictureBinary": "QEBA",
    "MimeType": "sample string 5",
    "SeoFilename": "sample string 6",
    "AltAttribute": "sample string 7",
    "TitleAttribute": "sample string 8",
    "adminID": "sample string 9",
    "FileSize": "sample string 10",
    "CreateDate": "2025-01-09T11:33:49.7574404+08:00",
    "LastUpdateDate": "2025-01-09T11:33:49.7574404+08:00"
  }
}

application/xml, text/xml

Sample:
<RequestDeleteKnowledgeBankMedia 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:AltAttribute>sample string 7</d2p1:AltAttribute>
    <d2p1:CreateDate>2025-01-09T11:33:49.7574404+08:00</d2p1:CreateDate>
    <d2p1:FileSize>sample string 10</d2p1:FileSize>
    <d2p1:ID>sample string 1</d2p1:ID>
    <d2p1:LastUpdateDate>2025-01-09T11:33:49.7574404+08:00</d2p1:LastUpdateDate>
    <d2p1:MediaCategory>sample string 3</d2p1:MediaCategory>
    <d2p1:MediaType>sample string 4</d2p1:MediaType>
    <d2p1:MimeType>sample string 5</d2p1:MimeType>
    <d2p1:PictureBinary>QEBA</d2p1:PictureBinary>
    <d2p1:RefID>sample string 2</d2p1:RefID>
    <d2p1:SeoFilename>sample string 6</d2p1:SeoFilename>
    <d2p1:TitleAttribute>sample string 8</d2p1:TitleAttribute>
    <d2p1:adminID>sample string 9</d2p1:adminID>
  </item>
</RequestDeleteKnowledgeBankMedia>

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 'RequestDeleteKnowledgeBankMedia'.