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

URLhttps://odata-api.fledge.nl/v2-8/ServiceCalls
Keyadministration_idservice_call_id
AdministrationRows belong to one administration: always filter on administration_id.
OperationsGET listGET onePOSTPATCHDELETE
Read licensesBASISBASISAPP
Write licensesBEHEER
ScopesFLEDGE_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

FieldTypeDescription
administration_idkeyInt32Administratienummer
service_call_idkeyInt32Service call nummer
employee_idInt32Mannummer
relation_contact_person_idInt32Kontaktpers.: Kontakt persoon nummer
relation_idInt32Relatie
is_completedBooleanAfgewerkt (j/n)

The call is done; use this, not completion_date.

entry_dateDateDatum binnengekomen: Datum binnenkomst service call

The date received.

planning_dateDateDat.plan: Datum planning

The planned date; may be filled with the creation date by default.

completion_dateDateDatum uit: Datum afgehandeld

The date handled; may be filled with the creation date by default.

problem_memoStringBeschrijving van het probleem
statusInt32Status van service object call

A number whose values aren't documented.

Wingman