Resource URL: /platform/<<version=1>>/remotesupport/connectemc

    Overview: This resource exposes ConnectEMC settings.

     Methods: GET, PUT

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

Method GET: List all settings.

       URL: GET /platform/<<version=1>>/remotesupport/connectemc

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", 
      "properties": {
        "connectemc": {
          "type": "object", 
          "properties": {
            "use_smtp_failover": {
              "type": "boolean", 
              "description": "Use SMPT if primary and secondary gateways are unavailable."
            }, 
            "secondary_esrs_gateway": {
              "type": "string", 
              "description": "Secondary ESRS Gateway. Used if Primary is unavailable."
            }, 
            "enabled": {
              "type": "boolean", 
              "description": "Enable ConnectEMC."
            }, 
            "primary_esrs_gateway": {
              "type": "string", 
              "description": "Primary ESRS Gateway. Necessary to enable ConnectEMC."
            }, 
            "gateway_access_pools": {
              "items": {
                "type": "string"
              }, 
              "type": "array", 
              "description": "List of network pools that are able to connect to the ESRS gateway.  Necessary to enable ConnectEMC."
            }, 
            "email_customer_on_failure": {
              "type": "boolean", 
              "description": "Email the customer if all transmission methods fail."
            }
          }
        }
      }
    }
  ]
}

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

Method PUT: Modify one or more settings.

       URL: PUT /platform/<<version=1>>/remotesupport/connectemc

There are no query arguments for this method.

PUT request body schema:
{
  "type": "object", 
  "properties": {
    "use_smtp_failover": {
      "type": [
        {
          "enum": [
            "@DEFAULT"
          ], 
          "type": "string"
        }, 
        {
          "type": "boolean", 
          "description": "Use SMPT if primary and secondary gateways are unavailable."
        }
      ]
    }, 
    "secondary_esrs_gateway": {
      "type": [
        {
          "enum": [
            "@DEFAULT"
          ], 
          "type": "string"
        }, 
        {
          "type": "string", 
          "description": "Secondary ESRS Gateway. Used if Primary is unavailable."
        }
      ]
    }, 
    "enabled": {
      "type": [
        {
          "enum": [
            "@DEFAULT"
          ], 
          "type": "string"
        }, 
        {
          "type": "boolean", 
          "description": "Enable ConnectEMC."
        }
      ]
    }, 
    "primary_esrs_gateway": {
      "type": [
        {
          "enum": [
            "@DEFAULT"
          ], 
          "type": "string"
        }, 
        {
          "type": "string", 
          "description": "Primary ESRS Gateway. Necessary to enable ConnectEMC."
        }
      ]
    }, 
    "gateway_access_pools": {
      "type": [
        {
          "enum": [
            "@DEFAULT"
          ], 
          "type": "string"
        }, 
        {
          "items": {
            "type": "string"
          }, 
          "type": "array", 
          "description": "List of network pools that are able to connect to the ESRS gateway.  Necessary to enable ConnectEMC."
        }
      ]
    }, 
    "email_customer_on_failure": {
      "type": [
        {
          "enum": [
            "@DEFAULT"
          ], 
          "type": "string"
        }, 
        {
          "type": "boolean", 
          "description": "Email the customer if all transmission methods fail."
        }
      ]
    }
  }
}

There is no JSON response body for this method.
