API Documentation
Health Check
Tenant Options
Get Tenant Options
Successful Response
Validation Error
GET /v1/tenant-options HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
correlation-id: text
Accept: */*
{
"options_values": [
{
"name": "text",
"values": [
"text"
]
}
]
}
Add Tenant Options
Successful Response
Validation Error
POST /v1/tenant-options HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
correlation-id: text
Content-Type: application/json
Accept: */*
Content-Length: 47
{
"options": [
{
"name": "text",
"values": [
"text"
]
}
]
}
{
"message": "text"
}
Product Options
Get Product Options
Maximum number of records to return
Number of records to skip
Successful Response
Validation Error
GET /v1/product-options HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
correlation-id: text
Accept: */*
{
"options_values": [
{
"product": "text",
"option_values": [
{
"option_name": "text",
"option_values": [
"text"
]
}
]
}
]
}
Add Product Options
Successful Response
Validation Error
POST /v1/product-options HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
correlation-id: text
Content-Type: application/json
Accept: */*
Content-Length: 106
{
"product_options": [
{
"product": "text",
"option_values": [
{
"option_name": "text",
"option_values": [
"text"
]
}
]
}
]
}
{
"message": "text"
}
Tenant Data Connection Configs
Get Tenant Data Connections
Get all data connection configs for the current tenant.
Successful Response
Validation Error
GET /v1/tenant-data-conn-configs HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
correlation-id: text
Accept: */*
{
"data_connections": [
{
"name": "text",
"type": "text",
"configs": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
]
}
Create Tenant Data Connections
Add data connection configs for the current tenant.
Request model for adding one or more dataโconnection configs to a tenant.
Successful Response
Validation Error
POST /v1/tenant-data-conn-configs HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
correlation-id: text
Content-Type: application/json
Accept: */*
Content-Length: 101
{
"data_connections": [
{
"name": "text",
"type": "text",
"configs": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
]
}
{
"message": "text"
}
Update Tenant Data Connection
Update dataโconnection config by name for the current tenant.
New connection type, if updating
New configs map, if updating
Successful Response
Validation Error
PATCH /v1/tenant-data-conn-configs/{name} HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
correlation-id: text
Content-Type: application/json
Accept: */*
Content-Length: 64
{
"type": "text",
"configs": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
{
"message": "text"
}
Delete Tenant Data Connection
DELETE one dataโconnection config by name for the current tenant.
Successful Response
Validation Error
DELETE /v1/tenant-data-conn-configs/{name} HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
correlation-id: text
Accept: */*
{
"message": "text"
}
Users
Get Users
Filter users by role
List of users retrieved successfully
Bad Request
Validation Error
Internal server error
GET /v1/users HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
correlation-id: text
Accept: */*
{
"users": [
{
"user_name": "text",
"email_id": "text",
"tenant_id": "text",
"tenant_name": "text",
"role": "CANSO_ADMIN",
"status": "ACTIVE"
}
]
}
Tenant Data ET Configs
Create Tenant Data ET
Successful Response
Validation Error
POST /v1/tenant-data-et-configs HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
correlation-id: text
Content-Type: application/json
Accept: */*
Content-Length: 84
{
"data_ets": [
{
"unit_name": "text",
"configs": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
]
}
{
"message": "text"
}
Update Tenant Data ET
Update data ET config by unit_name for the current tenant.
Successful Response
Validation Error
PATCH /v1/tenant-data-et-configs/{unit_name} HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
correlation-id: text
Content-Type: application/json
Accept: */*
Content-Length: 50
{
"configs": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
{
"message": "text"
}
Delete Tenant Data ET
DELETE one data ET config by unit_name for the current tenant.
Successful Response
Validation Error
DELETE /v1/tenant-data-et-configs/{unit_name} HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
correlation-id: text
Accept: */*
{
"message": "text"
}
Last updated
Was this helpful?