Resource URL: /remote-service/<<version=5>>/local/esrs/status/

    Overview: 

     Methods: GET, PUT

********************************************************************************

Method GET: List local status arguments.

       URL: GET /remote-service/<<version=5>>/local/esrs/status/

There are no query arguments for this method.

GET response body schema:
{
  "type": [
    {
      "additionalProperties": false, 
      "type": "object", 
      "description": "A list of errors that may be returned.", 
      "properties": {
        "errors": {
          "items": {
            "additionalProperties": false, 
            "type": "object", 
            "description": "An object describing a single error.", 
            "properties": {
              "field": {
                "type": "string", 
                "description": "The field with the error if applicable."
              }, 
              "message": {
                "type": "string", 
                "description": "The error message."
              }, 
              "code": {
                "type": "string", 
                "description": "The error code."
              }
            }
          }, 
          "type": "array"
        }
      }
    }, 
    {
      "type": "object", 
      "description": "View the connectivity status of the ESRS gateway", 
      "properties": {
        "force": {
          "required": true, 
          "type": "boolean", 
          "description": "Force ESRS deprovisioning. Normally ESRS deprovisioning requires communication with ESRS. This option allows for deprovisioning when communication with ESRS Gateway or ESRS is not working. Default is false."
        }, 
        "connectivity_status": {
          "enum": [
            "Unknown", 
            "Connected", 
            "Disconnected"
          ], 
          "type": "string", 
          "description": "Connectivity status of ESRS gateway", 
          "required": true
        }
      }
    }
  ]
}

********************************************************************************

Method PUT: Modify local status arguments.

       URL: PUT /remote-service/<<version=5>>/local/esrs/status/

There are no query arguments for this method.

Required PUT request body fields:
enabled

PUT request body schema:
{
  "type": "object", 
  "description": "Enable/disable ESRS", 
  "properties": {
    "username": {
      "type": "string", 
      "description": "EMC username"
    }, 
    "force": {
      "type": "boolean", 
      "description": "Force ESRS deprovisioning. Normally ESRS deprovisioning requires communication with ESRS. This option allows for deprovisioning when communication with ESRS Gateway or ESRS is not working. Default is false."
    }, 
    "password": {
      "type": "string", 
      "description": "EMC password"
    }, 
    "enabled": {
      "required": true, 
      "type": "boolean", 
      "description": "Current status of ESRS"
    }
  }
}

There is no response body for this method.
