Argomento precedente: GetContract

Argomento successivo: Authentication Methods

GetContractAdvanced

Description

Returns a list of SLAs for the current user according to specified search criteria.

Syntax

A typical syntax for this method is shown. Note that the exact syntax to use depends on the type of protocol used to communicate with the web service.

DataSet

GetContractsAdvanced (
string

sessionID,
string

criteria XML)

Parameters

Name

Type

Description

sessionID

string

Current session ID to perform authentication check.

criteriaXML

 

criteriaXML parameter should be in the following format:

<Criteria>
  <Name>{search mask}</Name>
  <Status>{PRELIMINARY,PENDING,EFFECTIVE}</Status>
</Criteria>

If criteriaXML is empty string, then criteria is not applied.

Return Value

Returns a dataset with the following fields (Tag Name and Text):

Tag Name/Text

Description

SLA_ID

ID of contract.

SLA_NAME

Name of contract.

LOCALE_ID

ID of locale.

LOCALE_NAME

Name of locale (for example, GMT).

CUSTOMER_ID

ID of customer.

CUSTOMER_NAME

Name of customer.

CUSTOMER_TYPE_NAME

Name of customer type.

CUSTOMER_TYPE_DISPLAY_NAME

 

SLA_MODIFY_DATE

Date the contract was modified.

CURRENT_VER_ID

ID of the current version.

CURRENT_VER_STATUS

The status of the current version.

LATEST_VER_ID

ID of the latest version.

LATEST_VER_STATUS

Status of the last version of the contract.

SLA_STATUS_DISPLAY

 

CUR_VER_STATUS_DISPLAY

 

LATEST_VER_STATUS_DISPLAY

 

SLA_STATUS

Status of the contract.

SLA_VERSIONS

Number of contract versions.

IS_PSL_PURGED

 

SLA_DECODE_STATUS

 

CUR_VER_NONCOMPILED_PNLT_COUNT

 

CUR_VER_PENALTY_COUNT

 

CUR_VER_RULE_COUNT

 

CUR_VER_APPLICATION_COUNT

 

CUR_VER_NONCOMP_SLALOM_COUNT

 

CUR_VER_RT_ERROR_RULE_COUNT

 

CUR_VER_HAS_COLLIDING_RULES

Whether the version has colliding rules.

WORKFLOW_STATUS

The workflow status.

SLA_VALID_ FROM

Date from which the contract is valid.

SLA_VALID_TO

Date when the contract is valid until.

SCORE

 

Remarks

SessionID is mandatory.