APIGetMessageContent


This method returns email details on the requested order
/api/plain/?type=APIGetMessageContent&[payload]&HashString=[hashstring]

URL Parameters

 Field TypeDescription
TypeStringAPI that will be called
PayloadURL_ENCODEDAn URL encoded JSON array 
HashString Varchar sha256 encoded string. Read how to create payload and hashstring 


Payload Parameters

 Field TypeDescription
Reference VarcharThe order details are required for
EmailType StringPurchaser or Participant emails (not required). By default it will return Purchaser emails


Success 200

FieldTypeDescription
SubjectVarcharSubject of the email
Content TextHTML content of the email
MemberIDIntegerID Of the member
FirstName String
SurnameString
EmailString
  •  Success-Response: 
  •     HTTP/1.1 200 OK
        {
          "Subject": "LOCALHOST NOT SENT Order Confirmation REF-200001-RGQ",
          "Content": "HTMLContent",
          "MemberID": 41,
          "FirstName": "Test",
          "Surname": "Test",
          "Email": "test@test.com"
    }

Error 4xx

FieldTypeDescription
Errorsarray() 
 - Code IntNumber of error
 - Error StringError message
  •  Error-Response: 
  •     HTTP/1.1 200 OK
        {
          "Errors": [
    	  	{"Code":"403", "Error": "No order found"},
    	  ]
        }
>