POST api/archiveddocument

Request Information

URI Parameters

None.

Body Parameters

Collection of ArchivedDocument
NameDescriptionTypeAdditional information
Key

string

None.

Value

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Key": "sample string 1",
    "Value": "sample string 2"
  },
  {
    "Key": "sample string 1",
    "Value": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfArchivedDocument xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChemPoint.IT.Entity.Implementation">
  <ArchivedDocument>
    <Key>sample string 1</Key>
    <Value>sample string 2</Value>
  </ArchivedDocument>
  <ArchivedDocument>
    <Key>sample string 1</Key>
    <Value>sample string 2</Value>
  </ArchivedDocument>
</ArrayOfArchivedDocument>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ArchivedDocumentResponse
NameDescriptionTypeAdditional information
StatusCode

string

None.

Status

string

None.

Reason

string

None.

ResponseData

Collection of ArchivedDocument

None.

Response Formats

application/json, text/json

Sample:
{
  "StatusCode": "sample string 1",
  "Status": "sample string 2",
  "Reason": "sample string 3",
  "ResponseData": [
    {
      "Key": "sample string 1",
      "Value": "sample string 2"
    },
    {
      "Key": "sample string 1",
      "Value": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<ArchivedDocumentResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChemPoint.IT.Entity.Implementation">
  <Reason>sample string 3</Reason>
  <ResponseData>
    <ArchivedDocument>
      <Key>sample string 1</Key>
      <Value>sample string 2</Value>
    </ArchivedDocument>
    <ArchivedDocument>
      <Key>sample string 1</Key>
      <Value>sample string 2</Value>
    </ArchivedDocument>
  </ResponseData>
  <Status>sample string 2</Status>
  <StatusCode>sample string 1</StatusCode>
</ArchivedDocumentResponse>