# Class: InjectBusinessServiceRequest

## tibco.objectapi.service.request.InjectBusinessServiceRequest

#### new InjectBusinessServiceRequest(payload, eventName, moduleName, processId, processName)

Object InjectBusinessServiceRequest Usage: `RestApiService.getBusinessServiceService().injectBusinessService(request, callback);`

##### Parameters:

Name | Type | Description
--- | --- | ---
`payload` | tibco.objectapi.common.datafeed.DataPayload | Specifies the page data for the formal parameters associated with the event.
`eventName` | string | Name of the event to be injected into the business service. Note: You cannot obtain this name programmatically. You must obtain it by examining the process in TIBCO Business Studio.
`moduleName` | string | Name of the module that contains the business service.
`processId` | string | Identifier of the business service instance.
`processName` | string | Name of the business service.

Since:
  - 4.0.0

### Members

#### responseType :string

Query parameter: 'responsetype' (optional) Enumerated value defining the format of the data payload to be used in the response message - either XML or JSON.

##### Type:

- string

Since:
  - 4.0.0
Default Value:
  - = JSON