Entity Scheduled Function API
Jan 1 2022 at 12:00 AM
This service is responsible for managing scheduled function entities and their metadata.
APIs within Entity Scheduled Function API
EntityScheduledFunction
API Calls
Get
Permission
entities:get
Accessible
Tenant Only. See response and accessiblity information for more
URL
https://iotnxtinternal.commander.io/DAPI/v1/EntityScheduledFunction/Get
URL Params
NONE
Data Params
{
“id”: "string"
}
- id: string (required)
Success Response
Response message with the following codes and JSON body formats. Refer to the API Response Types Success Response. See response and accessiblity information for more
Error Response
Response message with the following codes and HTMLs body formats. Refer to the API Response Types Error Response. See response and accessiblity information for more
Notes
NONE
GetMany
Permission
entities:get
Accessible
Tenant Only. See response and accessiblity information for more
URL
https://iotnxtinternal.commander.io/DAPI/v1/EntityScheduledFunction/GetMany
URL Params
NONE
Data Params
{
“ids”: List<string>
}
- ids: List
(required)
Success Response
Response message with the following codes and JSON body formats. Refer to the API Response Types Success Response. See response and accessiblity information for more
Error Response
Response message with the following codes and HTMLs body formats. Refer to the API Response Types Error Response. See response and accessiblity information for more
Notes
NONE
GetNext1000
Permission
entities:get
Accessible
Tenant Only. See response and accessiblity information for more
URL
https://iotnxtinternal.commander.io/DAPI/v1/EntityScheduledFunction/GetNext1000
URL Params
NONE
Data Params
{
“lastFetchedId”: “string”
}
- lastFetchedId: string
Success Response
Response message with the following codes and JSON body formats. Refer to the API Response Types Success Response. See response and accessiblity information for more
Error Response
Response message with the following codes and HTMLs body formats. Refer to the API Response Types Error Response. See response and accessiblity information for more
Notes
NONE
Add
Permission
Entities.function:add
Accessible
Tenant Only. See response and accessiblity information for more
URL
https://iotnxtinternal.commander.io/DAPI/v1/EntityScheduledFunction/Add
URL Params
NONE
Data Params
{
“data”: {
"scheduledFunctionId": null,
"scheduleTimeSpan": "00:00:00",
"recurrenceRule":{ “Expression”:” string”},
"entityFunctionCall":{“MethodName”:” string”},
"lastRun": "0001-01-01T00:00:00",
"entityFunctionId": “string”,
"startDate": "0001-01-01T00:00:00",
"endDate": "0001-01-01T00:00:00",
"scheduleType": “TimeSpan”(enum),
"recurrenceException": “string”,
"active": false,
"routingKey": “string”,
"gatewayPath": “string”
}
- data: EntityScheduledFunction (required)
Success Response
Response message with the following codes and JSON body formats. Refer to the API Response Types Success Response. See response and accessiblity information for more
Error Response
Response message with the following codes and HTMLs body formats. Refer to the API Response Types Error Response. See response and accessiblity information for more
Notes
NONE
AddMany
Permission
Entities.function:add
Accessible
Tenant Only. See response and accessiblity information for more
URL
https://iotnxtinternal.commander.io/DAPI/v1/EntityScheduledFunction/AddMany
URL Params
NONE
Data Params
{
“data”:{
{
"scheduledFunctionId": null,
"scheduleTimeSpan": "00:00:00",
"recurrenceRule":{ “Expression”:” string”},
"entityFunctionCall":{“MethodName”:” string”},
"lastRun": "0001-01-01T00:00:00",
"entityFunctionId": “string”,
"startDate": "0001-01-01T00:00:00",
"endDate": "0001-01-01T00:00:00",
"scheduleType": “TimeSpan”(enum),
"recurrenceException": “string”,
"active": false,
"routingKey": “string”,
"gatewayPath": “string”
}
}
}
- data: List
(required)
Success Response
Response message with the following codes and JSON body formats. Refer to the API Response Types Success Response. See response and accessiblity information for more
Error Response
Response message with the following codes and HTMLs body formats. Refer to the API Response Types Error Response. See response and accessiblity information for more
Notes
NONE
Update
Permission
Entities.function:edit
Accessible
Tenant Only. See response and accessiblity information for more
URL
https://iotnxtinternal.commander.io/DAPI/v1/EntityScheduledFunction/Update
URL Params
NONE
Data Params
{
“data”: {
“OldDataRowVersion”:”string”,
“NewData”: {
"scheduledFunctionId": null,
"scheduleTimeSpan": "00:00:00",
"recurrenceRule":{ “Expression”:” string”},
"entityFunctionCall":{“MethodName”:” string”},
"lastRun": "0001-01-01T00:00:00",
"entityFunctionId": “string”,
"startDate": "0001-01-01T00:00:00",
"endDate": "0001-01-01T00:00:00",
"scheduleType": “TimeSpan”(enum),
"recurrenceException": “string”,
"active": false,
"routingKey": “string”,
"gatewayPath": “string”
}}
}
}
data: UpdateModel
Success Response
Response message with the following codes and JSON body formats. Refer to the API Response Types Success Response. See response and accessiblity information for more
Error Response
Response message with the following codes and HTMLs body formats. Refer to the API Response Types Error Response. See response and accessiblity information for more
Notes
NONE
UpdateMany
Permission
Entities.function:edit
Accessible
Tenant Only. See response and accessiblity information for more
URL
https://iotnxtinternal.commander.io/DAPI/v1/EntityScheduledFunction/UpdateMany
URL Params
NONE
Data Params
{
“data”: {
{
“OldDataRowVersion”:”string”,
“NewData”: {
"scheduledFunctionId": null,
"scheduleTimeSpan": "00:00:00",
"recurrenceRule":{ “Expression”:” string”},
"entityFunctionCall":{“MethodName”:” string”},
"lastRun": "0001-01-01T00:00:00",
"entityFunctionId": “string”,
"startDate": "0001-01-01T00:00:00",
"endDate": "0001-01-01T00:00:00",
"scheduleType": “TimeSpan”(enum),
"recurrenceException": “string”,
"active": false,
"routingKey": “string”,
"gatewayPath": “string”
}
} }
}
data: List<UpdateModel
Success Response
Response message with the following codes and JSON body formats. Refer to the API Response Types Success Response. See response and accessiblity information for more
Error Response
Response message with the following codes and HTMLs body formats. Refer to the API Response Types Error Response. See response and accessiblity information for more
Notes
NONE
AddOrUpdate
Permission
Entities.function:edit ; Entities.function:add
Accessible
Tenant Only. See response and accessiblity information for more
URL
https://iotnxtinternal.commander.io/DAPI/v1/EntityScheduledFunction/AddOrUpdate
URL Params
NONE
Data Params
{
“data”: {
“OldDataRowVersion”:”string”,
“NewData”:{
"scheduledFunctionId": null,
"scheduleTimeSpan": "00:00:00",
"recurrenceRule":{ “Expression”:” string”},
"entityFunctionCall":{“MethodName”:” string”},
"lastRun": "0001-01-01T00:00:00",
"entityFunctionId": “string”,
"startDate": "0001-01-01T00:00:00",
"endDate": "0001-01-01T00:00:00",
"scheduleType": “TimeSpan”(enum),
"recurrenceException": “string”,
"active": false,
"routingKey": “string”,
"gatewayPath": “string”
}
}
}
- data: UpdateModel
(required)
Success Response
Response message with the following codes and JSON body formats. Refer to the API Response Types Success Response. See response and accessiblity information for more
Error Response
Response message with the following codes and HTMLs body formats. Refer to the API Response Types Error Response. See response and accessiblity information for more
Notes
NONE
AddOrUpdateMany
Permission
Entities.function:edit ; Entities.function:add
Accessible
Tenant Only. See response and accessiblity information for more
URL
https://iotnxtinternal.commander.io/DAPI/v1/EntityScheduledFunction/AddOrUpdateMany
URL Params
NONE
Data Params
{
“data”: {
{
“OldDataRowVersion”:”string”,
“NewData”:{
"scheduledFunctionId": "null",
"scheduleTimeSpan": "00:00:00",
"recurrenceRule":{ “Expression”:” string”},
"entityFunctionCall":{“MethodName”:” string”},
"lastRun": "0001-01-01T00:00:00",
"entityFunctionId": “string”,
"startDate": "0001-01-01T00:00:00",
"endDate": "0001-01-01T00:00:00",
"scheduleType": “TimeSpan”(enum),
"recurrenceException": “string”,
"active": false,
"routingKey": “string”,
"gatewayPath": “string”
}
}
}
}
- data: List<UpdateModel
> (required)
Success Response
Response message with the following codes and JSON body formats. Refer to the API Response Types Success Response. See response and accessiblity information for more
Error Response
Response message with the following codes and HTMLs body formats. Refer to the API Response Types Error Response. See response and accessiblity information for more
Notes
NONE
Remove
Permission
Entities.function:delete
Accessible
Tenant Only. See response and accessiblity information for more
URL
https://iotnxtinternal.commander.io/DAPI/v1/EntityScheduledFunction/Remove
URL Params
NONE
Data Params
{
id:”string”,
}
- id: string (required)
Success Response
Response message with the following codes and JSON body formats. Refer to the API Response Types Success Response. See response and accessiblity information for more
Error Response
Response message with the following codes and HTMLs body formats. Refer to the API Response Types Error Response. See response and accessiblity information for more
Notes
NONE
Copy
Permission
Entities.function:edit
Accessible
Tenant Only. See response and accessiblity information for more
URL
https://iotnxtinternal.commander.io/DAPI/v1/EntityScheduledFunction/Copy
URL Params
NONE
Data Params
{
"masterId”: “string”,
"targetId": "string"
}
masterId: string (required)
targetId: string
Success Response
Response message with the following codes and JSON body formats. Refer to the API Response Types Success Response. See response and accessiblity information for more
Error Response
Response message with the following codes and HTMLs body formats. Refer to the API Response Types Error Response. See response and accessiblity information for more
Notes
NONE
CopyMany
Permission
Entities.function:edit
Accessible
Tenant Only. See response and accessiblity information for more
URL
https://iotnxtinternal.commander.io/DAPI/v1/EntityScheduledFunction/CopyMany
URL Params
NONE
Data Params
{
"masterToTargetIds”: {“string”: “string”, “string”: “string”}
}
- masterToTargetIds: Dictionary<string, string> (required)
Success Response
Response message with the following codes and JSON body formats. Refer to the API Response Types Success Response. See response and accessiblity information for more
Error Response
Response message with the following codes and HTMLs body formats. Refer to the API Response Types Error Response. See response and accessiblity information for more
Notes
NONE
RemoveMany
Permission
Entities.function:delete
Accessible
Tenant Only. See response and accessiblity information for more
URL
https://iotnxtinternal.commander.io/DAPI/v1/EntityScheduledFunction/RemoveMany
URL Params
NONE
Data Params
{
“ids”: {“string”, “string”}
}
- ids: List
(required)
Success Response
Response message with the following codes and JSON body formats. Refer to the API Response Types Success Response. See response and accessiblity information for more
Error Response
Response message with the following codes and HTMLs body formats. Refer to the API Response Types Error Response. See response and accessiblity information for more
Notes
NONE