Argomento precedente: GetMetricMainIndicatorTypes

Argomento successivo: Contract Versioning and Deleting Methods

GetMetricSectionsByType

Description

This method gets a list of all metric sections in the system that match the specified metric type.

Syntax

EntityListData GetMetricSectionsByType (long MetricTypeId);

Parameters

Name

Type

Description

MetricTypeId

long

The ID of the metric type.

Return Value

The matching metric sections, as type EntityListData.

Remarks

An EntityListData object is returned as a collection of EntityListItemData items, which contains both the name and ID of every object.

CCE--INS--Contract Service Relationship Methods

GetContractByService

Description

This method gets a list of all contracts belonging to the service component.

Syntax

A typical syntax for this method is shown.

EntityListData GetContractsByService (long serviceID)

Parameters

Name

Type

Description

serviceID

long

The service component ID.

Return Value

The contracts, as type EntityListData.

Remarks

The serviceID specifies the included services.

An EntityListData object is returned as a collection of EntityListItemData items and includes the name and ID of every object.

A

AddServiceToContract

Description

This method adds the service to the contract as an included service.

Syntax

A typical syntax for this method is shown next.

void AddServiceComponentToContract (long contractVersionID, long serviceComponentID)

Parameters

Name

Type

Description

contractVersionID

long

The Contract version ID.

serviceComponentID

long

The service component ID.

Return Value

None.

Remarks

None.

GetContractByServiceComponent

Description

This method gets a list of all contracts belonging to the service component.

Syntax

A typical syntax for this method is shown next.

EntityListData GetContractsByServiceComponent (long serviceComponentID)

Parameters

Name

Type

Description

serviceComponentID

long

The service component ID.

Return Value

The contracts, as type EntityListData.

Remarks

The ServiceComponentID specifies the included services.

An EntityListData object is returned as a collection of EntityListItemData items and includes the name and ID of every object.