Create Integration Service
POST/organizations/:organizationId/integrations
Create Integration Service
Request
Path Parameters
organizationId stringrequired
The ID of organization.
- application/json
Body
required
name stringrequired
The name of integration.
description string
The description of integration.
type stringrequired
The type of integration.
Responses
- 200
- 401
- 403
- 422
- application/json
- Schema
- Example (from schema)
- Example
Schema
data objectrequired
Data of the services.
id stringrequired
organizationId stringrequired
name stringrequired
description stringrequired
type stringrequired
config objectrequired
host stringrequired
apiKey stringrequired
authorization stringrequired
createdBy stringrequired
createdAtDateString stringrequired
createdAt numberrequired
{
"data": {
"id": "string",
"organizationId": "string",
"name": "string",
"description": "string",
"type": "string",
"config": {
"host": "string",
"apiKey": "string",
"authorization": "string"
},
"createdBy": "string",
"createdAtDateString": "string",
"createdAt": 0
}
}
{
"id": "is-integrationServiceId",
"organizationId": "o-organizationId",
"name": "LNS-Service",
"description": "LNS-Service-Description",
"type": "InfodeckLNS",
"config": {
"host": "lns-hosto:8080",
"apiKey": "eyJ0exxxxxxxxxx4",
"authorization": "eyJhbxxxxxxxxxxg"
},
"createdBy": "d6b0e137-xxxx-xxxx-xxxx-c944cc12a5f4",
"createdAtDateString": "2024-01-01T00:00:00.000Z",
"createdAt": 1704067200000
}
The request has not permission.
- application/json
- Schema
- Example (from schema)
- Example
Schema
error stringrequired
The request has not permission.
message stringrequired
The request has not permission message.
{
"error": "string",
"message": "string"
}
{
"error": "Unauthenticated",
"message": "Authentication is required and has failed or has not yet been provided."
}
The request has not permission.
- application/json
- Schema
- Example (from schema)
- Example
Schema
error stringrequired
The request has not permission.
message stringrequired
The request has not permission message.
{
"error": "string",
"message": "string"
}
{
"error": "Forbidden",
"message": "Access to the requested resource is forbidden."
}
The input data has invalid.
- application/json
- Schema
- Example (from schema)
- Example
Schema
error stringrequired
The input data has invalid.
message stringrequired
The input data has invalid message.
{
"error": "string",
"message": "string"
}
{
"error": "ValidationError",
"message": "Input data validation failed."
}
Loading...