GET api/coupa/attachments/{attachmentId}
Gets a file attachment by attachment id
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| attachmentId |
attachment Id |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
File Content in Base64 string
SuiteBridge.Models.Coupa.FileContentResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| FileName |
File name |
string |
None. |
| Contents |
File contents in Base64 string |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"FileName": "sample string 1",
"Contents": "sample string 2"
}
application/xml, text/xml
Sample:
<FileContentResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <FileName>sample string 1</FileName> <Contents>sample string 2</Contents> </FileContentResponse>