# OfficeRnD

> Look up OfficeRnD Flex members, companies, spaces, bookings and opportunities.

App · 20 actions. Web page: https://docs.lodol.com/docs/integrations/officernd

## Actions

### Get booking

Get booking from OfficeRnD.

**Inputs**

- Booking ID (`booking_id`, text, required): booking id

**Outputs**

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

**Example output**

```json
{
  "data": {
    "_id": "example",
    "company": "example",
    "createdAt": "example",
    "end": "example",
    "fees": [
      {
        "coins": [
          {}
        ],
        "credits": [
          {}
        ],
        "customPrice": 1,
        "date": "example",
        "extraFees": [
          "example"
        ],
        "fee": "example",
        "passes": [
          "example"
        ]
      }
    ],
    "location": "example",
    "member": "example",
    "properties": {},
    "recurrence": {
      "exdates": [
        "example"
      ],
      "rrule": "example"
    },
    "resource": "example",
    "seriesEnd": "example",
    "seriesStart": "example",
    "start": "example",
    "timezone": "example"
  }
}
```

### Get company

Get company from OfficeRnD.

**Inputs**

- Company (`company_id`, text, required): company id

**Outputs**

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

**Example output**

```json
{
  "data": {
    "_id": "example",
    "address": {
      "city": "example",
      "country": "example",
      "state": "example",
      "street": "example",
      "zip": "example"
    },
    "billingDetails": {
      "billingAddress": {},
      "billingName": "example",
      "date": 1,
      "paymentMethod": "example",
      "registrationNumber": "example",
      "shouldSendOverdueReminders": true,
      "taxRate": "example",
      "vatNumber": "example"
    },
    "createdAt": "example",
    "description": "example",
    "email": "example",
    "image": "example",
    "location": "example",
    "name": "example",
    "portalPrivacy": {
      "isVisible": true,
      "showContactDetails": true,
      "showSocialProfiles": true
    },
    "properties": {},
    "startDate": "example",
    "status": "active",
    "url": "example"
  }
}
```

### Get location

Get location from OfficeRnD.

**Inputs**

- Location (`location_id`, text, required): location id

**Outputs**

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

**Example output**

```json
{
  "data": {
    "_id": "example",
    "address": {
      "city": "example",
      "country": "example",
      "formattedAddress": "example",
      "latitude": "example",
      "longitude": "example",
      "state": "example",
      "street": "example",
      "zip": "example"
    },
    "code": "example",
    "image": "example",
    "isOpen": true,
    "isPublic": true,
    "name": "example",
    "properties": {},
    "targetRevenuePerPeriod": [
      {
        "endDate": "example",
        "startDate": "example",
        "target": 1
      }
    ],
    "timezone": "example"
  }
}
```

### Get member

Get member from OfficeRnD.

**Inputs**

- Member (`member_id`, text, required): member id

**Outputs**

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

**Example output**

```json
{
  "data": {
    "_id": "example",
    "company": "example",
    "createdAt": "example",
    "description": "example",
    "email": "example",
    "image": "example",
    "isBillingPerson": true,
    "isContactPerson": true,
    "location": "example",
    "name": "example",
    "phone": "example",
    "properties": {},
    "startDate": "example",
    "status": "active"
  }
}
```

### Get opportunity

Get opportunity from OfficeRnD.

**Inputs**

- Opportunity ID (`opportunity_id`, text, required): opportunity id

**Outputs**

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

**Example output**

```json
{
  "data": {
    "_id": "example",
    "company": "example",
    "createdAt": "example",
    "createdBy": "example",
    "dealSize": 1,
    "member": "example",
    "membersCount": 1,
    "name": "example",
    "probability": 1,
    "properties": {},
    "requestedPlans": "example",
    "resources": "example",
    "startDate": "example",
    "status": "example"
  }
}
```

### Get organization

Get organization from OfficeRnD.

**Inputs**: None.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "_id": "example",
    "description": "example",
    "imageUrl": "example",
    "name": "example",
    "region": "example",
    "slug": "example"
  }
}
```

### Get resource

Get resource from OfficeRnD.

**Inputs**

- Resource (`resource_id`, text, required): resource id

**Outputs**

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

**Example output**

```json
{
  "data": {
    "_id": "example",
    "area": 1,
    "childrenCount": 1,
    "createdAt": "example",
    "deposit": 1,
    "description": "example",
    "floor": "example",
    "location": "example",
    "name": "example",
    "price": 1,
    "properties": {},
    "rate": "example",
    "size": 1,
    "type": "example"
  }
}
```

### List bookings

List bookings from OfficeRnD.

**Inputs**

- Record ID (`record_id`, text): Filter by the _id of the booking. Supports both single id values (e.g., _id=603dfbc260f4054084125d33) and array operations (e.g., _id[$in]=603dfbc260f4054084125d33,603dfbc260f4054084125d34). Note: Multiple values in simple string format (e.g., _id=603dfbc260f4054084125d33,603dfbc260f4054084125d34) are not allowed - use _id[$in] format instead.
- Company (`company`, text): Filter by company id.
- Member (`member`, text): Filter by member id.
- Location (`location`, text): Filter by location id.
- Resource (`resource`, text): Filter by single or multiple resource ids.
- Series start (`series_start`, date and time): Include records at or after this date and time.
- Series end (`series_end`, date and time): Include records at or after this date and time.
- Reference (`reference`, text): Filter by single or multiple reference numbers.
- Is cancelled (`is_cancelled`, true/false): Determines whether the whole booking is canceled or not.
- Is tentative (`is_tentative`, true/false): Determines whether the booking is tentative (not confirmed) or not.
- Modified at (`modified_at`, date and time): Include records at or after this date and time.
- Created at (`created_at`, date and time): Include records at or after this date and time.
- Select (`select`, text): Select fields to return
- Cursor next (`cursor_next`, text): Cursor next.
- Cursor prev (`cursor_prev`, text): Cursor prev.
- Limit (`limit`, number): Limit. At least 1.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "cursorNext": "example",
    "cursorPrev": "example",
    "rangeEnd": 1,
    "rangeStart": 1,
    "results": [
      {
        "_id": "example",
        "company": "example",
        "createdAt": "example",
        "end": "example",
        "fees": [
          {}
        ],
        "location": "example",
        "member": "example",
        "properties": {},
        "recurrence": {},
        "resource": "example",
        "seriesEnd": "example",
        "seriesStart": "example",
        "start": "example",
        "timezone": "example"
      }
    ]
  }
}
```

### List companies

List companies from OfficeRnD.

**Inputs**

- Record ID (`record_id`, text): The exact id of the company you are looking for.
- Name (`name`, text): The exact name of the company you are looking for.
- Email (`email`, text): Filter by the email of the company. This returns a result only if the email is an exact match (case-insensitive).
- Location (`location`, text): Filter by location id.
- Status (`status`, text): Filter by the status of the company. Accepts either a single status value or an array operator filter for multiple values. Available status values: active, former, pending, inactive, not_approved, drop-in, lead. One of: `active`, `former`, `pending`, `inactive`, `not_approved` (Not approved), `drop-in`, `lead`.
- Created at (`created_at`, date and time): Include records at or after this date and time.
- Modified at (`modified_at`, date and time): Include records at or after this date and time.
- Properties (`properties`, text): Filter by custom properties. Uses deepObject style in query. Only string values are supported.
- Select (`select`, text): Select fields to return
- Cursor next (`cursor_next`, text): Cursor next.
- Cursor prev (`cursor_prev`, text): Cursor prev.
- Limit (`limit`, number): Limit. At least 1.
- Sort (`sort`, text): Sort expression in the format `:`, where `order` is `asc` or `desc`

**Outputs**

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

**Example output**

```json
{
  "data": {
    "cursorNext": "example",
    "cursorPrev": "example",
    "rangeEnd": 1,
    "rangeStart": 1,
    "results": [
      {
        "_id": "example",
        "address": {},
        "billingDetails": {},
        "createdAt": "example",
        "description": "example",
        "email": "example",
        "image": "example",
        "location": "example",
        "name": "example",
        "portalPrivacy": {},
        "properties": {},
        "startDate": "example",
        "status": "active",
        "url": "example"
      }
    ]
  }
}
```

### List events

List events from OfficeRnD.

**Inputs**

- Location (`location`, text): Filter by event location id.
- Start (`start`, date and time): Include records at or after this date and time.
- End (`end`, date and time): Include records at or after this date and time.
- Modified at (`modified_at`, date and time): Include records at or after this date and time.
- Created at (`created_at`, date and time): Include records at or after this date and time.
- Select (`select`, text): Select fields to return
- Cursor next (`cursor_next`, text): Cursor next.
- Cursor prev (`cursor_prev`, text): Cursor prev.
- Limit (`limit`, number): Limit. At least 1.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "cursorNext": "example",
    "cursorPrev": "example",
    "rangeEnd": 1,
    "rangeStart": 1,
    "results": [
      {
        "_id": "example",
        "company": "example",
        "description": "example",
        "end": "example",
        "image": "example",
        "limit": 1,
        "links": [
          "example"
        ],
        "location": "example",
        "locations": [
          "example"
        ],
        "member": "example",
        "start": "example",
        "timezone": "example",
        "title": "example",
        "where": "example"
      }
    ]
  }
}
```

### List floors

List floors from OfficeRnD.

**Inputs**

- Record ID (`record_id`, text): The exact _id of the item you are looking for.
- Name (`name`, text): The exact name of the item you are looking for.
- Location (`location`, text): Filter by location id.
- Created at (`created_at`, date and time): Include records at or after this date and time.
- Modified at (`modified_at`, date and time): Include records at or after this date and time.
- Select (`select`, text): Select fields to return
- Cursor next (`cursor_next`, text): Cursor next.
- Cursor prev (`cursor_prev`, text): Cursor prev.
- Limit (`limit`, number): Limit. At least 1.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "cursorNext": "example",
    "cursorPrev": "example",
    "rangeEnd": 1,
    "rangeStart": 1,
    "results": [
      {
        "_id": "example",
        "area": 1,
        "createdAt": "example",
        "floor": "example",
        "isOpen": true,
        "location": "example",
        "modifiedAt": "example",
        "name": "example"
      }
    ]
  }
}
```

### List locations

List locations from OfficeRnD.

**Inputs**

- Record ID (`record_id`, text): Filter by location id.
- Name (`name`, text): Filter by exact name of the location.
- Is open (`is_open`, true/false): Filter by the open status of the location. If true, the location is operational; if false or omitted the location is not working - either not open yet, or suspended for some other reason.
- Is public (`is_public`, true/false): Filter by the public status of the location. If true, the location is shown in the members portal; if false or omitted the location is not displayed in the members portal.
- Modified at (`modified_at`, date and time): Include records at or after this date and time.
- Created at (`created_at`, date and time): Include records at or after this date and time.
- Select (`select`, text): Select fields to return
- Cursor next (`cursor_next`, text): Cursor next.
- Cursor prev (`cursor_prev`, text): Cursor prev.
- Limit (`limit`, number): Limit. At least 1.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "cursorNext": "example",
    "cursorPrev": "example",
    "rangeEnd": 1,
    "rangeStart": 1,
    "results": [
      {
        "_id": "example",
        "address": {},
        "code": "example",
        "image": "example",
        "isOpen": true,
        "isPublic": true,
        "name": "example",
        "properties": {},
        "targetRevenuePerPeriod": [
          {}
        ],
        "timezone": "example"
      }
    ]
  }
}
```

### List members

List members from OfficeRnD.

**Inputs**

- Record ID (`record_id`, text): Filter by the member id.
- Name (`name`, text): Filter by the name of the member. This returns a result only if the name is an exact match.
- Email (`email`, text): Filter by the email of the member. This returns a result only if the email is an exact match.
- Location (`location`, text): Filter by the location id of the member.
- Company (`company`, text): Filter by the company id of the member.
- Status (`status`, text): Filter by the status of the member. Accepts either a single status value or an array operator filter for multiple values. Single value: status=active Multiple values: status[$in]=active,pending Available status values: active, former, pending, contact, not_approved, drop-in, lead. One of: `active`, `former`, `pending`, `contact`, `not_approved` (Not approved), `drop-in`, `lead`.
- Is billing person (`is_billing_person`, true/false): Filter by whether the member is the billing person for their company.
- Created at (`created_at`, date and time): Include records at or after this date and time.
- Modified at (`modified_at`, date and time): Include records at or after this date and time.
- Properties (`properties`, text): Filter by custom properties. Uses deepObject style in query. Only string values are supported.
- Select (`select`, text): Select fields to return
- Cursor next (`cursor_next`, text): Cursor next.
- Cursor prev (`cursor_prev`, text): Cursor prev.
- Limit (`limit`, number): Limit. At least 1.
- Sort (`sort`, text): Sort expression in the format `:`, where `order` is `asc` or `desc`

**Outputs**

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

**Example output**

```json
{
  "data": {
    "cursorNext": "example",
    "cursorPrev": "example",
    "rangeEnd": 1,
    "rangeStart": 1,
    "results": [
      {
        "_id": "example",
        "company": "example",
        "createdAt": "example",
        "description": "example",
        "email": "example",
        "image": "example",
        "isBillingPerson": true,
        "isContactPerson": true,
        "location": "example",
        "name": "example",
        "phone": "example",
        "properties": {},
        "startDate": "example",
        "status": "active"
      }
    ]
  }
}
```

### List opportunities

List opportunities from OfficeRnD.

**Inputs**

- Record ID (`record_id`, text): Filter by the id of the opportunity
- Company (`company`, text): Filter by company id.
- Member (`member`, text): Filter by member id.
- Created at (`created_at`, date and time): Include records at or after this date and time.
- Modified at (`modified_at`, date and time): Include records at or after this date and time.
- Select (`select`, text): Select fields to return
- Cursor next (`cursor_next`, text): Cursor next.
- Cursor prev (`cursor_prev`, text): Cursor prev.
- Limit (`limit`, number): Limit. At least 1.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "cursorNext": "example",
    "cursorPrev": "example",
    "rangeEnd": 1,
    "rangeStart": 1,
    "results": [
      {
        "_id": "example",
        "company": "example",
        "createdAt": "example",
        "createdBy": "example",
        "dealSize": 1,
        "member": "example",
        "membersCount": 1,
        "name": "example",
        "probability": 1,
        "properties": {},
        "requestedPlans": "example",
        "resources": "example",
        "startDate": "example",
        "status": "example"
      }
    ]
  }
}
```

### List opportunity statuses

List opportunity statuses from OfficeRnD.

**Inputs**

- Select (`select`, text): Select fields to return
- Cursor next (`cursor_next`, text): Cursor next.
- Cursor prev (`cursor_prev`, text): Cursor prev.
- Limit (`limit`, number): Limit. At least 1.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "cursorNext": "example",
    "cursorPrev": "example",
    "rangeEnd": 1,
    "rangeStart": 1,
    "results": [
      {
        "_id": "example",
        "description": "example",
        "isSystem": "example",
        "name": "example",
        "probability": 1
      }
    ]
  }
}
```

### List resource types

List resource types from OfficeRnD.

**Inputs**

- Record ID (`record_id`, list): Filter by the _id of the resource type.
- Type (`type`, list): Filter by the type of the resource type(s).
- Select (`select`, text): Select fields to return
- Cursor next (`cursor_next`, text): Cursor next.
- Cursor prev (`cursor_prev`, text): Cursor prev.
- Limit (`limit`, number): Limit. At least 1.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "cursorNext": "example",
    "cursorPrev": "example",
    "rangeEnd": 1,
    "rangeStart": 1,
    "results": [
      {
        "_id": "example",
        "bookingMode": "time",
        "canAssign": true,
        "canBook": true,
        "checkinMode": "hour",
        "icon": "example",
        "isHierarchical": true,
        "isPrimary": true,
        "title": "example",
        "type": "example"
      }
    ]
  }
}
```

### List resources

List resources from OfficeRnD.

**Inputs**

- Record ID (`record_id`, text): Filter by unique resource identifier.
- Name (`name`, text): Filter by exact name of the resource.
- Location (`location`, text): Filter by the location the resource is assigned to.
- Type (`type`, text): Filter by the type of the resource.
- Modified at (`modified_at`, date and time): Include records at or after this date and time.
- Created at (`created_at`, date and time): Include records at or after this date and time.
- Select (`select`, text): Select fields to return
- Cursor next (`cursor_next`, text): Cursor next.
- Cursor prev (`cursor_prev`, text): Cursor prev.
- Limit (`limit`, number): Limit. At least 1.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "cursorNext": "example",
    "cursorPrev": "example",
    "rangeEnd": 1,
    "rangeStart": 1,
    "results": [
      {
        "_id": "example",
        "area": 1,
        "childrenCount": 1,
        "createdAt": "example",
        "deposit": 1,
        "description": "example",
        "floor": "example",
        "location": "example",
        "name": "example",
        "price": 1,
        "properties": {},
        "rate": "example",
        "size": 1,
        "type": "example"
      }
    ]
  }
}
```

### List tickets

List tickets from OfficeRnD.

**Inputs**

- Select (`select`, text): Select fields to return
- Cursor next (`cursor_next`, text): Cursor next.
- Cursor prev (`cursor_prev`, text): Cursor prev.
- Limit (`limit`, number): Limit. At least 1.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "cursorNext": "example",
    "cursorPrev": "example",
    "rangeEnd": 1,
    "rangeStart": 1,
    "results": [
      {
        "_id": "example",
        "assignedTo": "example",
        "attachments": [
          "example"
        ],
        "company": "example",
        "createdAt": "example",
        "location": "example",
        "member": "example",
        "message": "example",
        "priority": "example",
        "resolvedDate": "example",
        "severity": "example",
        "status": "open",
        "subject": "example",
        "type": "example"
      }
    ]
  }
}
```

### List visitors

List visitors from OfficeRnD.

**Inputs**

- Record ID (`record_id`, text): Filter by visitor id. Supports both single id values (e.g., _id=66623dc53090242657393910) and array operations (e.g., _id[$in]=66623dc53090242657393910,66623dbf309024265739390a). Note: Multiple values in simple string format (e.g., _id=66623dc53090242657393910,66623dbf309024265739390a) are not allowed - use _id[$in] format instead.
- Name (`name`, text): Filter by exact visitor name.
- Email (`email`, text): Filter by exact visitor email.
- Type (`type`, text): Filter by the type of the visitor. One of: `preregistration`, `reception`.
- Select (`select`, text): Select fields to return
- Cursor next (`cursor_next`, text): Cursor next.
- Cursor prev (`cursor_prev`, text): Cursor prev.
- Limit (`limit`, number): Limit. At least 1.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "cursorNext": "example",
    "cursorPrev": "example",
    "rangeEnd": 1,
    "rangeStart": 1,
    "results": [
      {
        "_id": "example",
        "company": "example",
        "description": "example",
        "email": "example",
        "member": "example",
        "name": "example",
        "phone": "example",
        "type": "preregistration"
      }
    ]
  }
}
```

### List visits

List visits from OfficeRnD.

**Inputs**

- Record ID (`record_id`, text): Filter by visit id.
- Visitor (`visitor`, text): Filter by visitor id.
- Member (`member`, text): Filter by member id.
- Location (`location`, text): Filter by location id.
- Start (`start`, date and time): Include records at or after this date and time.
- End (`end`, date and time): Include records at or after this date and time.
- Created at (`created_at`, date and time): Include records at or after this date and time.
- Select (`select`, text): Select fields to return
- Cursor next (`cursor_next`, text): Cursor next.
- Cursor prev (`cursor_prev`, text): Cursor prev.
- Limit (`limit`, number): Limit. At least 1.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "cursorNext": "example",
    "cursorPrev": "example",
    "rangeEnd": 1,
    "rangeStart": 1,
    "results": [
      {
        "_id": "example",
        "end": "example",
        "location": "example",
        "member": "example",
        "properties": {},
        "receptionFlow": "example",
        "start": "example",
        "visitor": "example"
      }
    ]
  }
}
```
