POST api/DocumentView/DownloadandViewDocument1

Request Information

URI Parameters

None.

Body Parameters

FileDetailsViewModel
NameDescriptionTypeAdditional information
DocumentName

string

None.

DocumentType

string

None.

filedata

Collection of byte

None.

DocumentSize

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "DocumentName": "sample string 1",
  "DocumentType": "sample string 2",
  "filedata": "QEA=",
  "DocumentSize": 3
}

application/xml, text/xml

Sample:
<FileDetailsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BILLING.API.Models">
  <DocumentName>sample string 1</DocumentName>
  <DocumentSize>3</DocumentSize>
  <DocumentType>sample string 2</DocumentType>
  <filedata>QEA=</filedata>
</FileDetailsViewModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.