POST api/{programid}/ConsumerReimbursements/Attachments/Download

Request Information

URI Parameters

NameDescriptionTypeAdditional information
programid

string

Required

Body Parameters

DownloadReimbursementAttachmentRequest
NameDescriptionTypeAdditional information
FileName

string

None.

FileLocation

string

None.

Request Formats

application/json, text/json

Sample:
{
  "FileName": "sample string 1",
  "FileLocation": "sample string 2"
}

application/xml, text/xml

Sample:
<DownloadReimbursementAttachmentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.WebApi.Models.Consumer">
  <FileLocation>sample string 2</FileLocation>
  <FileName>sample string 1</FileName>
</DownloadReimbursementAttachmentRequest>

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

Response Information

Resource Description

DownloadFileResponse
NameDescriptionTypeAdditional information
FileContent

Collection of byte

None.

FileName

string

None.

Response Formats

application/json, text/json

Sample:
{
  "FileContent": "QEA=",
  "FileName": "sample string 1"
}

application/xml, text/xml

Sample:
<DownloadFileResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.WebApi.Models.File">
  <FileContent>QEA=</FileContent>
  <FileName>sample string 1</FileName>
</DownloadFileResponse>