FglCommands​
Endpoints to interact with FGL commands
Operations​
GET/api/v2/fgl-template/{templateId}/commandsPOST/api/v2/fgl-template/{templateId}/commandsGET/api/v2/fgl-template/{templateId}/commands/{id}DELETE/api/v2/fgl-template/{templateId}/commands/{id}PATCH/api/v2/fgl-template/{templateId}/commands/{id}POST/api/v2/fgl-template/{templateId}/commands/bulk-delete
List FGL template commands​
GET
/api/v2/fgl-template/{templateId}/commands
Get all commands for a specific FGL template
Authorizations​
bearerAuth
Type
HTTP (bearer)
Parameters​
Path Parameters
templateId*
FGL Template ID
Type
Requiredinteger
Responses​
A list of FGL template commands
application/json
{
 Â
 Â
 Â
}
Create FGL template command​
POST
/api/v2/fgl-template/{templateId}/commands
Create a command for a specific FGL template
Authorizations​
bearerAuth
Type
HTTP (bearer)
Parameters​
Path Parameters
templateId*
FGL Template ID
Type
Requiredinteger
Request Body​
application/json
"string"
Responses​
Created FGL command object
application/json
{
 Â
}
Get FGL template command by ID​
GET
/api/v2/fgl-template/{templateId}/commands/{id}
Get a single command by ID for a specific FGL template
Authorizations​
bearerAuth
Type
HTTP (bearer)
Parameters​
Path Parameters
templateId*
FGL Template ID
Type
Requiredinteger
id*
FGL Command ID
Type
Requiredinteger
Responses​
FGL command object
application/json
{
 Â
}
Delete FGL template command​
Update FGL template command​
PATCH
/api/v2/fgl-template/{templateId}/commands/{id}
Update a command for a specific FGL template
Authorizations​
bearerAuth
Type
HTTP (bearer)
Parameters​
Path Parameters
templateId*
FGL Template ID
Type
Requiredinteger
id*
FGL Command ID
Type
Requiredinteger
Request Body​
application/json
"string"
Responses​
Updated FGL command object
application/json
{
 Â
}
Bulk delete FGL template commands​
POST
/api/v2/fgl-template/{templateId}/commands/bulk-delete
Delete multiple commands from a specific FGL template
Authorizations​
bearerAuth
Type
HTTP (bearer)
Parameters​
Path Parameters
templateId*
FGL Template ID
Type
Requiredinteger
Request Body​
application/json
"string"
Responses​
Deleted successfully
