Skip to content

Instantly share code, notes, and snippets.

View dice's full-sized avatar
🤸‍♂️
Not CartWheeling

Daisuke Don Horie dice

🤸‍♂️
Not CartWheeling
View GitHub Profile
@dice
dice / message.xml
Last active October 11, 2015 03:58
FullCourt Message PhoneXML sample
<Response>
<Message from="FullCourt" to="818012345678" statusCallback="http://www.fullcourt.co/sms_save.php">
This is a message from FullCourt
</Message>
<Speak>Your call has been received and a SMS was sent.</Speak>
<Hangup/>
</Response>
@dice
dice / message_ja.xml
Last active October 11, 2015 03:57
FullCourt Message PhoneXML ja sample
<Response>
<Message from="FullCourt" to="818012345678" statusCallback="http://www.fullcourt.co/sms_save.php">
これはFullCourtからのメッセージです。
</Message>
<Speak language="ja">SMSメッセージを送信しました。</Speak>
<Hangup/>
</Response>
@dice
dice / messageapi200.json
Created September 28, 2012 11:53
Response to FullCourt API Message
{
"Message": "Message Sent",
"Success": true,
"MessageUUID": "bde0de5e-deda-11e1-abd9-1231430384d2"
}
@dice
dice / call200.json
Created September 28, 2012 11:45
FullCourt API Call 200 Response
{
"RequestUUID": "268c5e10-c68f-11e1-a70b-12314303bcb7",
"Message": "Call Request Executed",
"Success": true
}
@dice
dice / connectapi401.html
Last active October 11, 2015 03:57
401 response to FullCourt API
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>401 Unauthorized</title>
<h1>Unauthorized</h1>
HTTP Auth Failed
@dice
dice / connectapi200.json
Last active October 11, 2015 03:57
Success response for FullCourt API
{
"RequestUUID": "3f0f2ada-c7e3-11e1-a70b-12314303bcb7",
"Message": "Call Request Executed",
"Success": true
}
@dice
dice / deleteapplication.json
Created September 28, 2012 07:23
Delete FullCourt Application response
{
"Message": "Delete Success",
"Success": true
}
@dice
dice / editapplication.json
Created September 28, 2012 07:22
Edit FullCourt Application information response
{
"Message": {
"VoiceURL": "http://dev.fullcourt.co/FullCourt-Call-Tracking/handle_incoming_call.php",
"APIVersion": "v0.1",
"DateCreated": "Mon, 11 Jun 2012 08:21:14 +0900",
"VoiceMethod": "GET",
"Sid": "PXb3854d7a7fa560479e9d490e7148c238",
"FriendlyName": "\u3066\u3059\u3068",
"AccountSid": "FC2a73d65733d71b8249e39ab4d1254414",
"DateUpdated": "Thu, 21 Jun 2012 23:08:42 +0900"
@dice
dice / applicationresources.json
Created September 28, 2012 07:18
List Application Resources Response
{
"Message": {
"VoiceURL": "http://dev.fullcourt.co/FullCourt-Call-Tracking/handle_incoming_call.php",
"APIVersion": "v0.1",
"DateCreated": "Mon, 11 Jun 2012 08:21:14 +0900",
"VoiceMethod": "GET",
"Sid": "PXb3854d7a7fa560479e9d490e7148c238",
"FriendlyName": "\u3066\u3059\u3068",
"AccountSid": "FC2a73d65733d71b8249e39ab4d1254414",
"DateUpdated": "Thu, 21 Jun 2012 23:08:42 +0900"
@dice
dice / registerapplication.json
Created September 28, 2012 07:12
Register new FullCourt Application Response
{
"Message": {
"VoiceURL": "",
"APIVersion": "",
"DateCreated": "Sun, 09 Sep 2012 23:50:02 +0900",
"VoiceMethod": "",
"Sid": "APJZMGqmZZSKlJlVEg0IO5nCD4zsSHJwLh",
"FriendlyName": "TestApplications",
"AccountSid": "FC2a73d65733d71b8249e39ab4d1254414",
"DateUpdated": "Sun, 09 Sep 2012 23:50:02 +0900"