Get Security Code
This method retrieved the security tags contained in the securityCode field of the Transactional Messaging Template.
This is a GET method.
REST URL
https://atmp-pub-api-www3.actito.com/transactional-api-ws/transactionalMessages/{template ID}/securityCode
Access Authentication Requirement
This method requires Basic Access Authentication.
info
For more information on how to obtain Basic Access Authentication manually, see Manually Obtaining Basic Access Authentication for the Transactional Messaging with Attachment API
Input parameters Required parameters | Description | Output parameters | Description |
---|---|---|---|
token | (missing or bad snippet) | return | The security tags for the transactional message referenced in the call. |
Path Parameters | |||
template ID | (missing or bad snippet) |
REST Example
Input
Method Type
GET
URL
https://atmp-pub-api-www3.actito.com/transactional-api-ws/transactionalMessages/32730/securityCode
Output
Status: 200
Body for "classic" Transactional Messaging Templates
{
"UniqueRandomTag": "4D010000C75FDD7B",
"SecurityTag": "EdX7CqkmjU418SA9MKJP0YDTXEx7HK3D-kvaft9CLMerKzA"
}
Body for "attachment" Transactional Messaging Templates
{
"Tag3": "2313BA284D010000",
"Tag2": "8IOCbpcJuUnwI0Bqp5tR9A",
"Tag1": "PqFL25BOWP-pJ-08svvKzxaOjJXzcWVCg3dAAgfll6Wk8J6jhxadebPyyPnxd-Kd"
}
Error Descriptions
Error Output Format Example
{
"id": "7d7d0654-5001-43ca-9b57-b89297a4f85b",
"status": 400,
"message": "error message"
}
Error Messages
The list below shows the possible error messages for the Transactional Messaging with Attachments API:
- An internal error has occurred. Please contact the Support Team if the error persists.
- The requested resource cannot be found0.
- The credentials you entered are incorrect.
- The Authorization header is missing.
- The Authorization header is incorrectly encoded.
- Basic authentication information is missing.
- The JSON object body is either invalid or missing.
- The following fields are missing or invalid.
- You do not have the following user rights for the MESSAGE feature: 0.
- The field ''0'' is required.
- You must include either the 'apiKey' field or the 'partnerKey' field.
- The field ''0'' must be numeric.
- The length of field ''0'' is greater than 1.
- Your sender is not validated for this type of message.
- No sender found with this address 0 for this type of message.
- Parameter ''0'' too long (max {1,number,#}).
- Invalid parameter: ''0''.
- The field ''0'' contains an invalid email value.
- The body of an email message must begin with [EMV TEXTPART] OR [EMV HTMLPART].
- The Transactional Message 0 cannot be deleted because it has already been sent.
- The encoding is incorrect. Choose an encoding from this list: iso-8859-15, UTF-8, windows-1251, Big5, GB2312, EUC-KR, Shift_JIS, iso-8859-2, iso-8859-3, iso-8859-7.
- Page 0 is invalid.
- Your JSON has an invalid parameter.