Module

frontend/src/api/routes/robots/rpaParameter

Methods

# inner deleteParametersForActivities(robotId, unusedActivityListString) → {Object}

Delete parameters for the given activities by sending a call to the backend
Parameters:
Name Type Description
robotId String Id of the robot that will be used
unusedActivityListString String Stringified List of activityIds

View Source frontend/src/api/routes/robots/rpaParameter.js, line 40

Mongoose query describing execution of call
Object

# async inner getAllParametersForRobot(robotId) → {Array}

Fetch all parameter objects for a specifc robot
Parameters:
Name Type Description
robotId String Id of the robot to get all the parameters for

View Source frontend/src/api/routes/robots/rpaParameter.js, line 11

All objects that have been found for the robot
Array

# async inner updateManyParameters(parameterObjectsList) → {Array}

Will send a backend call to update all given parameter objects with the new ones
Parameters:
Name Type Description
parameterObjectsList Array All updated parameters objects to overwrite the old attribute objects with

View Source frontend/src/api/routes/robots/rpaParameter.js, line 22

Array of all updated parameter objects
Array