# Salesmate

> Search Salesmate records and read contacts, companies, deals, and activities.

App · 9 actions. Web page: https://docs.lodol.com/docs/integrations/salesmate

## Actions

### Get activity

Get activity.

**Inputs**

- Record ID (`record_id`, number, required): Record id. At least 1.

**Outputs**

- `data` (object): The response from Salesmate.

**Example output**

```json
{
  "data": {}
}
```

### Get company

Get company.

**Inputs**

- Record ID (`record_id`, number, required): Record id. At least 1.

**Outputs**

- `data` (object): The response from Salesmate.

**Example output**

```json
{
  "data": {}
}
```

### Get contact

Get contact.

**Inputs**

- Record ID (`record_id`, number, required): Record id. At least 1.

**Outputs**

- `data` (object): The response from Salesmate.

**Example output**

```json
{
  "data": {
    "Data": {
      "billingAddressLine1": "example",
      "billingAddressLine2": "example",
      "billingCity": "example",
      "billingCountry": "example",
      "billingState": "example",
      "billingZipCode": "example",
      "clicksOfLastEmailCount": 1,
      "closedActivities": 1,
      "company": {
        "id": 1,
        "name": "example",
        "owner": {
          "email": "example",
          "firstName": "example",
          "id": 1,
          "lastName": "example",
          "mobile": "example",
          "name": "example",
          "photo": "example"
        }
      },
      "contactMultipleLookupCustomField1": [],
      "contactMultipleLookupCustomField2": [],
      "contactSingleLookupCustomField1": {},
      "contactSingleLookupCustomField2": {},
      "contactSingleLookupCustomField3": {},
      "createdAt": "example",
      "createdBy": {
        "email": "example",
        "firstName": "example",
        "id": 1,
        "lastName": "example",
        "mobile": "example",
        "name": "example",
        "photo": "example"
      },
      "currency": {
        "code": "example",
        "rate": "example",
        "symbol": "example"
      },
      "dateCustomField1": "example",
      "decimalCustomField1": 1,
      "deletedBy": {},
      "description": "example",
      "designation": "example",
      "email": "example",
      "emailMessageCount": 1,
      "emailOptOut": false,
      "emailOptOutReason": "example",
      "facebookHandle": "example",
      "firstName": "example",
      "googlePlusHandle": "example",
      "id": 1,
      "imagePath": "example",
      "instagramHandle": "example",
      "intCustomField1": 1,
      "isDeleted": false,
      "lastCommunicationBy": "example",
      "lastCommunicationMode": "example",
      "lastModifiedAt": "example",
      "lastModifiedBy": {
        "email": "example",
        "firstName": "example",
        "id": 1,
        "lastName": "example",
        "mobile": "example",
        "name": "example",
        "photo": "example"
      },
      "lastName": "example",
      "lastNoteAddedBy": {},
      "linkedInHandle": "example",
      "lostDealCount": 1,
      "mobile": "example",
      "name": "example",
      "openActivities": 1,
      "openDealCount": 1,
      "otherPhone": "example",
      "owner": {
        "email": "example",
        "firstName": "example",
        "id": 1,
        "lastName": "example",
        "mobile": "example",
        "name": "example",
        "photo": "example"
      },
      "phone": "example",
      "salesmateScore": 1,
      "shippingAddressLine1": "example",
      "shippingAddressLine2": "example",
      "shippingCity": "example",
      "shippingCountry": "example",
      "shippingState": "example",
      "shippingZipCode": "example",
      "skypeId": "example",
      "smsOptOut": false,
      "tags": "example",
      "textAreaCustomField1": "example",
      "textCustomField1": "example",
      "textCustomField2": "example",
      "textCustomField3": "example",
      "textCustomField4": "example",
      "textCustomField5": "example",
      "timezone": "example",
      "totalActivities": 1,
      "totalAmountOfLostDeal": 1,
      "totalAmountOfOpenDeal": 1,
      "totalAmountOfWonDeal": 1,
      "twitterHandle": "example",
      "type": "example",
      "viewsOfLastEmailCount": 1,
      "website": "example",
      "wonDealCount": 1
    },
    "Status": "example"
  }
}
```

### Get deal

Get deal.

**Inputs**

- Record ID (`record_id`, number, required): Record id. At least 1.

**Outputs**

- `data` (object): The response from Salesmate.

**Example output**

```json
{
  "data": {}
}
```

### List active users

List active users.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Salesmate.

**Example output**

```json
{
  "data": {}
}
```

### Search activitys

Search activitys.

**Inputs**

- Offset (`offset`, number): Offset. At least 0.
- Page size (`page_size`, number): Page size. From 1 to 250.
- Sort (`sort`, object): Sort.

**Outputs**

- `data` (object): The response from Salesmate.

**Example output**

```json
{
  "data": {
    "Data": {
      "data": [],
      "selectedView": 1,
      "totalPages": 1,
      "totalRows": 1
    },
    "Status": "example"
  }
}
```

### Search companys

Search companys.

**Inputs**

- Offset (`offset`, number): Offset. At least 0.
- Page size (`page_size`, number): Page size. From 1 to 250.
- Sort (`sort`, object): Sort.

**Outputs**

- `data` (object): The response from Salesmate.

**Example output**

```json
{
  "data": {
    "Data": {
      "data": [],
      "selectedView": 1,
      "totalPages": 1,
      "totalRows": 1
    },
    "Status": "example"
  }
}
```

### Search contacts

Search contacts.

**Inputs**

- Offset (`offset`, number): Offset. At least 0.
- Page size (`page_size`, number): Page size. From 1 to 250.
- Sort (`sort`, object): Sort.

**Outputs**

- `data` (object): The response from Salesmate.

**Example output**

```json
{
  "data": {
    "Data": {
      "data": [],
      "selectedView": 1,
      "totalPages": 1,
      "totalRows": 1
    },
    "Status": "example"
  }
}
```

### Search deals

Search deals.

**Inputs**

- Offset (`offset`, number): Offset. At least 0.
- Page size (`page_size`, number): Page size. From 1 to 250.
- Sort (`sort`, object): Sort.

**Outputs**

- `data` (object): The response from Salesmate.

**Example output**

```json
{
  "data": {
    "Data": {
      "data": [],
      "selectedView": 1,
      "totalPages": 1,
      "totalRows": 1
    },
    "Status": "example"
  }
}
```
