POST DocumentsAPI/AddDocument

Request Information

URI Parameters

None.

Body Parameters

Documents
NameDescriptionTypeAdditional information
DocumentID

integer

None.

DateAdded

date

None.

DateAddedStr

string

None.

DocumentCategory

string

None.

DocumentTitle

string

None.

GoLive

boolean

None.

DocumentDescription

string

None.

Impact

integer

None.

TheFile

string

None.

PeopleIDSender

integer

None.

PeopleIDOwner

integer

None.

TheSender

string

None.

TheOwner

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DocumentID": 1,
  "DateAdded": "2024-04-20T09:25:10.3344593+01:00",
  "DateAddedStr": "sample string 3",
  "DocumentCategory": "sample string 4",
  "DocumentTitle": "sample string 5",
  "GoLive": true,
  "DocumentDescription": "sample string 7",
  "Impact": 8,
  "TheFile": "sample string 9",
  "PeopleIDSender": 10,
  "PeopleIDOwner": 11,
  "TheSender": "sample string 12",
  "TheOwner": "sample string 13"
}

application/xml, text/xml

Sample:
<Documents xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QMA2020.Models">
  <DateAdded>2024-04-20T09:25:10.3344593+01:00</DateAdded>
  <DateAddedStr>sample string 3</DateAddedStr>
  <DocumentCategory>sample string 4</DocumentCategory>
  <DocumentDescription>sample string 7</DocumentDescription>
  <DocumentID>1</DocumentID>
  <DocumentTitle>sample string 5</DocumentTitle>
  <GoLive>true</GoLive>
  <Impact>8</Impact>
  <PeopleIDOwner>11</PeopleIDOwner>
  <PeopleIDSender>10</PeopleIDSender>
  <TheFile>sample string 9</TheFile>
  <TheOwner>sample string 13</TheOwner>
  <TheSender>sample string 12</TheSender>
</Documents>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>