POST api/FileUpload/GetPaymentDocument
Request Information
URI Parameters
None.
Body Parameters
GetPaymentRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| SubsidiaryId | integer |
None. |
|
| DocumentUrl | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"SubsidiaryId": 1,
"DocumentUrl": "sample string 2"
}
application/xml, text/xml
Sample:
<GetPaymentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tesla.FbnIntegrator.CustomObject"> <DocumentUrl>sample string 2</DocumentUrl> <SubsidiaryId>1</SubsidiaryId> </GetPaymentRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetPaymentDoc| Name | Description | Type | Additional information |
|---|---|---|---|
| FileByte | Collection of byte |
None. |
|
| FileType | string |
None. |
|
| Success | boolean |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"FileByte": "QEA=",
"FileType": "sample string 1",
"Success": true,
"Message": "sample string 3"
}
application/xml, text/xml
Sample:
<GetPaymentDoc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tesla.FbnIntegrator.CustomObject"> <Message>sample string 3</Message> <Success>true</Success> <FileByte>QEA=</FileByte> <FileType>sample string 1</FileType> </GetPaymentDoc>