POST Core/GetEmailAttachments
Request Information
URI Parameters
None.
Body Parameters
SecurityTokenVerifiedActivityRequestName | Description | Type | Additional information |
---|---|---|---|
ActivityId | integer |
None. |
|
SecurityKey | string |
None. |
|
PolicyId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ActivityId": 1, "SecurityKey": "sample string 2", "PolicyId": 3 }
application/xml, text/xml
Sample:
<SecurityTokenVerifiedActivityRequest 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> <ActivityId>1</ActivityId> </SecurityTokenVerifiedActivityRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseOfListOfEmailAttachmentName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Message | string |
None. |
|
Entity | Collection of EmailAttachment |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Message": "sample string 2", "Entity": [ { "Id": 1, "CreatedDateTime": "2025-05-14T00:20:29.0728769+02:00", "CreatedBy": "sample string 3", "Filename": "sample string 4", "FilePath": "sample string 5" }, { "Id": 1, "CreatedDateTime": "2025-05-14T00:20:29.0728769+02:00", "CreatedBy": "sample string 3", "Filename": "sample string 4", "FilePath": "sample string 5" } ] }
application/xml, text/xml
Sample:
<ResponseOfArrayOfEmailAttachmentlP_S41WJs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OnePlan.Core"> <Entity xmlns:d2p1="http://schemas.datacontract.org/2004/07/api.oneplan.co.za.Models"> <d2p1:EmailAttachment> <d2p1:CreatedBy>sample string 3</d2p1:CreatedBy> <d2p1:CreatedDateTime>2025-05-14T00:20:29.0728769+02:00</d2p1:CreatedDateTime> <d2p1:FilePath>sample string 5</d2p1:FilePath> <d2p1:Filename>sample string 4</d2p1:Filename> <d2p1:Id>1</d2p1:Id> </d2p1:EmailAttachment> <d2p1:EmailAttachment> <d2p1:CreatedBy>sample string 3</d2p1:CreatedBy> <d2p1:CreatedDateTime>2025-05-14T00:20:29.0728769+02:00</d2p1:CreatedDateTime> <d2p1:FilePath>sample string 5</d2p1:FilePath> <d2p1:Filename>sample string 4</d2p1:Filename> <d2p1:Id>1</d2p1:Id> </d2p1:EmailAttachment> </Entity> <Message>sample string 2</Message> <Success>true</Success> </ResponseOfArrayOfEmailAttachmentlP_S41WJs>