Administration - Get API Version
Get the current version of the API.
https://api.e-act.nl/api/1.0/version
Success 200
Field | Type | Description |
---|---|---|
version | String |
The current version of the API |
Get the current version of the API.
https://api.e-act.nl/api/1.0/version
Field | Type | Description |
---|---|---|
version | String |
The current version of the API |
Get all defined fields within an administration, both free fields as standard fields
https://api.e-act.nl/api/1.0/fields
Field | Type | Description |
---|---|---|
admin | Number |
administration id of caller (used as authentication) |
key | String |
administration API access key of caller (used as authentication) |
Field | Type | Description |
---|---|---|
fields | Object |
|
Name | Description |
---|---|
error |
An error message. |
Get all defined tags within an administration.
https://api.e-act.nl/api/1.0/tags
Field | Type | Description |
---|---|---|
admin | Number |
administration id of caller (used as authentication) |
key | String |
administration API access key of caller (used as authentication) |
Field | Type | Description |
---|---|---|
tags | Object |
|
Name | Description |
---|---|
error |
An error message. |
Load an administration with the given id
https://api.e-act.nl/api/1.0/admins/{id}
Field | Type | Description |
---|---|---|
id | Number |
ID of admin to fetch |
admin | Number |
administration id of caller (used as authentication) |
key | String |
administration API access key of caller (used as authentication) |
Field | Type | Description |
---|---|---|
admin | Object |
|
Name | Description |
---|---|
error |
An error message. |
Returns a complete list of listmanagers within an administration
https://api.e-act.nl/api/1.0/listmanagers
Field | Type | Description |
---|---|---|
admin | Number |
administration id of caller (used as authentication) |
key | String |
administration API access key of caller (used as authentication) |
Field | Type | Description |
---|---|---|
list | Object |
List of listmanagers |
Name | Description |
---|---|
error |
An error message. |
Start a listmanager for the given relation including GDPR consent (new EU privacy regulations)
https://api.e-act.nl/api/1.0/listmanagers/{listId}/gdpr_subscribe
Field | Type | Description |
---|---|---|
listId | Number |
id of listmanager to start |
relId | Number |
id of relation for whom the listmanager is started |
skipOptin | String |
if set to 'Y', skip the optin step |
admin | Number |
administration id of caller (used as authentication) |
key | String |
administration API access key of caller (used as authentication) |
privacyText | String |
text of privacy remark on the form |
privacyAgreement | String |
'Y' or 'N' if relation agrees with privacy statement |
privacyUrl | String |
link to privacy statement as used in the form |
consentText | String |
text of consent remark on the form |
consentAgreement | String |
'Y' or 'N' if relation agrees with consent text |
ip | String |
address of relation that submitted the form |
Field | Type | Description |
---|---|---|
TRUE | Boolean |
if action succeeded. |
Name | Description |
---|---|
error |
An error message. |
Start a listmanager for the given relation
https://api.e-act.nl/api/1.0/listmanagers/{listId}/subscribe
Field | Type | Description |
---|---|---|
listId | Number |
id of listmanager to start |
relId | Number |
id of relation for whom the listmanager is started |
skipOptin | String |
if set to 'Y', skip the optin step |
admin | Number |
administration id of caller (used as authentication) |
key | String |
administration API access key of caller (used as authentication) |
Field | Type | Description |
---|---|---|
TRUE | Boolean |
if action succeeded. |
Name | Description |
---|---|
error |
An error message. |
Stop a listmanager for the given relation. Note that this only removes from associated groups, creates an unsubscribe event and removes planned emails.
https://api.e-act.nl/api/1.0/listmanagers/{listId}/unsubscribe
Field | Type | Description |
---|---|---|
listId | Number |
id of listmanager to stop |
relId | Number |
id of relation for whom the listmanager is started |
reason | String |
reason to stop - will be added as 'contact' with the relation |
admin | Number |
administration id of caller (used as authentication) |
key | String |
administration API access key of caller (used as authentication) |
Field | Type | Description |
---|---|---|
TRUE | Boolean |
if action succeeded. |
Name | Description |
---|---|
error |
An error message. |
End an existing subscription with a given date
https://api.e-act.nl/api/1.0/orders/subscriptions/{id}/end
Field | Type | Description |
---|---|---|
endDate | Date |
date that the subscription should end. Use format 'DD-MM-YYYY' |
id | Number |
of the existing subscription |
admin | Number |
administration id of caller (used as authentication) |
key | String |
administration API access key of caller (used as authentication) |
Field | Type | Description |
---|---|---|
result | Boolean |
code |
Name | Description |
---|---|
error |
An error message. |
Get PDF invoice for Given Invoice Number
https://api.e-act.nl/api/1.0/invoices/{invoiceNumber}
Field | Type | Description |
---|---|---|
invoiceNumber | String |
the invoice number for which the PDF must be retrieved |
admin | Number |
administration id of caller (used as authentication) |
key | String |
administration API access key of caller (used as authentication) |
Field | Type | Description |
---|---|---|
Invoice | Object |
PDF file (application/pdf) |
Name | Description |
---|---|
error |
An error message. |
Get invoice details for the provided number. Credit invoice is not supported.
https://api.e-act.nl/api/1.0/invoice/{invoiceNumber}
Field | Type | Description |
---|---|---|
invoiceNumber | String |
the number of the requested invoice |
admin | Number |
administration id of caller (used as authentication) |
key | String |
administration API access key of caller (used as authentication) |
Field | Type | Description |
---|---|---|
Invoice | Object |
details |
Name | Description |
---|---|
error |
An error message |
Get invoices and credit invoices for the given period of time.
https://api.e-act.nl/api/1.0/invoices
Field | Type | Description |
---|---|---|
dateFrom | String |
use this to select all (credit and normal) invoices that are created AFTER this date. Use format 'YYYY-MM-DD' |
admin | Number |
administration id of caller (used as authentication) |
key | String |
administration API access key of caller (used as authentication) |
Field | Type | Description |
---|---|---|
List | Object |
of invoices |
Name | Description |
---|---|
error |
An error message |
Get all orders for the given relation
https://api.e-act.nl/api/1.0/orders/relation/{id}
Field | Type | Description |
---|---|---|
id | Number |
the id of the relation for which orders must be collected |
admin | Number |
administration id of caller (used as authentication) |
key | String |
administration API access key of caller (used as authentication) |
Field | Type | Description |
---|---|---|
List | Object |
of orders |
Name | Description |
---|---|
error |
An error message. |
Get paid and/or non-paid orders for the given period of time.
https://api.e-act.nl/api/1.0/orders
Field | Type | Description |
---|---|---|
paid | String |
use 'Y' for paid orders, use 'N' for unpaid orders, use '-' for paid and non-paid orders (not required) |
hours | Number |
time-period, e.g. use 24 for all orders of the past 24 hours |
admin | Number |
administration id of caller (used as authentication) |
key | String |
administration API access key of caller (used as authentication) |
Field | Type | Description |
---|---|---|
List | Object |
of orders |
Name | Description |
---|---|
error |
An error message |
Add a relation to a group. If the relation is already member of the group, no action is taken.
https://api.e-act.nl/api/1.0/group/{grpId}/member/:relId
Field | Type | Description |
---|---|---|
grpId | Number |
id of the group |
relId | Number |
id of the relation to add |
admin | Number |
administration id of caller (used as authentication) |
key | String |
administration API access key of caller (used as authentication) |
Field | Type | Description |
---|---|---|
result | Boolean |
code |
Name | Description |
---|---|
error |
An error message |
Create a new free field. The provided fieldName must be unique.
https://api.e-act.nl/api/1.0/field
Field | Type | Description |
---|---|---|
fieldName | String |
A unique name of the field (only a..Z characters or underscore, no spaces, length < 60) |
fieldLabel | String |
Label of the field shown in the administration |
fieldType | String |
Use one of these values: [boolean,string,list] |
fieldOptions | String |
If the type is 'list', provide a comma separated list of values (total length < 2048) |
admin | Number |
administration id of caller (used as authentication) |
key | String |
administration API access key of caller (used as authentication) |
Field | Type | Description |
---|---|---|
id | Number |
of created field |
Name | Description |
---|---|
error |
An error message. |
Create a new relation if the email is not known in the administration. Otherwise update the relation.
https://api.e-act.nl/api/1.0/relation
Field | Type | Description |
---|---|---|
String |
email address for relation to create. If a relation with this email already exists, the other fields are used to update the relation |
|
firstName | String |
first name for relation (not required) |
suffix | String |
suffix for relation (not required) |
lastName | String |
last name for relation (not required) |
gender | String |
relation gender, use M (male) or F (female) or - (not required) |
type | String |
1-character relation type (not required) |
password | String |
relation password, must be minimal 6 and max 20 characters long (not required) |
customer | String |
flag indicating if the relation should be activated as customer in the system (not required). Values: 'y' or 'n' |
admin | Number |
administration id of caller (used as authentication) |
key | String |
administration API access key of caller (used as authentication) |
Field | Type | Description |
---|---|---|
relation | Object |
|
Name | Description |
---|---|
error |
An error message. |
Get all groups within an administration.
https://api.e-act.nl/api/1.0/groups
Field | Type | Description |
---|---|---|
admin | Number |
administration id of caller (used as authentication) |
key | String |
administration API access key of caller (used as authentication) |
Field | Type | Description |
---|---|---|
groups | Object |
|
Name | Description |
---|---|
error |
An error message. |
Get all relations that are member of the given group.
https://api.e-act.nl/api/1.0/groups/{grpId}/relations
Field | Type | Description |
---|---|---|
grpId | Number |
id of the group |
admin | Number |
administration id of caller (used as authentication) |
key | String |
administration API access key of caller (used as authentication) |
Field | Type | Description |
---|---|---|
relations | Object |
|
Name | Description |
---|---|
error |
An error message. |
Returns a relation details object for a given email address
https://api.e-act.nl/api/1.0/relation
Field | Type | Description |
---|---|---|
String |
emailaddress of relation to search for |
|
admin | Number |
administration id of caller (used as authentication) |
key | String |
administration API access key of caller (used as authentication) |
Field | Type | Description |
---|---|---|
relation | Object |
|
Name | Description |
---|---|
error |
An error message. |
Returns a relation details object for a given id
https://api.e-act.nl/api/1.0/relation/{id}
Field | Type | Description |
---|---|---|
id | Number |
id of relation to load |
admin | Number |
administration id of caller (used as authentication) |
key | String |
administration API access key of caller (used as authentication) |
Field | Type | Description |
---|---|---|
relation | Object |
|
Name | Description |
---|---|
error |
An error message. |
Remove a relation from a group. If the relation is not member of the group, no action is taken.
https://api.e-act.nl/api/1.0/group/{grpId}/member/{relId}
Field | Type | Description |
---|---|---|
grpId | Number |
id of the group |
relId | Number |
id of the relation to remove |
admin | Number |
administration id of caller (used as authentication) |
key | String |
administration API access key of caller (used as authentication) |
Field | Type | Description |
---|---|---|
result | Boolean |
code |
Name | Description |
---|---|
error |
An error message. |
Returns a list of listmanager-id's for which the given relation subscribed and/or unsubscribed
https://api.e-act.nl/api/1.0/relation/{id}/subscriptions
Field | Type | Description |
---|---|---|
id | Number |
the id of the relation |
admin | Number |
administration id of caller (used as authentication) |
key | String |
administration API access key of caller (used as authentication) |
Field | Type | Description |
---|---|---|
List | Object |
of (un)subscriptions |
Name | Description |
---|---|
error |
An error message. |
Update the email address of an existing relation
https://api.e-act.nl/api/1.0/relation/{id}/email
Field | Type | Description |
---|---|---|
newemail | String |
new email address for the existing relation |
id | Number |
of the existing relation |
admin | Number |
administration id of caller (used as authentication) |
key | String |
administration API access key of caller (used as authentication) |
Field | Type | Description |
---|---|---|
result | Boolean |
code |
Name | Description |
---|---|
error |
An error message. |
Add a tag to a relation with the given email address. If the tag is already associated to the relation, no action is taken.
https://api.e-act.nl/api/1.0/relation/addtag/{tagId}
Field | Type | Description |
---|---|---|
tagId | Number |
id of the tag to add |
String |
address of the relation |
|
admin | Number |
administration id of caller (used as authentication) |
key | String |
administration API access key of caller (used as authentication) |
Field | Type | Description |
---|---|---|
status | String |
ok |
Name | Description |
---|---|
error |
An error message. |
Add a tag to a relation. If the tag is already associated to the relation, no action is taken.
https://api.e-act.nl/api/1.0/relation/{relId}/addtag/{tagId}
Field | Type | Description |
---|---|---|
relId | Number |
id of the relation |
tagId | Number |
id of the tag to add |
admin | Number |
administration id of caller (used as authentication) |
key | String |
administration API access key of caller (used as authentication) |
Field | Type | Description |
---|---|---|
result | Boolean |
code |
Name | Description |
---|---|
error |
An error message. |
Remove a tag from a relation. If the tag was not associated to the relation, no action is taken.
https://api.e-act.nl/api/1.0/relation/{relId}/removetag/{tagId}
Field | Type | Description |
---|---|---|
relId | Number |
id of the relation |
tagId | Number |
id of the tag to remove |
admin | Number |
administration id of caller (used as authentication) |
key | String |
administration API access key of caller (used as authentication) |
Field | Type | Description |
---|---|---|
result | Boolean |
code |
Name | Description |
---|---|
error |
An error message. |
Assign a free field to a relation. If the field is already associated to the relation, the value is updated.
https://api.e-act.nl/api/1.0/relation/{relId}/setfield
Field | Type | Description |
---|---|---|
relId | Number |
id of the relation |
fieldCode | String |
code of the free field to add or update |
fieldValue | String |
the new value the field should be set to |
admin | Number |
administration id of caller (used as authentication) |
key | String |
administration API access key of caller (used as authentication) |
Field | Type | Description |
---|---|---|
result | Boolean |
code |
Name | Description |
---|---|
error |
An error message. |
Returns a list of tags that are associated with the given relation
https://api.e-act.nl/api/1.0/relation/{id}/tags
Field | Type | Description |
---|---|---|
id | Number |
the id of the relation |
admin | Number |
administration id of caller (used as authentication) |
key | String |
administration API access key of caller (used as authentication) |
Field | Type | Description |
---|---|---|
Array | String |
List of of tagnames |
Name | Description |
---|---|
error |
An error message. |