This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <table border="1"> | |
| <tr> | |
| <th>Ordinal</th> | |
| <th>SendID</th> | |
| <th>SubscriberKey</th> | |
| <th>Eventhate</th> | |
| <th>EventType</th> | |
| <th>TriggeredSendDefinitionObjectID</th> | |
| <th>BatchID</th> | |
| <th>ClientID</th> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "ip": "111.100.64.10", | |
| "location": { | |
| "country": "JP", | |
| "region": "Saitama", | |
| "city": "Saitama", | |
| "lat": 35.867, | |
| "lng": 139.65, | |
| "postalCode": "337-0042", | |
| "timezone": "+09:00", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script type="javascript" runat="server"> | |
| Platform.Load("core","1"); | |
| var ip = Platform.Request.ClientIP(); | |
| var apiKey = '' //insert apiKey obtained from https://geo.ipify.org/subscriptions | |
| var url = 'https://geo.ipify.org/api/v1?apiKey='; | |
| var response = HTTP.Get(url + apiKey + ip); | |
| Write("response.Status: " + response.Status + '<br />'); | |
| Write("response.Content: " + response.Content); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script type="javascript" runat="server"> | |
| Platform.Load("core","1"); | |
| var ip = Platform.Request.ClientIP(); | |
| Write("Your IP: " + ip); | |
| </script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Your IP: %%=HTTPRequestHeader("X-Forwarded-For")=%% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script runat="server"> | |
| Platform.Load("Core","1"); | |
| var prox = new Script.Util.WSProxy(); | |
| var cols = [ | |
| "SendID", | |
| "SubscriberKey", | |
| "EventDate", | |
| "EventType", | |
| "TriggeredSendDefinitionObjectID", | |
| "BatchID", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script runat="server"> | |
| Platform.Load("Core","1"); | |
| var prox = new Script.Util.WSProxy(); | |
| var cols = [ | |
| "SendID", | |
| "SubscriberKey", | |
| "EventDate", | |
| "EventType", | |
| "TriggeredSendDefinitionObjectID", | |
| "BatchID", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> | |
| <s:Header> | |
| <a:Action s:mustUnderstand="1">Retrieve</a:Action> | |
| <a:ReplyTo> | |
| <a:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address> | |
| </a:ReplyTo> | |
| <a:To s:mustUnderstand="1">https://{{your endpoint}}.soap.marketingcloudapis.com/Service.asmx</a:To> | |
| <fueloauth xmlns="http://exacttarget.com">{{accessToken}}</fueloauth> | |
| </s:Header> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "Status":"OK", | |
| "RequestID":"abcd1234", | |
| "Results":[ | |
| { | |
| "SubscriberFailures":[ | |
| ], | |
| "NewID":0, | |
| "NewObjectID":null, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
| <Header> | |
| <fueloauth>YOUR_ACCESS_TOKEN</fueloauth> | |
| </Header> | |
| <Body> | |
| <CreateRequest xmlns="http://exacttarget.com/wsdl/partnerAPI"> | |
| <Objects xsi:type="TriggeredSend"> | |
| <PartnerKey xsi:nil="true"/> | |
| <ObjectID xsi:nil="true"/> | |
| <TriggeredSendDefinition> |