Target Nodes

Update Target Nodes schedule

Changed on

Update the start/stop schedule for a Target Node session

put/api/target_nodes/schedule

Request

  • The document declares no server URL.
  • Auth
    socaAuth (a scheme the document does not define) and socaToken (a scheme the document does not define)

Headers

X-EDH-USERstring required
Example:john.doe

SOCA username for authentication

X-EDH-TOKENstring required
Example:abc123def456

SOCA authentication token

Request body application/x-www-form-urlencoded

session_uuidstring uuid required

UUID of the Target Node session

schedulestring required

JSON string containing weekly schedule with start/stop times in minutes (0-1440)

Example request

{
  "session_uuid": "12345678-1234-1234-1234-123456789012",
  "schedule": "f'{\"monday\":{\"start\":480,\"stop\":1020},\"tuesday\":{\"start\":480,\"stop\":1020},\"wednesday\":{\"start\":480,\"stop\":1020},\"thursday\":{\"start\":480,\"stop\":1020},\"friday\":{\"start\":480,\"stop\":1020},\"saturday\":{\"start\":0,\"stop\":0},\"sunday\":{\"start\":0,\"stop\":0}}'"
}

Response

Schedule updated successfully

successboolean required
messagestring required

Example response

{
  "success": true,
  "message": "Your Target Node schedule has been updated"
}

Changes

    • info

      the endpoint scheme security socaAuth AND socaToken was added to the API

    • info

      the endpoint scheme security edhAuth AND edhToken was removed from the API

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      the endpoint scheme security edhAuth AND edhToken was added to the API

    • info

      the endpoint scheme security socaAuth AND socaToken was removed from the API