POST api/KnowledgeBank/addKnowledgeBank

Documentation for 'addKnowledgeBank'.

Request Information

Parameters

NameDescriptionAdditional information
item
Documentation for 'item'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "item": {
    "id": "sample string 1",
    "eventID": "sample string 2",
    "title": "sample string 3",
    "division": "sample string 4",
    "displayDate": "sample string 5",
    "enabled": "sample string 6",
    "deleted": "sample string 7",
    "status": "sample string 8",
    "startDate": "2025-01-09T11:34:12.7016615+08:00",
    "endDate": "2025-01-09T11:34:12.7016615+08:00",
    "createdDate": "2025-01-09T11:34:12.7016615+08:00",
    "updatedDate": "2025-01-09T11:34:12.7026644+08:00",
    "adminID": "sample string 9",
    "files": [
      {
        "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:34:12.7026644+08:00",
        "LastUpdateDate": "2025-01-09T11:34:12.7026644+08:00"
      },
      {
        "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:34:12.7026644+08:00",
        "LastUpdateDate": "2025-01-09T11:34:12.7026644+08:00"
      },
      {
        "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:34:12.7026644+08:00",
        "LastUpdateDate": "2025-01-09T11:34:12.7026644+08:00"
      }
    ],
    "session": {
      "sessionID": "sample string 1",
      "sessionStart": "2025-01-09T11:34:12.7026644+08:00",
      "sessionEnd": "2025-01-09T11:34:12.7026644+08:00"
    }
  }
}

application/xml, text/xml

Sample:
<ResponseKnowledgeBank 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 9</d2p1:adminID>
    <d2p1:createdDate>2025-01-09T11:34:12.7016615+08:00</d2p1:createdDate>
    <d2p1:deleted>sample string 7</d2p1:deleted>
    <d2p1:displayDate>sample string 5</d2p1:displayDate>
    <d2p1:division>sample string 4</d2p1:division>
    <d2p1:enabled>sample string 6</d2p1:enabled>
    <d2p1:endDate>2025-01-09T11:34:12.7016615+08:00</d2p1:endDate>
    <d2p1:eventID>sample string 2</d2p1:eventID>
    <d2p1:files>
      <d2p1:media>
        <d2p1:AltAttribute>sample string 7</d2p1:AltAttribute>
        <d2p1:CreateDate>2025-01-09T11:34:12.7026644+08:00</d2p1:CreateDate>
        <d2p1:FileSize>sample string 10</d2p1:FileSize>
        <d2p1:ID>sample string 1</d2p1:ID>
        <d2p1:LastUpdateDate>2025-01-09T11:34:12.7026644+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>
      </d2p1:media>
      <d2p1:media>
        <d2p1:AltAttribute>sample string 7</d2p1:AltAttribute>
        <d2p1:CreateDate>2025-01-09T11:34:12.7026644+08:00</d2p1:CreateDate>
        <d2p1:FileSize>sample string 10</d2p1:FileSize>
        <d2p1:ID>sample string 1</d2p1:ID>
        <d2p1:LastUpdateDate>2025-01-09T11:34:12.7026644+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>
      </d2p1:media>
      <d2p1:media>
        <d2p1:AltAttribute>sample string 7</d2p1:AltAttribute>
        <d2p1:CreateDate>2025-01-09T11:34:12.7026644+08:00</d2p1:CreateDate>
        <d2p1:FileSize>sample string 10</d2p1:FileSize>
        <d2p1:ID>sample string 1</d2p1:ID>
        <d2p1:LastUpdateDate>2025-01-09T11:34:12.7026644+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>
      </d2p1:media>
    </d2p1:files>
    <d2p1:id>sample string 1</d2p1:id>
    <d2p1:session>
      <d2p1:sessionEnd>2025-01-09T11:34:12.7026644+08:00</d2p1:sessionEnd>
      <d2p1:sessionID>sample string 1</d2p1:sessionID>
      <d2p1:sessionStart>2025-01-09T11:34:12.7026644+08:00</d2p1:sessionStart>
    </d2p1:session>
    <d2p1:startDate>2025-01-09T11:34:12.7016615+08:00</d2p1:startDate>
    <d2p1:status>sample string 8</d2p1:status>
    <d2p1:title>sample string 3</d2p1:title>
    <d2p1:updatedDate>2025-01-09T11:34:12.7026644+08:00</d2p1:updatedDate>
  </item>
</ResponseKnowledgeBank>

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