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_idservice_call_id |
| Administration | Rows belong to one administration: always filter on administration_id. |
| Operations | GET listGET onePOSTPATCHDELETE |
| Read licenses | BASISBASISAPP |
| Write licenses | BEHEER |
| Scopes | FLEDGE_PORTAL |
Example requests
A page of rows, with only the fields you need. See Authentication for the token.
curl -G "https://odata-api.fledge.nl/v2-8/ServiceCalls" \
--data-urlencode '$filter=administration_id eq 1' \
--data-urlencode '$select=service_call_id,is_completed,entry_date,planning_date' \
--data-urlencode '$top=50' \
-H "Authorization: Bearer $TOKEN"const url = new URL('https://odata-api.fledge.nl/v2-8/ServiceCalls');
url.searchParams.set('$filter', 'administration_id eq 1');
url.searchParams.set('$select', 'service_call_id,is_completed,entry_date,planning_date');
url.searchParams.set('$top', '50');
const response = await fetch(url, { headers: { Authorization: `Bearer ${token}` } });
const { value } = await response.json();var url = "https://odata-api.fledge.nl/v2-8/ServiceCalls" + "?" + string.Join("&",
"$filter=" + Uri.EscapeDataString("administration_id eq 1"),
"$select=" + Uri.EscapeDataString("service_call_id,is_completed,entry_date,planning_date"),
"$top=" + Uri.EscapeDataString("50"));
http.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token);
var json = await http.GetStringAsync(url);One row by its key:
GET https://odata-api.fledge.nl/v2-8/ServiceCalls(administration_id=1,service_call_id={service_call_id})Fields
| Field | Type | Description |
|---|---|---|
administration_idkey | Int32 | Administratienummer |
service_call_idkey | Int32 | 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. |