Label in Fledge: Telemarketing acties
| URL | https://odata-api.fledge.nl/v2-8/TelemarketingActions |
|---|---|
| Key | relation_idtelemarketing_action_description_idtelemarketing_action_idtelemarketing_category_id |
| Administration | Shared by all administrations. |
| 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/TelemarketingActions" \
--data-urlencode '$select=relation_id,telemarketing_action_description_id,telemarketing_action_id,telemarketing_category_id,called_date,planned_date,start_date_time' \
--data-urlencode '$top=50' \
-H "Authorization: Bearer $TOKEN"const url = new URL('https://odata-api.fledge.nl/v2-8/TelemarketingActions');
url.searchParams.set('$select', 'relation_id,telemarketing_action_description_id,telemarketing_action_id,telemarketing_category_id,called_date,planned_date,start_date_time');
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/TelemarketingActions" + "?" + string.Join("&",
"$select=" + Uri.EscapeDataString("relation_id,telemarketing_action_description_id,telemarketing_action_id,telemarketing_category_id,called_date,planned_date,start_date_time"),
"$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/TelemarketingActions(relation_id={relation_id},telemarketing_action_description_id={telemarketing_action_description_id},telemarketing_action_id={telemarketing_action_id},telemarketing_category_id='{telemarketing_category_id}')Fields
| Field | Type | Description |
|---|---|---|
relation_idkey | Int32 | Relatie |
telemarketing_action_description_idkey | Int32 | Volgnummer telemarketing actie-omschrijving |
telemarketing_category_idkey | String | Telemarketing categorie |
telemarketing_action_idkey | Int32 | Volgnummer |
user_id | Int32 | Gebruikersnummer: Gebruikers nummer, ook een unieke key voor de tabel |
contact_person_role_id | Int32 | Contactpersoonrol |
relation_contact_person_id | Int32 | Kontaktpers.: Kontakt persoon nummer |
telemarketing_follow_up_id | String | Bron |
called_date | Date | Datum gebeld |
planned_date | Date | Datum planning |
start_date_time | DateTimeOffset | |
end_date_time | DateTimeOffset | |
called_month | Int32 | Maandnummer |
planned_month | Int32 | Maandnummer |
status | Int32 | Status |
called_time | Int32 | Tijd gebeld |
planned_time | Int32 | Tijd planning |
telemarketing_agent_id | Int32 | TM agent: Telemarketing agent |
is_sales | Boolean | Voorkeur relatie van TM agent |
called_week | Int32 | Weeknummer |
planned_week | Int32 | Weeknummer |
telemarketing_source_id | String | Vervolg |