POST api/files/count

Get count number for the files attached to documents.

Request Information

URI Parameters

None.

Body Parameters

DocumentFileCountGetDTO
NameDescriptionTypeAdditional information
InputDTO

Input DTO.

string

None.

Request Formats

application/json, text/json

Sample:
{
  "InputDTO": "sample string 1"
}

text/html

Sample:
{"InputDTO":"sample string 1"}

application/xml, text/xml

Sample:
<DocumentFileCountGetDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.WebAPI.DTOs">
  <InputDTO>sample string 1</InputDTO>
</DocumentFileCountGetDTO>

application/x-www-form-urlencoded

Sample:

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

Response Information

Resource Description

Collection of DocumentFileCountDTO
NameDescriptionTypeAdditional information
HasFiles

Does the document have uploaded files.

boolean

None.

Hash

Document URL hash.

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "HasFiles": true,
    "Hash": "sample string 2"
  },
  {
    "HasFiles": true,
    "Hash": "sample string 2"
  }
]

text/html

Sample:
[{"HasFiles":true,"Hash":"sample string 2"},{"HasFiles":true,"Hash":"sample string 2"}]

application/xml, text/xml

Sample:
<ArrayOfDocumentFileCountDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.WebAPI.DTOs">
  <DocumentFileCountDTO>
    <HasFiles>true</HasFiles>
    <Hash>sample string 2</Hash>
  </DocumentFileCountDTO>
  <DocumentFileCountDTO>
    <HasFiles>true</HasFiles>
    <Hash>sample string 2</Hash>
  </DocumentFileCountDTO>
</ArrayOfDocumentFileCountDTO>