Next Topic

Previous Topic

Book Contents

Traverse Web Services API Workflow

The following describes a typical Traverse Web Services API workflow:

  1. Client application uses the Session Manager service to log in to Traverse by providing a username and a password.
  2. Traverse sends back a response, including a session identifier (ID). This session identifier can also be shared with the web application.
  3. The client application uses the session ID to make calls to Traverse through the different web services. The client application uses the session ID with every call.
  4. The client application ends its interaction with Traverse by logging out using the Session Manager service.

Web Services Operations

Depending on login credentials, Traverse exposes a certain set of objects. Each web service operation has the same basic structure:

User Types

The Session Manager service defines three types of users:

Objects in Traverse

The following types of objects are available in Traverse:

Each object is uniquely identified by a serial number, which is a positive 64-bit integer value. While object names can change, the serial number should be used as a key to uniquely identify objects.

Object Severity & Status

The status of the different objects is represented by an integer value:

Status

Integer Value

Description

UNCONFIGURED

0x00000008

Device is provisioned, but no tests have been created.

SUSPENDED

0x00000080

Test is not being run.

OK

0x00000800

Object is in OK state.

TRANSIENT

0x00004000

Object is flapping between OK and non-OK state.

UNKNOWN

0x00000800

 

UNREACHABLE

0x00080000

 

WARNING

0x00800000

Object is in Warning (yellow) state.

CRITICAL

0x08000000

Object is in Critical (red) state.

FAIL

0x40000000