POST Core/GetEmailActivity

Request Information

URI Parameters

None.

Body Parameters

SecurityTokenVerifiedActivityRequest
NameDescriptionTypeAdditional 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

ResponseOfEmailActivity
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Entity

EmailActivity

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "Entity": {
    "Id": 1,
    "CreatedDateTime": "2025-05-13T22:54:49.07308+02:00",
    "CreatedBy": "sample string 3",
    "From": "sample string 4",
    "To": "sample string 5",
    "Subject": "sample string 6",
    "Body": "sample string 7",
    "StatusId": 8,
    "Status": "sample string 9",
    "IsHtml": true
  }
}

application/xml, text/xml

Sample:
<ResponseOfEmailActivitylP_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:Body>sample string 7</d2p1:Body>
    <d2p1:CreatedBy>sample string 3</d2p1:CreatedBy>
    <d2p1:CreatedDateTime>2025-05-13T22:54:49.07308+02:00</d2p1:CreatedDateTime>
    <d2p1:From>sample string 4</d2p1:From>
    <d2p1:Id>1</d2p1:Id>
    <d2p1:IsHtml>true</d2p1:IsHtml>
    <d2p1:Status>sample string 9</d2p1:Status>
    <d2p1:StatusId>8</d2p1:StatusId>
    <d2p1:Subject>sample string 6</d2p1:Subject>
    <d2p1:To>sample string 5</d2p1:To>
  </Entity>
  <Message>sample string 2</Message>
  <Success>true</Success>
</ResponseOfEmailActivitylP_S41WJs>