# Class: RestApiService

## tibco.objectapi.service.RestApiService

#### new RestApiService()

Provides access to the Object API REST services. At runtime, a singleton instance of this class is injected as the global variable `RestApiService`.

### Methods

#### getAuditService() → {tibco.objectapi.service.AuditService}

Returns the AuditService instance.
Any of the AuditService methods can be called on this instance.

##### Returns:

Type
  tibco.objectapi.service.AuditService

#### getBusinessDeadlineService() → {tibco.objectapi.service.BusinessDeadlineService}

Returns the BusinessDeadlineService instance.
Any of the BusinessDeadlineService methods can be called on this instance.

##### Returns:

Type
  tibco.objectapi.service.BusinessDeadlineService

#### getBusinessServiceService() → {tibco.objectapi.service.BusinessServiceService}

Returns the BusinessServiceService instance.
Any of the BusinessServiceService methods can be called on this instance.

##### Returns:

Type
  tibco.objectapi.service.BusinessServiceService

#### getCaseActionService() → {tibco.objectapi.service.CaseActionService}

Returns the CaseActionService instance.
Any of the CaseActionService methods can be called on this instance.

##### Returns:

Type
  tibco.objectapi.service.CaseActionService

#### getChannelBusService() → {tibco.objectapi.service.ChannelBusService}

Returns the ChannelBusService instance.
Any of the ChannelBusService methods can be called on this instance.

##### Returns:

Type
  tibco.objectapi.service.ChannelBusService

#### getClientService() → {tibco.objectapi.service.ClientService}

Returns the ClientService instance.
Any of the ClientService methods can be called on this instance.

##### Returns:

Type
  tibco.objectapi.service.ClientService

#### getDirectoryService() → {tibco.objectapi.service.DirectoryService}

Returns the DirectoryService instance.
Any of the DirectoryService methods can be called on this instance.

##### Returns:

Type
  tibco.objectapi.service.DirectoryService

#### getDocumentService() → {tibco.objectapi.service.DocumentService}

Returns the DocumentService instance.
Any of the DocumentService methods can be called on this instance.

##### Returns:

Type
  tibco.objectapi.service.DocumentService

#### getDynamicResourceQueryService() → {tibco.objectapi.service.DynamicResourceQueryService}

Returns the DynamicResourceQueryService instance.
Any of the DynamicResourceQueryService methods can be called on this instance.

##### Returns:

Type
  tibco.objectapi.service.DynamicResourceQueryService

#### getEntityResolverPrivateService() → {tibco.objectapi.service.EntityResolverPrivateService}

Returns the EntityResolverPrivateService instance.
Any of the EntityResolverPrivateService methods can be called on this instance.

##### Returns:

Type
  tibco.objectapi.service.EntityResolverPrivateService

#### getEntityResolverService() → {tibco.objectapi.service.EntityResolverService}

Returns the EntityResolverService instance.
Any of the EntityResolverService methods can be called on this instance.

##### Returns:

Type
  tibco.objectapi.service.EntityResolverService

#### getExporterService() → {tibco.objectapi.service.ExporterService}

Returns the ExporterService instance.
Any of the ExporterService methods can be called on this instance.

##### Returns:

Type
  tibco.objectapi.service.ExporterService

#### getGlobaldataAdminService() → {tibco.objectapi.service.GlobaldataAdminService}

Returns the GlobaldataAdminService instance.
Any of the GlobaldataAdminService methods can be called on this instance.

##### Returns:

Type
  tibco.objectapi.service.GlobaldataAdminService

#### getGlobaldataService() → {tibco.objectapi.service.GlobaldataService}

Returns the GlobaldataService instance.
Any of the GlobaldataService methods can be called on this instance.

##### Returns:

Type
  tibco.objectapi.service.GlobaldataService

#### getL10nService() → {tibco.objectapi.service.L10nService}

Returns the L10nService instance.
Any of the L10nService methods can be called on this instance.

##### Returns:

Type
  tibco.objectapi.service.L10nService

#### getOrgEntityConfigService() → {tibco.objectapi.service.OrgEntityConfigService}

Returns the OrgEntityConfigService instance.
Any of the OrgEntityConfigService methods can be called on this instance.

##### Returns:

Type
  tibco.objectapi.service.OrgEntityConfigService

#### getOrgModelService() → {tibco.objectapi.service.OrgModelService}

Returns the OrgModelService instance.
Any of the OrgModelService methods can be called on this instance.

##### Returns:

Type
  tibco.objectapi.service.OrgModelService

#### getOrgResourceService() → {tibco.objectapi.service.OrgResourceService}

Returns the OrgResourceService instance.
Any of the OrgResourceService methods can be called on this instance.

##### Returns:

Type
  tibco.objectapi.service.OrgResourceService

#### getPageFlowService() → {tibco.objectapi.service.PageFlowService}

Returns the PageFlowService instance.
Any of the PageFlowService methods can be called on this instance.

##### Returns:

Type
  tibco.objectapi.service.PageFlowService

#### getProcessManagementService() → {tibco.objectapi.service.ProcessManagementService}

Returns the ProcessManagementService instance.
Any of the ProcessManagementService methods can be called on this instance.

##### Returns:

Type
  tibco.objectapi.service.ProcessManagementService

#### getResourceQueryService() → {tibco.objectapi.service.ResourceQueryService}

Returns the ResourceQueryService instance.
Any of the ResourceQueryService methods can be called on this instance.

##### Returns:

Type
  tibco.objectapi.service.ResourceQueryService

#### getRoleService() → {tibco.objectapi.service.RoleService}

Returns the RoleService instance.
Any of the RoleService methods can be called on this instance.

##### Returns:

Type
  tibco.objectapi.service.RoleService

#### getSecurityService() → {tibco.objectapi.service.SecurityService}

Returns the SecurityService instance.
Any of the SecurityService methods can be called on this instance.

##### Returns:

Type
  tibco.objectapi.service.SecurityService

#### getStatisticsService() → {tibco.objectapi.service.StatisticsService}

Returns the StatisticsService instance.
Any of the StatisticsService methods can be called on this instance.

##### Returns:

Type
  tibco.objectapi.service.StatisticsService

#### getUserSettingsService() → {tibco.objectapi.service.UserSettingsService}

Returns the UserSettingsService instance.
Any of the UserSettingsService methods can be called on this instance.

##### Returns:

Type
  tibco.objectapi.service.UserSettingsService

#### getWorkCalService() → {tibco.objectapi.service.WorkCalService}

Returns the WorkCalService instance.
Any of the WorkCalService methods can be called on this instance.

##### Returns:

Type
  tibco.objectapi.service.WorkCalService

#### getWorkItemManagementService() → {tibco.objectapi.service.WorkItemManagementService}

Returns the WorkItemManagementService instance.
Any of the WorkItemManagementService methods can be called on this instance.

##### Returns:

Type
  tibco.objectapi.service.WorkItemManagementService

#### getWorkListService() → {tibco.objectapi.service.WorkListService}

Returns the WorkListService instance.
Any of the WorkListService methods can be called on this instance.

##### Returns:

Type
  tibco.objectapi.service.WorkListService

#### getWorkPresentationService() → {tibco.objectapi.service.WorkPresentationService}

Returns the WorkPresentationService instance.
Any of the WorkPresentationService methods can be called on this instance.

##### Returns:

Type
  tibco.objectapi.service.WorkPresentationService

#### setRestServiceConfig(restServiceConfig)

Sets the REST service configuration. For each setting, the implementation object can either supply the property or a get accessor function. If both property and function are present, the value returned by the function is used.

##### Parameters:

Name | Type | Description
--- | --- | ---
`restServiceConfig` | tibco.objectapi.service.RestServiceConfig | A JavaScript object that provides various settings for REST service calls, including the base service URL.