11.2.1. Proxy States

Tungsten Connector Proxy has 3 different operational states detailed here Section 7.8, “Connector Operational States”

The REST API provides easy access to this status shown in the following example

GET 'https://localhost:8096/api/v8/connector/state'

The response will be wrapped inside a simple string payload with the current state:

{
    "payloadType": "StringPayload",
    "payloadVersion": "1",
    "payload": {
        "value": "OFFLINE"
    }
}

Changing this status is NOT recommend during regular and normal operations. If needed, it can still be done with the following calls:

shell> curl -k --request PUT --location 'https://127.0.0.1:8096/api/v8/connector/state?i-am-sure=true' \
--header 'Content-Type: application/json' \
--header 'Authorization: ••••••' \
--data '{
  "value": "[offline | online | onhold | softOffline | immediateOffline]"
}'