Ticket v1.0
Manage Tickets which allow customers to safe api access
You are viewing REST API documentation. This documentation is auto-generated from a swagger specification which itself is generated from annotations in the source code of the project. It is possible that this documentation includes bugs and that code samples are incomplete or wrong.
Authentication
OAuth 2.0 Authorization. Authenticate using client credentials
Flow: clientCredentials
OAuth 2.0 Authorization URL = https://auvious.video/security/oauth/authorize
OAuth 2.0 Token URL = https://auvious.video/security/oauth/token
OAuth 2.0 Scope
Scope Scope Description any this is the default
HTTP Authentication, scheme: bearer jwt bearer token access
Tickets
Ticket Controller
Create a ticket
POST https://auvious.video:443/security/ticket HTTP/1.1
Host: auvious.video:443
Content-Type: application/json
Accept: application/json
Create a new ticket. It defines what will be the username and to which conference the user will have access to. The ticket will be deleted once it's used once to obtain a token
Request body
{
"disabled": true,
"length": 0,
"organizationId": "string",
"properties": {},
"type": "APPOINTMENTS_SCHEDULE_TICKET"
}
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
authenticated | query | boolean | false | none |
authorities[0].authority | query | string | false | none |
credentials | query | object | false | none |
details | query | object | false | none |
principal | query | object | false | none |
body | body | CreateTicketWebCommand | false | none |
Responses
Overview
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | Ticket |
201 | Created | Created | None |
401 | Unauthorized | Unauthorized | None |
403 | Forbidden | Forbidden | None |
404 | Not Found | Not Found | None |
Examples
200 Response
{
"createdAt": "2019-08-24T14:15:22Z",
"disabled": "2019-08-24T14:15:22Z",
"expired": true,
"expiresAt": "2019-08-24T14:15:22Z",
"id": "string",
"organizationId": "string",
"properties": {},
"revoked": "2019-08-24T14:15:22Z",
"type": "APPOINTMENTS_SCHEDULE_TICKET",
"userId": "string",
"version": 0
}
To perform this operation, you must be authenticated by means of one of the following methods: Client Credentials Flow ( Scopes: global ), Jwt ( Scopes: global ), None ( Scopes: global ), None ( Scopes: global ), None ( Scopes: global )
Code samples
- Shell
- Go
- Node
- Java
- Python
- Ruby
curl -X POST https://auvious.video:443/security/ticket \
-H 'Content-Type: application/json' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer {access-token}'
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Content-Type": []string{"application/json"},
"Accept": []string{"application/json"},
"Authorization": []string{"Bearer {access-token}"},
}
var body []byte
// body = ...
req, err := http.NewRequest("POST", "https://auvious.video:443/security/ticket", bytes.NewBuffer(body))
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
const fetch = require('node-fetch');
const input = '{
"disabled": true,
"length": 0,
"organizationId": "string",
"properties": {},
"type": "APPOINTMENTS_SCHEDULE_TICKET"
}';
const headers = {
'Content-Type': 'application/json', 'Accept': 'application/json', 'Authorization': 'Bearer {access-token}'
}
fetch('https://auvious.video:443/security/ticket', {
method: 'POST',
body: input,
headers
})
.then(r => r.json())
.then((body) => {
console.log(body)
})
// This sample needs improvement.
URL obj = new URL("https://auvious.video:443/security/ticket");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("POST");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream())
);
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
import requests
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json',
'Authorization': 'Bearer {access-token}'
}
r = requests.post(
'https://auvious.video:443/security/ticket',
params={},
headers = headers)
print r.json()
require 'rest-client'
require 'json'
headers = {
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.post 'https://auvious.video:443/security/ticket',
params: {}, headers: headers
p JSON.parse(result)
Get a ticket.
GET https://auvious.video:443/security/ticket/{ticketId} HTTP/1.1
Host: auvious.video:443
Accept: */*
Get a ticket.
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
ticketId | path | string | true | ticketId |
Responses
Overview
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | Ticket |
401 | Unauthorized | Unauthorized | None |
403 | Forbidden | Forbidden | None |
404 | Not Found | Not Found | None |
Examples
200 Response
To perform this operation, you must be authenticated by means of one of the following methods: Client Credentials Flow ( Scopes: global ), Jwt ( Scopes: global ), None ( Scopes: global ), None ( Scopes: global ), None ( Scopes: global )
Code samples
- Shell
- Go
- Node
- Java
- Python
- Ruby
curl -X GET https://auvious.video:443/security/ticket/{ticketId} \
-H 'Accept: */*' \ -H 'Authorization: Bearer {access-token}'
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"*/*"},
"Authorization": []string{"Bearer {access-token}"},
}
var body []byte
// body = ...
req, err := http.NewRequest("GET", "https://auvious.video:443/security/ticket/{ticketId}", bytes.NewBuffer(body))
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
const fetch = require('node-fetch');
const headers = {
'Accept': '*/*', 'Authorization': 'Bearer {access-token}'
}
fetch('https://auvious.video:443/security/ticket/{ticketId}', {
method: 'GET',
headers
})
.then(r => r.json())
.then((body) => {
console.log(body)
})
// This sample needs improvement.
URL obj = new URL("https://auvious.video:443/security/ticket/{ticketId}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream())
);
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
import requests
headers = {
'Accept': '*/*',
'Authorization': 'Bearer {access-token}'
}
r = requests.get(
'https://auvious.video:443/security/ticket/{ticketId}',
params={},
headers = headers)
print r.json()
require 'rest-client'
require 'json'
headers = {
'Accept' => '*/*',
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.get 'https://auvious.video:443/security/ticket/{ticketId}',
params: {}, headers: headers
p JSON.parse(result)
Update a ticket
PUT https://auvious.video:443/security/ticket/{ticketId} HTTP/1.1
Host: auvious.video:443
Content-Type: application/json
Accept: application/json
Update a ticket with new properties. The ticket will be modified according to the provided properties.
Request body
{
"organizationId": "string",
"properties": {}
}
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
authenticated | query | boolean | false | none |
authorities[0].authority | query | string | false | none |
credentials | query | object | false | none |
details | query | object | false | none |
principal | query | object | false | none |
ticketId | path | string | true | ticketId |
body | body | UpdateTicketWebCommand | false | none |
Responses
Overview
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | Ticket |
201 | Created | Created | None |
401 | Unauthorized | Unauthorized | None |
403 | Forbidden | Forbidden | None |
404 | Not Found | Not Found | None |
Examples
200 Response
{
"createdAt": "2019-08-24T14:15:22Z",
"disabled": "2019-08-24T14:15:22Z",
"expired": true,
"expiresAt": "2019-08-24T14:15:22Z",
"id": "string",
"organizationId": "string",
"properties": {},
"revoked": "2019-08-24T14:15:22Z",
"type": "APPOINTMENTS_SCHEDULE_TICKET",
"userId": "string",
"version": 0
}
To perform this operation, you must be authenticated by means of one of the following methods: Client Credentials Flow ( Scopes: global ), Jwt ( Scopes: global ), None ( Scopes: global ), None ( Scopes: global ), None ( Scopes: global )
Code samples
- Shell
- Go
- Node
- Java
- Python
- Ruby
curl -X PUT https://auvious.video:443/security/ticket/{ticketId} \
-H 'Content-Type: application/json' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer {access-token}'
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Content-Type": []string{"application/json"},
"Accept": []string{"application/json"},
"Authorization": []string{"Bearer {access-token}"},
}
var body []byte
// body = ...
req, err := http.NewRequest("PUT", "https://auvious.video:443/security/ticket/{ticketId}", bytes.NewBuffer(body))
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
const fetch = require('node-fetch');
const input = '{
"organizationId": "string",
"properties": {}
}';
const headers = {
'Content-Type': 'application/json', 'Accept': 'application/json', 'Authorization': 'Bearer {access-token}'
}
fetch('https://auvious.video:443/security/ticket/{ticketId}', {
method: 'PUT',
body: input,
headers
})
.then(r => r.json())
.then((body) => {
console.log(body)
})
// This sample needs improvement.
URL obj = new URL("https://auvious.video:443/security/ticket/{ticketId}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("PUT");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream())
);
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
import requests
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json',
'Authorization': 'Bearer {access-token}'
}
r = requests.put(
'https://auvious.video:443/security/ticket/{ticketId}',
params={},
headers = headers)
print r.json()
require 'rest-client'
require 'json'
headers = {
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.put 'https://auvious.video:443/security/ticket/{ticketId}',
params: {}, headers: headers
p JSON.parse(result)
Delete a ticket.
DELETE https://auvious.video:443/security/ticket/{ticketId} HTTP/1.1
Host: auvious.video:443
Delete a ticket. Optional operation, use it to delete a token early, before it's used or expired
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
ticketId | path | string | true | ticketId |
Responses
Overview
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | None |
204 | No Content | No Content | None |
401 | Unauthorized | Unauthorized | None |
403 | Forbidden | Forbidden | None |
To perform this operation, you must be authenticated by means of one of the following methods: Client Credentials Flow ( Scopes: global ), Jwt ( Scopes: global ), None ( Scopes: global ), None ( Scopes: global ), None ( Scopes: global )
Code samples
- Shell
- Go
- Node
- Java
- Python
- Ruby
curl -X DELETE https://auvious.video:443/security/ticket/{ticketId} \
-H 'Authorization: Bearer {access-token}'
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Authorization": []string{"Bearer {access-token}"},
}
var body []byte
// body = ...
req, err := http.NewRequest("DELETE", "https://auvious.video:443/security/ticket/{ticketId}", bytes.NewBuffer(body))
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
const fetch = require('node-fetch');
const headers = {
'Authorization': 'Bearer {access-token}'
}
fetch('https://auvious.video:443/security/ticket/{ticketId}', {
method: 'DELETE',
headers
})
.then(r => r.json())
.then((body) => {
console.log(body)
})
// This sample needs improvement.
URL obj = new URL("https://auvious.video:443/security/ticket/{ticketId}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("DELETE");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream())
);
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
import requests
headers = {
'Authorization': 'Bearer {access-token}'
}
r = requests.delete(
'https://auvious.video:443/security/ticket/{ticketId}',
params={},
headers = headers)
print r.json()
require 'rest-client'
require 'json'
headers = {
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.delete 'https://auvious.video:443/security/ticket/{ticketId}',
params: {}, headers: headers
p JSON.parse(result)
Disable a ticket
POST https://auvious.video:443/security/ticket/{ticketId}/disable HTTP/1.1
Host: auvious.video:443
Disable a ticket. If someone tries to use this ticket he will get 'error_description'='DISABLED'
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
ticketId | path | string | true | ticketId |
Responses
Overview
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | None |
201 | Created | Created | None |
204 | No Content | No Content | None |
401 | Unauthorized | Unauthorized | None |
403 | Forbidden | Forbidden | None |
404 | Not Found | Not Found | None |
To perform this operation, you must be authenticated by means of one of the following methods: Client Credentials Flow ( Scopes: global ), Jwt ( Scopes: global ), None ( Scopes: global ), None ( Scopes: global ), None ( Scopes: global )
Code samples
- Shell
- Go
- Node
- Java
- Python
- Ruby
curl -X POST https://auvious.video:443/security/ticket/{ticketId}/disable \
-H 'Authorization: Bearer {access-token}'
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Authorization": []string{"Bearer {access-token}"},
}
var body []byte
// body = ...
req, err := http.NewRequest("POST", "https://auvious.video:443/security/ticket/{ticketId}/disable", bytes.NewBuffer(body))
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
const fetch = require('node-fetch');
const headers = {
'Authorization': 'Bearer {access-token}'
}
fetch('https://auvious.video:443/security/ticket/{ticketId}/disable', {
method: 'POST',
headers
})
.then(r => r.json())
.then((body) => {
console.log(body)
})
// This sample needs improvement.
URL obj = new URL("https://auvious.video:443/security/ticket/{ticketId}/disable");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("POST");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream())
);
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
import requests
headers = {
'Authorization': 'Bearer {access-token}'
}
r = requests.post(
'https://auvious.video:443/security/ticket/{ticketId}/disable',
params={},
headers = headers)
print r.json()
require 'rest-client'
require 'json'
headers = {
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.post 'https://auvious.video:443/security/ticket/{ticketId}/disable',
params: {}, headers: headers
p JSON.parse(result)
Enable a ticket
POST https://auvious.video:443/security/ticket/{ticketId}/enable HTTP/1.1
Host: auvious.video:443
Enable a ticket.
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
ticketId | path | string | true | ticketId |
Responses
Overview
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | None |
201 | Created | Created | None |
204 | No Content | No Content | None |
401 | Unauthorized | Unauthorized | None |
403 | Forbidden | Forbidden | None |
404 | Not Found | Not Found | None |
To perform this operation, you must be authenticated by means of one of the following methods: Client Credentials Flow ( Scopes: global ), Jwt ( Scopes: global ), None ( Scopes: global ), None ( Scopes: global ), None ( Scopes: global )
Code samples
- Shell
- Go
- Node
- Java
- Python
- Ruby
curl -X POST https://auvious.video:443/security/ticket/{ticketId}/enable \
-H 'Authorization: Bearer {access-token}'
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Authorization": []string{"Bearer {access-token}"},
}
var body []byte
// body = ...
req, err := http.NewRequest("POST", "https://auvious.video:443/security/ticket/{ticketId}/enable", bytes.NewBuffer(body))
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
const fetch = require('node-fetch');
const headers = {
'Authorization': 'Bearer {access-token}'
}
fetch('https://auvious.video:443/security/ticket/{ticketId}/enable', {
method: 'POST',
headers
})
.then(r => r.json())
.then((body) => {
console.log(body)
})
// This sample needs improvement.
URL obj = new URL("https://auvious.video:443/security/ticket/{ticketId}/enable");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("POST");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream())
);
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
import requests
headers = {
'Authorization': 'Bearer {access-token}'
}
r = requests.post(
'https://auvious.video:443/security/ticket/{ticketId}/enable',
params={},
headers = headers)
print r.json()
require 'rest-client'
require 'json'
headers = {
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.post 'https://auvious.video:443/security/ticket/{ticketId}/enable',
params: {}, headers: headers
p JSON.parse(result)
Add to calendar
GET https://auvious.video:443/security/ticket/{ticketId}/event HTTP/1.1
Host: auvious.video:443
Accept: text/calendar
X-Forwarded-Proto: string
Host: string
Add to calendar
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
ticketId | path | string | true | ticketId |
calendar | query | string | false | calendar |
X-Forwarded-Proto | header | string | false | X-Forwarded-Proto |
Host | header | string | true | Host |
Responses
Overview
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | string |
401 | Unauthorized | Unauthorized | None |
403 | Forbidden | Forbidden | None |
404 | Not Found | Not Found | None |
Examples
200 Response
To perform this operation, you must be authenticated by means of one of the following methods: Client Credentials Flow ( Scopes: global ), Jwt ( Scopes: global ), None ( Scopes: global ), None ( Scopes: global ), None ( Scopes: global )
Code samples
- Shell
- Go
- Node
- Java
- Python
- Ruby
curl -X GET https://auvious.video:443/security/ticket/{ticketId}/event \
-H 'Accept: text/calendar' \ -H 'X-Forwarded-Proto: string' \ -H 'Host: string' \ -H 'Authorization: Bearer {access-token}'
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"text/calendar"},
"X-Forwarded-Proto": []string{"string"},
"Host": []string{"string"},
"Authorization": []string{"Bearer {access-token}"},
}
var body []byte
// body = ...
req, err := http.NewRequest("GET", "https://auvious.video:443/security/ticket/{ticketId}/event", bytes.NewBuffer(body))
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
const fetch = require('node-fetch');
const headers = {
'Accept': 'text/calendar', 'X-Forwarded-Proto': 'string', 'Host': 'string', 'Authorization': 'Bearer {access-token}'
}
fetch('https://auvious.video:443/security/ticket/{ticketId}/event', {
method: 'GET',
headers
})
.then(r => r.json())
.then((body) => {
console.log(body)
})
// This sample needs improvement.
URL obj = new URL("https://auvious.video:443/security/ticket/{ticketId}/event");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream())
);
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
import requests
headers = {
'Accept': 'text/calendar',
'X-Forwarded-Proto': 'string',
'Host': 'string',
'Authorization': 'Bearer {access-token}'
}
r = requests.get(
'https://auvious.video:443/security/ticket/{ticketId}/event',
params={},
headers = headers)
print r.json()
require 'rest-client'
require 'json'
headers = {
'Accept' => 'text/calendar',
'X-Forwarded-Proto' => 'string',
'Host' => 'string',
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.get 'https://auvious.video:443/security/ticket/{ticketId}/event',
params: {}, headers: headers
p JSON.parse(result)
Revoke a ticket
POST https://auvious.video:443/security/ticket/{ticketId}/revoke HTTP/1.1
Host: auvious.video:443
Revoke a ticket. If someone tries to use this ticket he will get 'error_description'='REVOKED'
Parameters
Parameter | In | Type | Required | Description |
---|---|---|---|---|
ticketId | path | string | true | ticketId |
Responses
Overview
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | None |
201 | Created | Created | None |
204 | No Content | No Content | None |
401 | Unauthorized | Unauthorized | None |
403 | Forbidden | Forbidden | None |
404 | Not Found | Not Found | None |
To perform this operation, you must be authenticated by means of one of the following methods: Client Credentials Flow ( Scopes: global ), Jwt ( Scopes: global ), None ( Scopes: global ), None ( Scopes: global ), None ( Scopes: global )
Code samples
- Shell
- Go
- Node
- Java
- Python
- Ruby
curl -X POST https://auvious.video:443/security/ticket/{ticketId}/revoke \
-H 'Authorization: Bearer {access-token}'
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Authorization": []string{"Bearer {access-token}"},
}
var body []byte
// body = ...
req, err := http.NewRequest("POST", "https://auvious.video:443/security/ticket/{ticketId}/revoke", bytes.NewBuffer(body))
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
const fetch = require('node-fetch');
const headers = {
'Authorization': 'Bearer {access-token}'
}
fetch('https://auvious.video:443/security/ticket/{ticketId}/revoke', {
method: 'POST',
headers
})
.then(r => r.json())
.then((body) => {
console.log(body)
})
// This sample needs improvement.
URL obj = new URL("https://auvious.video:443/security/ticket/{ticketId}/revoke");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("POST");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream())
);
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
import requests
headers = {
'Authorization': 'Bearer {access-token}'
}
r = requests.post(
'https://auvious.video:443/security/ticket/{ticketId}/revoke',
params={},
headers = headers)
print r.json()
require 'rest-client'
require 'json'
headers = {
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.post 'https://auvious.video:443/security/ticket/{ticketId}/revoke',
params: {}, headers: headers
p JSON.parse(result)
Schemas
CreateTicketWebCommand
{
"disabled": true,
"length": 0,
"organizationId": "string",
"properties": {},
"type": "APPOINTMENTS_SCHEDULE_TICKET"
}
CreateTicketWebCommand
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
disabled | boolean | false | none | none |
length | integer(int32) | false | none | none |
organizationId | string | false | none | none |
properties | object | true | none | none |
type | string | true | none | none |
Enumerated Values
Property | Value |
---|---|
type | APPOINTMENTS_SCHEDULE_TICKET |
type | GENESYS_MULTI_USE_TICKET |
type | GENESYS_SCHEDULE_TICKET |
type | GENESYS_SINGLE_USE_TICKET |
type | MULTI_USE_TICKET |
type | SCHEDULE_TICKET |
type | SINGLE_USE_APPOINTMENTS_SCHEDULE_TICKET |
type | SINGLE_USE_SCHEDULE_TICKET |
type | SINGLE_USE_TICKET |
Ticket
{
"createdAt": "2019-08-24T14:15:22Z",
"disabled": "2019-08-24T14:15:22Z",
"expired": true,
"expiresAt": "2019-08-24T14:15:22Z",
"id": "string",
"organizationId": "string",
"properties": {},
"revoked": "2019-08-24T14:15:22Z",
"type": "APPOINTMENTS_SCHEDULE_TICKET",
"userId": "string",
"version": 0
}
Ticket
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
createdAt | string(date-time) | false | none | none |
disabled | string(date-time) | false | none | none |
expired | boolean | false | none | none |
expiresAt | string(date-time) | false | none | none |
id | string | false | none | none |
organizationId | string | false | none | none |
properties | object | false | none | none |
revoked | string(date-time) | false | none | none |
type | string | false | none | none |
userId | string | false | none | none |
version | integer(int64) | false | none | none |
Enumerated Values
Property | Value |
---|---|
type | APPOINTMENTS_SCHEDULE_TICKET |
type | GENESYS_MULTI_USE_TICKET |
type | GENESYS_SCHEDULE_TICKET |
type | GENESYS_SINGLE_USE_TICKET |
type | MULTI_USE_TICKET |
type | SCHEDULE_TICKET |
type | SINGLE_USE_APPOINTMENTS_SCHEDULE_TICKET |
type | SINGLE_USE_SCHEDULE_TICKET |
type | SINGLE_USE_TICKET |
UpdateTicketWebCommand
{
"organizationId": "string",
"properties": {}
}
UpdateTicketWebCommand
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
organizationId | string | false | none | none |
properties | object | true | none | none |