> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Unary time-periods

> REST Web API search Unary day,week,month,quarter,year

## Unary day

### Before today

```http theme={null}
GET /api/v1/appointment?$select=date,type,text,contact/name?&$filter=date beforeToday HTTP/1.1
Authorization: Bearer 8A:
Content-Type: application/json
Accept: application/json
```

### On today

```http theme={null}
GET /api/v1/appointment?$select=date,type,text,contact/name?&$filter=date today HTTP/1.1
Authorization: Bearer 8A:
Content-Type: application/json
Accept: application/json
```

### After today

```http theme={null}
GET /api/v1/appointment?$select=date,type,text,contact/name?&$filter=date afterToday HTTP/1.1
Authorization: Bearer 8A:
Content-Type: application/json
Accept: application/json
```

## Unary weeks

### Last week

```http theme={null}
GET /api/v1/appointment?$select=date,type,text,contact/name?&$filter=date lastWeek HTTP/1.1
Authorization: Bearer 8A:
Content-Type: application/json
Accept: application/json
```

### This week

```http theme={null}
GET /api/v1/appointment?$select=date,type,text,contact/name?&$filter=date thisWeek HTTP/1.1
Authorization: Bearer 8A:
Content-Type: application/json
Accept: application/json
```

### Next week

```http theme={null}
GET /api/v1/appointment?$select=date,type,text,contact/name?&$filter=date nextWeek HTTP/1.1
Authorization: Bearer 8A:
Content-Type: application/json
Accept: application/json
```

## Unary months

### Last month

```http theme={null}
GET /api/v1/appointment?$select=date,type,text,contact/name?&$filter=date lastMonth HTTP/1.1
Authorization: Bearer 8A:
Content-Type: application/json
Accept: application/json
```

### This month

```http theme={null}
GET /api/v1/appointment?$select=date,type,text,contact/name?&$filter=date thisMonth HTTP/1.1
Authorization: Bearer 8A:
Content-Type: application/json
Accept: application/json
```

### Next month

```http theme={null}
GET /api/v1/appointment?$select=date,type,text,contact/name?&$filter=date nextMonth HTTP/1.1
Authorization: Bearer 8A:
Content-Type: application/json
Accept: application/json
```

## Unary quarters

### Last quarter

```http theme={null}
GET /api/v1/appointment?$select=date,type,text,contact/name?&$filter=date lastQuarter HTTP/1.1
Authorization: Bearer 8A:
Content-Type: application/json
Accept: application/json
```

### This quarter

```http theme={null}
GET /api/v1/appointment?$select=date,type,text,contact/name?&$filter=date thisQuarter HTTP/1.1
Authorization: Bearer 8A:
Content-Type: application/json
Accept: application/json
```

### Next quarter

```http theme={null}
GET /api/v1/appointment?$select=date,type,text,contact/name?&$filter=date nextQuarter HTTP/1.1
Authorization: Bearer 8A:
Content-Type: application/json
Accept: application/json
```

## Unary years

### This half

```http theme={null}
GET /api/v1/appointment?$select=date,type,text,contact/name?&$filter=date thisHalf HTTP/1.1
Authorization: Bearer 8A:
Content-Type: application/json
Accept: application/json
```

### This year

```http theme={null}
GET /api/v1/appointment?$select=date,type,text,contact/name?&$filter=date thisYear HTTP/1.1
Authorization: Bearer 8A:
Content-Type: application/json
Accept: application/json
```


## Related topics

- [period](/en/api/mdo-providers/reference/period.md)
- [periods](/en/api/mdo-providers/reference/periods.md)
- [REST WebAPI search](/en/api/search/odata/index.md)
- [target_period table](/en/database/tables/target-period.md)
- [Get All](/en/api/reference/restful/rest/product/get-all.md)
