POST Core/GetAttachmentBytes
Request Information
URI Parameters
None.
Body Parameters
SecurityTokenVerifiedAttachmentRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| AttachmentId | integer |
None. |
|
| SecurityKey | string |
None. |
|
| PolicyId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"AttachmentId": 1,
"SecurityKey": "sample string 2",
"PolicyId": 3
}
application/xml, text/xml
Sample:
<SecurityTokenVerifiedAttachmentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.oneplan.co.za.Models"> <PolicyId>3</PolicyId> <SecurityKey>sample string 2</SecurityKey> <AttachmentId>1</AttachmentId> </SecurityTokenVerifiedAttachmentRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseOfByte[]| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Entity | Collection of byte |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2",
"Entity": "QEA="
}
application/xml, text/xml
Sample:
<ResponseOfbase64Binary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OnePlan.Core"> <Entity>QEA=</Entity> <Message>sample string 2</Message> <Success>true</Success> </ResponseOfbase64Binary>