Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Request parameters

Header parameters

...

  • a HTTP/1.1 413 status code with the following message:
{
    "message":"Payload Too Large"
}

or

  • a HTTP/1.1 417 status code with the following message:
{
   "message":"Request size limit exceeded"
}

Example request

$ curl -X POST -H "Accept: application/vnd.newvoicemedia.v1+json" -H "Authorization: bearer 24d80e703a037349cb4818cf7ec695cc" -d '{
  "provider": "CrmIntegration",
  "requests":
  [
      {
          "action": "dispatch",
          "requestid": "8762187187",
          "externalid": "ObjectId_001",
          "route": "CrmCallRouting",
          "linkeddata":
          [
              {"type": "clid", "value": "+44123456789"},
              {"type": "url", "label": "Click me", "value": "http://foo.bar.com"},
              {"type": "object", "owner":"Crm", "key":"Contact", "value": "500ea8787a87s87s"}
          ],
          "routingdata":
          {
              "interactiontype" : "nonlive"
          }
      }
  ]
}
' "https://***.api.newvoicemedia.com/interactions/Invoke"
HTTP/1.1 100 Continue