Integrations
These endpoints are used to modify Fishbowl plugin information. In order to access the plugin's information, you will need authorization from the plugin.
The plugin information object
Attributes
- 
                      id integerThe plugin information's unique identification number.
- 
                      plugin stringThe name of the plugin.
- 
                      table stringThe name of the database table.
- 
                      recordId intThe unique identifier for a record in Fishbowl associated with the table.
- 
                      groupId intThe user specified identifier used to separate types of plugins you are using.
- 
                      channelId stringThe unique identifier for the object being linked externally.
- 
                      info jsonAny additional information.
THE PLUGIN INFORMATION OBJECT
{
  "id": 32,
  "plugin": "Fishbowl Time",
  "table": "WO",
  "recordId": 72,
  "groupId": 20,
  "channelId": "27d1891e-0627-4abf-87a6-9a38db5d78f2",
  "info": {
    "id": 123
  }
}
                      Search for plugin information
Searches for plugin information.
Parameters
- 
                      plugin stringThe name of the plugin.
- 
                      authorization stringThe user specified code for authorization.
- 
                      table string optionalThe table name in the database.
- 
                      recordId int optionalThe unique identifier for a record in Fishbowl associated with the table.
- 
                      groupId int optionalThe user specified identifier used to separate types of plugins you are using.
- 
                      channelId string optionalThe unique identifier for the object being linked externally.
Attributes
No attributes.
GET /api/integrations/plugin-info
curl --location \ --request GET '<YOUR SERVER>/api/integrations/plugin-info' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer <TOKEN>'
RESPONSE
[
  {
    "id": 31,
    "plugin": "Fishbowl Time",
    "table": "WO",
    "recordId": 72,
    "groupId": 10,
    "channelId": "b674f2bf-7ea2-491f-8d70-8cf4fd3243fc"
  },
  {
    "id": 32,
    "plugin": "Fishbowl Time",
    "table": "WO",
    "recordId": 72,
    "groupId": 20,
    "channelId": "27d1891e-0627-4abf-87a6-9a38db5d78f2",
    "info": {
      "id": 123
    }
  }
]
                      Create a plugin information
Creates a plugin information.
Parameters
- 
                      plugin stringThe name of the plugin.
- 
                      authorization stringThe user specified code for authorization.
Attributes
- 
                      groupId int optionalThe user specified identifier used to separate types of plugins you are using.
- 
                      channelId string optionalThe unique identifier for the object being linked externally.
- 
                      recordId int optionalThe unique identifier for a record in Fishbowl associated with the table.
- 
                      table string optionalThe table name in the database.
POST /api/integrations/plugin-info
curl --location \ --request POST '<YOUR SERVER>/api/integrations/plugin-info' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer <TOKEN>' \ --data-raw '<PLUGIN INFO JSON>'
RESPONSE
[
  {
    "id": 31,
    "plugin": "Fishbowl Time",
    "table": "WO",
    "recordId": 72,
    "groupId": 10,
    "channelId": "b674f2bf-7ea2-491f-8d70-8cf4fd3243fc"
  },
  {
    "id": 32,
    "plugin": "Fishbowl Time",
    "table": "WO",
    "recordId": 72,
    "groupId": 20,
    "channelId": "27d1891e-0627-4abf-87a6-9a38db5d78f2",
    "info": {
      "id": 123
    }
  }
]
                      Update a plugin information
Updates a plugin information.
Parameters
- 
                      plugin stringThe name of the plugin.
- 
                      authorization stringThe user specified code for authorization.
Attributes
- 
                      info jsonThe information to be updated.
POST /api/integrations/plugin-info/:id
curl --location \ --request POST '<YOUR SERVER>/api/integrations/plugin-info/:id' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer <TOKEN>' \ --data-raw '<PLUGIN INFO JSON>'
RESPONSE
[
  {
    "id": 31,
    "plugin": "Fishbowl Time",
    "table": "WO",
    "recordId": 72,
    "groupId": 10,
    "channelId": "b674f2bf-7ea2-491f-8d70-8cf4fd3243fc"
  },
  {
    "id": 32,
    "plugin": "Fishbowl Time",
    "table": "WO",
    "recordId": 72,
    "groupId": 20,
    "channelId": "27d1891e-0627-4abf-87a6-9a38db5d78f2",
    "info": {
      "id": 123
    }
  }
]
                      Delete a plugin information
Deletes the plugin information with the specified ID.
Parameters
- 
                      plugin stringThe name of the plugin.
- 
                      authorization stringThe user specified code for authorization.
Attributes
No attributes.
DELETE /api/integrations/plugin-info/:id
curl --location \ --request DELETE '<YOUR SERVER>/api/integrations/plugin-info/:id' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer <TOKEN>'
RESPONSE
{}
                      