GetCodeTypeMaster
This method is used to return the Code Type in HCL BigFix CLM.
Method Signature:
GetCodeTypeMaster()
Sample Response:
[{"Code":"AWSRIR","text":"Reserved Instance","CodeType":"CETYPE",
"Description":"Amazon Cost Explorer Reserved Instance","PrintOrder":"1","IsActive":"Y","IsBillable":"","IsComputable24Hours":"","IsBillableAsSeperateItem":"",
"ApplicableCloudPlatForm":"","OptionalField1":"","OptionalField2":"",
"OptionalField3":"","OptionalField4":""},{"Code":"FORECAST","text":"Usage Forecast",
"CodeType":"CETYPE","Description":"Amazon Cost Explorer Usage Forecast","PrintOrder":"2","IsActive":"Y","IsBillable":"","IsComputable24Hours":"",
"IsBillableAsSeperateItem":"","ApplicableCloudPlatForm":"",
"OptionalField1":"","OptionalField2":"","OptionalField3":"","OptionalField4":""}]
Parameter Details:
| Parameter Name | Type | Mandatory | Description |
|---|---|---|---|
| codeType | String | Y | Service Plan ID is a plan related to cost model created by provider and map to the resource in HCL BigFix CLM. |
| Filter | String | N | Filter is optional where the user can pass the clause |
| 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. |