# ServiceCalls

> A service call: a customer's request for service.

Subject: Service.

A service call: a customer's request for service. It has no link to a service object or a service order, and no screen in the app uses it.

Label in Fledge: Service call.

| | |
| --- | --- |
| URL | `https://odata-api.fledge.nl/v2-8/ServiceCalls` |
| Key | `administration_id`, `service_call_id` |
| Administration-specific | yes: always filter on `administration_id` |
| Operations | GET list, GET one, POST, PATCH, DELETE |
| Read licenses | BASIS, BASISAPP |
| Write licenses | BEHEER |
| Scopes | FLEDGE_PORTAL |

## Example requests

```http
GET https://odata-api.fledge.nl/v2-8/ServiceCalls?$filter=administration_id eq 1&$select=service_call_id,is_completed,entry_date,planning_date&$top=50
GET https://odata-api.fledge.nl/v2-8/ServiceCalls(administration_id=1,service_call_id={service_call_id})
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `administration_id` (key) | Int32, not null | Administratienummer |
| `service_call_id` (key) | Int32, not null | Service call nummer |
| `employee_id` | Int32 | Mannummer |
| `relation_contact_person_id` | Int32 | Kontaktpers.: Kontakt persoon nummer |
| `relation_id` | Int32 | Relatie |
| `is_completed` | Boolean | Afgewerkt (j/n). The call is done; use this, not completion_date. |
| `entry_date` | Date | Datum binnengekomen: Datum binnenkomst service call. The date received. |
| `planning_date` | Date | Dat.plan: Datum planning. The planned date; may be filled with the creation date by default. |
| `completion_date` | Date | Datum uit: Datum afgehandeld. The date handled; may be filled with the creation date by default. |
| `problem_memo` | String | Beschrijving van het probleem |
| `status` | Int32 | Status van service object call. A number whose values aren't documented. |

---

Source: https://docs.fledge.nl/en/api/reference/ServiceCalls
