> For the complete documentation index, see [llms.txt](https://docs.emobiq.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.emobiq.com/emobiq-client/006-actions-and-visual-logic/action-reference/cordova/dataset/dynamicsgpcall.md).

# dynamicsGPCall

## Description

Is a function that needed if user want to use a function from web services.

## Input / Parameters

| No | Name      | Description                                                               | Data Type | Required |
| -- | --------- | ------------------------------------------------------------------------- | --------- | -------- |
| 1  | connector | Name of connector and created in the Services and Global Components page. | String    | Yes      |
| 2  | function  | The function from the Web Service to be executed.                         | String    | Yes      |
| 3  | data      | This contains the main parameter in the function being called.            | Object    | Yes      |

## Output

## Callback

## Video

## Example

User wants to call the dynamicsGP Web Service.

### Step

1. Create dynamics GP Connector in Services and define the name, url and timeOut.\
   Name: conn\_gp\
   url: <http://aidemosvr.cloudapp.net:48620/Metadata/Legacy/Full/DynamicsGP.wsdl\\>
   \
   user:AIDEMO\gpadmin\
   password: \*\*\*\*\*\*\*\
   timeOut: 60000

   ![](/files/wQa7vwI6hUq5NOZkSYFp)
2. Call the function "dynamicsGPCall".

   ![](/files/n5wOYxyeuXgBfBsMMwAB)
3. Define toObject.<br>

   ![](/files/Ar1OjGBYNvuEeab8TJnl)

![](/files/CeRyitClf1LCTOxC3Izy)

4. Add a console after callback function for display response from console.

   ![](/files/A2Tz61juIs8KZTOFWw3R)

### Result

![](/files/rpfH8ryjEQRLHfGyPJCU)

## Links
