HTTP (POST)

HTTP (POST) is the process of receiving event data via a HTTP POST request to a configured URL, this POST array will come from a specific IP and can be parsed by a script once recieved and used to update an integrated system. Here are examples of the data that can be retrieved and the format it takes:
Trigger Example
DELIVERYSTART

POST /[user defined end point] HTTP/1.1
Host: 
Content-Type: application/x-www-form-urlencoded
Content-Length: [variable]

type=DELIVERYSTART&
profile=TestProfile&
message_Type=EMAIL&
MessageName=AUG-2014-Deals&
Delivery_ID=989565&
List_Names[]=web%20signup&
List_Names[]=fb%20signup&
Delivery_Scheduled_Date=1437581341&
Delivery_Start_Date=143758140&
Delivery_Complete_Date=
DELIVERY

POST /[user defined end point] HTTP/1.1
Host: 
Content-Type: application/x-www-form-urlencoded
Content-Length: [variable]

type=DELIVERY&
notificationSubject=Summer%20Parties&
user=testuser&
Profile=TestProfile&
Message_Type=EMAIL&
Message_Name=AUG-2014-Deals&
Delivery_ID=989565&
List_Names[]=web%20signup&
List_Names[]=fb%20signup&
Delivery_Scheduled_Date=1437581341&
Delivery_Start_Date=143758140&
Delivery_Complete_Date=143758150&
Emails_Sent_/_Credits_Used=256545
firstName and lastName in the following are examples of the custom data field items that are returned with the event, these are all of the custom data fields associated with that recipient in the list the campaign was sent to 'Custom Field Name'='Custom Field Value' and are listed as such in the event data
OPEN

POST /[user defined end point] HTTP/1.1
Host: 
Content-Type: application/x-www-form-urlencoded
Content-Length: [variable]

type=OPEN&
Event_date=Unix Timestamp&
email=test@test.com&
mobile=44789856545&
messageName=Aug-2014-Deals&
deliveryDate=Unix timestamp&
device_type=desktopBrowser&
device_OS=Windows&
device_Browser=Chrome&
Delivery_ID=9895654
firstName=test&
lastName=test&
notificationSubject=Do%20Not%20Miss%20Out
CLICK

POST /[user defined end point] HTTP/1.1
Host: 
Content-Type: application/x-www-form-urlencoded
Content-Length: [variable]

type=CLICK&
device_type=desktopBrowser&
device_OS=Windows&
device_Browser=Chrome&
email=test@test.com&
deliveryDate=Unix timestamp&
Delivery_ID=9895654
messageName=Aug-2014-Deals&
firstName=test&
lastName=test&
notificationSubject=Do%20Not%20Miss%20Out&
Click_Url=http://www.pure360.com&
Click_Date=Unix timestamp&
mailVariationId=8989565 
BOUNCE
BLOCKED
OPTIN
OPTOUT
SOFTBOUNCE

POST /[user defined end point] HTTP/1.1
Host: 
Content-Type: application/x-www-form-urlencoded
Content-Length: [variable]


type=BOUNCE
Event_date=Unix Timestamp&
email=test@test.com&
messageName=Aug-2014-Newsletter&
deliveryDate=Unix timestamp&
device_type=desktopBrowser&
device_OS=Windows&
device_Browser=Chrome&
Delivery_ID=9895654&
firstName=test&
lastName=test
SMSFAILED
SMSOPTOUT

POST /[user defined end point] HTTP/1.1
Host: 
Content-Type: application/x-www-form-urlencoded
Content-Length: [variable]

type=SMSOPTOUT&
Event_Date=Unix timestamp
mobile=44787454212
deliveryDate=Unix timestamp&
Delivery_ID=9895654&
firstName=test&
lastName=test