See the list of vendors
HTML
<script src="http://eurica.github.io/pdjs/js/pdjs.js"></script>
<div id="output">Loading...</div>
JavaScript
// As always configure PDJS with your subdomain and api-key
PDJS = new PDJSobj({
subdomain: "8x8testing",
token: "x4y9xwukeGhzt9qKAi_S",
})
PDJS.api({
res: "services",
type: "POST",
data: {name: "New Api test 1",
escalation_policy_id: "Default",
type: "integration",
vendor_id: "PQFCJER"
},
success: function (json) {
$("#output").html("<pre>"+JSON.stringify(json, null, 2)+"</pre>")
console.log(json)
},
})