Skip to content

Instantly share code, notes, and snippets.

ismaelc

Block or report user

Report or block ismaelc

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Itinerary_POST.json
{
"method": "POST",
"url": "https://www.concursolutions.com/api/travel/trip/v1.1",
"httpVersion": "HTTP/1.1",
"headers": [{
"name": "Authorization",
"value": "OAuth <token>"
}, {
"name": "Content-Type",
"value": "text/xml"
@ismaelc
ismaelc / Overhead Compartment Bin .js
Last active Aug 29, 2015
Rough quick demo for Thack Tnooz - Overhead Compartment Bin Map
View Overhead Compartment Bin .js
var express = require('express');
var app = express();
var seatMap = [
["O","X","Y","N"],
["Y","X","O","O"],
["N","X","Y","Y"],
["N","N","X","O"],
["O","X","Y","N"],
["Y","X","O","O"],
@ismaelc
ismaelc / ConcurAppRecommendation.js
Created Jun 10, 2015
Rough concept for app recommendation engine powered by Concur Itinerary
View ConcurAppRecommendation.js
var express = require('express');
var app = express();
var async = require('async');
var gplay = require('google-play-scraper');
var querystring = require('querystring');
var https = require('https');
app.set('port', (process.env.PORT || 5000));
@ismaelc
ismaelc / concurrevoke.json
Created May 14, 2015
Revoking access token APIEmbed HAR request object
View concurrevoke.json
{
"method": "POST",
"url": "https://www.concursolutions.com/net2/oauth2/revoketoken.ashx",
"queryString": [
{ "name": "token", "value": "<insert access token>" }
],
"headers": [
{ "name": "Accept", "value": "application/xml" },
{ "name": "Authorization", "value": "OAuth <insert access token>" }
]
View nexmo2.xml
<?xml version="1.0" encoding="UTF-8"?>
<vxml version = "2.1">
<form>
<transfer name="result" dest="tel:+16192071673" bridge="true">
<prompt>Please wait while we transfer you.</prompt>
<grammar xml:lang="en-US" root = "TOPLEVEL" mode="voice">
<rule id="TOPLEVEL" scope="public">
<one-of>
<item> disconnect </item>
</one-of>
View nexmo.xml
<?xml version="1.0" encoding="UTF-8"?>
<vxml version = "2.1" >
<form>
<block>
<prompt>
Hello.
</prompt>
<audio src="http://www.freesfx.co.uk/rx2/mp3s/9/10778_1380921485.mp3"/>
<prompt xml:lang="es-mx-female">
Hola.
View Concur_Native_Flow.json
{
"method": "GET",
"url": "https://www.concursolutions.com/net2/oauth2/accesstoken.ashx",
"headers": [{
"name": "X-ConsumerKey",
"value": "o3G7Xb35ZCBAs88NSQpM3i"
},{
"name": "Authorization",
"value": "Basic Y2hyaXMuaXNtYWVsQGdtYWlsLmNvbTpqVm16SHc1Nyo="
},{
View GET_Expense_Report_Digest.json
{
"method": "GET",
"url": "https://www.concursolutions.com/api/v3.0/expense/reportdigests",
"headers": [{
"name": "Authorization",
"value": "OAuth <insert your access token here>"
},{
"name": "Accept",
"value": "application/json"
}]
View GET_Itinerary_List.json
{
"method": "GET",
"url": "https://www.concursolutions.com/api/travel/trip/v1.1",
"headers": [{
"name": "Authorization",
"value": "OAuth <insert your access token here>"
}]
}
View POST_sample.json
{
"method": "POST",
"url": "http://mockbin.com/request",
"httpVersion": "HTTP/1.1",
"queryString": [{
"name": "foo",
"value": "bar"
}, {
"name": "foo",
"value": "baz"
You can’t perform that action at this time.