Adding an Environment

Environment is the first thing that needs to be created. TPM comes with a set of environments already created.

URL:

http://servername:8089/do?

The input parameters are listed in the following table:

Parameters

Type

Value

Mandatory

Comment

action

Stringt

env

Y

 

subaction

String

addnewenv

Y

 

description

String

 

Y

 

name

String

 

Y

Name of the environment

An example of input would be:

Type

Input

action

env

description

This is used for DEV testing

name

Dev

subaction

addnewenv

The responses are listed in the following table:

Response

Type

Value

Comment

msg

String

 

Response message

success

Enum

True/False

Response success condition

The following syntax is a sample JSON response:

{"msg":"Environment Added","success":"true"}

iWay Software