GetGCPSeriesDetails

This method is used to return Machine Type Details.

Method Signature:

GetGCPSeriesDetailss(seriesType, controlId, async, callback)

Sample Response:

 [{"Name":"N2D","Code":"N2D","text":"N2D"},{"Name":"E2","Code":"E2","text":"E2"},
{"Name":"N1","Code":"N1","text":"N1"},{"Name":"N2","Code":"N2","text":"N2"}]

Parameter Details:

Table 1. GetGCPSeriesDetails
Parameter Name Type Mandatory Description
seriesType String Y We have some series type available. If we have then we can pass otherwise it could be blank and series will be fetched accordingly.
controlId String N

Id of ‘Select’ control to be populated.

If Id Control of dynamic UI is passed, then control will be populated with values return from this function else “Result set” will be returned in JSON format.

async Boolean N

In case it’s False:

Function will be called in synchronous mode. i.e. Current execution will wait for method execution to complete

In case it’s True:

Function will be called asynchronously. Execution will not wait for method execution completion. It will jump to next statement.

Callback Function N User can pass function name that can be executed on completion of Parent function call.