Create a System

To create a new system, provide a JSON object with the new system properties. The Listener API ignores read-only properties.

Definition

POST https://listener-app-services.teradata.com/v1/systems HTTP/1.1

Example Request

curl \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer TOKEN" \
  -X POST \
  -d '{
    "name": "My System",
    "description": "A superb system",
    "system_type": "hadoop",
    "system_info": { "login": "ip112233", "port": "8080" }
  }' \
  -i \
  https://listener-app-services.teradata.com/v1/systems

Example Response

HTTP/1.1 200 OK
Content-Type: application/json
{
  "system_id": "9dda5570-70e0-45be-8449-83f33320cd08",
  "owner": ["jd123456"],
  "name": "My System",
  "description": "A superb system",
  "system_type": "hadoop",
  "system_info": { "login": "ip112233", "port": "8080" },
  "state": "1"
}

Response Codes

CodeDescription
201System successfully created.
400Required property missing from request.
401Authorization header not found.

results matching ""

    No results matching ""