POST api/{programid}/ConsumerReimbursements/Attachments/Download
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
programid | string |
Required |
Body Parameters
DownloadReimbursementAttachmentRequestName | Description | Type | Additional 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:
Response Information
Resource Description
DownloadFileResponseName | Description | Type | Additional 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>