Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Info

This function is one of Open API Operation. You can find the movie in ARGOS RPA+ video tutorial.

Image Removed

  • Timeout is default set as 10000.

  • The time unit is milliseconds.

    POST /openapi/v1/uxrobot/remote_command/ondemandrun/api


    Example request : 

    Code Block
    languagebash
    titleExample Request
    POST /openapi/v1/uxrobot/remote_command/ondemandrun/api?apiKey=abcd4eb2b12345c74c18 HTTP/1.1
    Host: api2-rpa.argos-labs.com
    
    {
        "userId": "test@test.com",
        "workId": "this_is_your_work_id",
        "endPoint": "this_is_your_endpoint",
        "apiPamId": "api12pam345id",
        "apiScenarioId": "api12scenario34id",
        "botParameters": [
            {
              "variable_text":"{{param.searchText}}",
              "value":"hello world"
            }
        ]
    }
    
    


    FieldTypeDescriptionRequired
    userIdStringUser ID that belongs to API KeyTrue
    workIdStringOther Job/Work ID for API UserFalse
    endPointString<POST> API User's Webhook URL Value

    False

    apiPamIdStringOne of Pam IDs from a pam listTrue
    apiScenarioIdStringOne Of Scenario IDs from a scenario listTrue
    botParametersListParameter to use for pam operationsFalse
    timeOutint

    Time for time-out;

    default value is 10000 and time unit is milliseconds

    False


    Example response:

    Code Block
    languagebash
    titleExample Response
    {
      "message": "OK",
      "status": 200,
      "error": null,
      "data": [
        {
          "userId": "test@test.com",
          "taskId": "b611234524c996034518ed681c1e067cf98d12a75a4af5e2b5079ecf3e19dec8",
          "workId": null,
          "commandResponse": {
            "response_source": "0",
            "status": 200,
            "elapseTime": null,
            "data": {
              "Value": "success",
              "Key": "result"
            }
          }
        }
      ]
    }


    FieldTypeDescription

    userId

    StringUser ID
    taskIdStringUnique ID given to each transaction call for pam operations
    workIdStringOther Job/Work ID for API User

    Command

    Response

    response_sourceStringMessage from a pan
    statusStringSocket status after connection
    elapseTimeLongElapsed time to get a response message from a pam
    dataStringvalue : on-demand result's value

      

    Value of Status

    Status CodeDescription
    200success
    408timeout
    500failure
    503failure(busy)


    Need help?

    Technical contact to tech@argos-labs.com


    May you search all operations,


    Panel
    titleColor#4178be
    titleBGColor#e7f5ff
    titleAll Open API

    Child pages (Children Display)
    pageOpen API