Documentation

/

Quality on Demand

/

API Reference

Select an API request

Create a session | POST ../sessions

Select SDK to Download

Create a Session

POST

../sessions

DevEdge Quality on Demand API. See the API guides for more information on how to authenticate and how to request a quality of service session.


Note: You must have an active subscription in order to view the base URL.

Add Tokens

Set Paths

Authorize

Your access token

You can find this token at XYZ location.

Your PoP token

You can find this token at XYZ location.

Transaction ID

The transaction ID. Represents the API transaction, for use in debugging.

Request Schemas

SessionId

string($uuid)

Session ID in UUID Format

SessionInfo

{

Session related information.

CreateSession

{

Data type with attributes required for creating a session

Port

integer

Schema validation failed

POST

../sessions

JSON

Python

Ruby

1

2

3

4

5

6

7

8

9

10

11

curl --request POST \

--url https://{{base-url}}/sessions \

--header 'Authorization: Bearer ' \

--header 'X-Authorization: ' \

--header 'content-type: application/json' \

--header 'x-transaction-id: SOME_STRING_VALUE' \

--data '{"duration":86400,"ueId":{"externalId":"123456789@domain.com","msisdn":"123456789","ipv4addr":"192.168.0.1/24","ipv6addr":"2001:db8:85a3:8d3:1319:8a2e:370:7344"},"asId":{"ipv4addr":"192.168.0.1/24","ipv6addr":"2001:db8:85a3:8d3:1319:8a2e:370:7344"},"uePorts":{"ranges":[{"from":5010,"to":5020}],"ports":[5060,5070]},"asPorts":{"ranges":[{"from":5010,"to":5020}],"ports":[5060,5070]},"qos":"QOS_E","notificationUrl":"https://application-server.com","notificationAuthToken":"c8974e592c2fa383d4a3960714"}'

Response

JSON

Python

Ruby

1

2

3

4

5

.

.

.

.

.

{
"reasonCode": "ERR-1091",
"systemMessage": "UNAUTHORIZED",
"userMessage": "Authorization failed: ..."
}

Did you find what you were looking for?

Complete this short survey to help us improve this documentation. Your feedback is appreciated.

Not at all

Somewhat

Yes