BASE_URL: https://api1.host-tracker.com
[0,5,15,30,60,180,720]
<ArrayOfInt xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<int>0</int>
<int>5</int>
<int>15</int>
<int>30</int>
<int>60</int>
<int>180</int>
<int>720</int>
</ArrayOfInt>
["clickatell","clickatella","infobip","skype","twiliosms"]
<ArrayOfString xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<string>clickatell</string>
<string>clickatella</string>
<string>infobip</string>
<string>skype</string>
<string>twiliosms</string>
</ArrayOfString>
["GTalk","SkypeChat"]
<ArrayOfString xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<string>GTalk</string>
<string>SkypeChat</string>
</ArrayOfString>
GET BASE_URL/contacts?acceptBillingNotifications=True HTTP/1.1
User-Agent: Fiddler
Content-Type: application/json
Host: www.host-tracker.com
Authorization: bearer <your token here>
GET BASE_URL/contacts?address=test@mail.com HTTP/1.1
User-Agent: Fiddler
Content-Type: application/json
Host: www.host-tracker.com
Authorization: bearer <your token here>
GET BASE_URL/contacts?addresses=test@mail.com&addresses=
1122334455 HTTP/1.1
User-Agent: Fiddler
Content-Type: application/json
Host: www.host-tracker.com
Authorization: bearer <your token here>
GET BASE_URL/contacts?contactType=SMS HTTP/1.1
User-Agent: Fiddler
Content-Type: application/json
Host: www.host-tracker.com
Authorization: bearer <your token here>
GET BASE_URL/contacts?confirmed=True HTTP/1.1
User-Agent: Fiddler
Content-Type: application/json
Host: www.host-tracker.com
Authorization: bearer <your token here>
GET BASE_URL/contacts?addresses=3333333334&addresses=222222221&addresses="gord_den+5@gmail.com"&excludeAddresses=True HTTP/1.1
User-Agent: Fiddler
Content-Type: application/json
Host: www.host-tracker.com
Authorization: bearer <your token here>
GET BASE_URL/contacts?ids=092a2bc9-58d1-e411-80c3
-00155d36955e&ids=695dc35a-59d1-e411-80c3-00155d36955e HTTP/1.1
User-Agent: Fiddler
Content-Type: application/json
Host: www.host-tracker.com
Authorization: bearer <your token here>
GET BASE_URL/contacts?overlimited=False HTTP/1.1
User-Agent: Fiddler
Content-Type: application/json
Host: www.host-tracker.com
Authorization: bearer <your token here>
[
{
"id":"Contact id",
"address":"Contact address",
"confirmed":"True or false"
"contactType":"Type of contact",
"name":"Name of contact",
"sendCost":"Cost to send",
"alertDelay":"Delay of alert",
"activePeriodStart":"Start of active period",
"activePeriodEnd":"End of active period",
"activeDays":"Active days",
"billingOverlimit":Billing overlimit here,
"subscriptions":"Subscriptions here",
"reportFormat":"Format of report",
"sendNews":"True or false",
"sendPressRelease":"True or false",
"sendBillingNotifications":"True or false"
}
]
<ArrayOfContact xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Contact xsi:type="EmailContact">
<id>Contact id</id>
<confirmed>True or false</confirmed>
<contactType>Type of contact</contactType>
<name>Name</name>
<address>Contact address</address>
<sendCost>Cost to send</sendCost>
<alertDelay>Delay of alerts</alertDelay>
<activePeriodStart />
<activePeriodEnd />
<billingOverlimit />
<subscriptions />
<reportFormat>Format of report</reportFormat>
<sendNews>True or false</sendNews>
<sendPressRelease>True or false</sendPressRelease>
<sendBillingNotifications>True or false</sendBillingNotifications>
</Contact>
</ArrayOfContact>
GET BASE_URL/contacts/092a2bc9-58d1-e411-80c3-00155d36955e HTTP/1.1
User-Agent: Fiddler
Content-Type: application/json
Host: www.host-tracker.com
Content-Length: 0
Authorization: bearer
{"address":"example@example.com","name":"name of you contact"}
<EmailContactEditableData>
<address>
example@example.com
</address>
<name>
name of your contact
</name>
</EmailContactEditableData>
{"address":"number","name":"name of you contact","gateway":"type of gateway"}
<SmsContactEditableData>
<address>399494543</address>
<name>name of you contact4</name>
<gateway>clickatell</gateway>
</SmsContactEditableData>
{"address":"123api", "name":"im contact","gateway":"SkypeChat"}
<IMContactEditableData>
<address>123api2</address>
<name>im contact2</name>
<gateway>SkypeChat</gateway>
</IMContactEditableData>
{
"address":"123123123",
"name":"voice contact",
"gateway":"twiliovoice"
}
<VoiceCallEditableData>
<address>1231231232</address>
<name>voice contact2</name>
<gateway>twiliovoice</gateway>
</VoiceCallEditableData>
PUT BASE_URL/contacts/email/id of contact HTTP/1.1
User-Agent: Fiddler
Content-Type: application/json
Host: www.host-tracker.com
Authorization: bearer your ticket here
{"reportFormat":"ShortText"}
PUT BASE_URL/contacts/email/id of contact HTTP/1.1
User-Agent: Fiddler
Content-Type: text/xml
Host: www.host-tracker.com
Authorization: bearer your ticket here
<EmailContactEditableData>
<reportFormat>report format, see</reportFormat>
<sendNews>1 or 0</sendNews>
</EmailContactEditableData>
{"address":"222222221","name":"sms contact2","gateway":"twiliosms"}
PUT BASE_URL/contacts/sms/092a2bc9-58d1-e411-80c3-00155d36955e HTTP/1.1
User-Agent: Fiddler
Content-Type: text/xml
Host: www.host-tracker.com
Authorization: bearer
<SmsContactEditableData>
<gateway>clickatell</gateway>
</SmsContactEditableData>
PUT BASE_URL/contacts/im/695dc35a-59d1-e411-80c3-00155d36955e HTTP/1.1
User-Agent: Fiddler
Content-Type: application/json
Host: www.host-tracker.com
Authorization: bearer
Content-Length: 79
{"address":"222222224","name":"im contact2","gateway":"GTalk"}
PUT BASE_URL/contacts/im/695dc35a-59d1-e411-80c3-00155d36955e HTTP/1.1
User-Agent: Fiddler
Content-Type: text/xml
Host: www.host-tracker.com
Authorization: bearer
<IMContactEditableData>
<gateway>SkypeChat</gateway>
</IMContactEditableData>
DELETE BASE_URL/contacts/id of contact HTTP/1.1
User-Agent: Fiddler
Content-Type: application/json
Host: www.host-tracker.com
Authorization: bearer your ticket here
POST BASE_URL/contacts/id of contact/code HTTP/1.1
User-Agent: Fiddler
Content-Type: application/json
Host: www.host-tracker.com
Authorization: bearer your token here
{"code":"64700"}
POST BASE_URL/contacts/7cb19b17-6bd9-e411-80c3-00155d36955e/code HTTP/1.1
User-Agent: Fiddler
Content-Type: text/xml
Host: www.host-tracker.com
Authorization: bearer
<ContactCode>
<contactId>7cb19b17-6bd9-e411-80c3-00155d36955e</contactId>
<code>22934</code>
</ContactCode>
PATCH BASE_URL/contacts/id of contact/code HTTP/1.1
User-Agent: Fiddler
Content-Type: text/xml
Host: www.host-tracker.com
Authorization: bearer your token here