Schemas
Paging
First page.
Previous page; the offset stops at 0.
Next page. On the last page the link wraps around to offset 0.
Collection
hrefFirst page.
Previous page; the offset stops at 0.
Next page. On the last page the link wraps around to offset 0.
User
groupsIds of the groups the user is a member of. In a request every group must exist and be one the caller may assign (see Create a user). In PATCH the list replaces the memberships; an empty list is ignored. The user's primary group is set to the first group listed.
usernameUnique, compared without regard to case.
emailMust be a valid email address. Uniqueness is not checked.
nameDisplay name.
activeDefaults to true when a user is created.
valid_toExpiry time of the account. Takes ISO 8601 (a date alone is accepted). Null clears it in PATCH; POST refuses null.
UserAccountModule
firstnamelastnamebirthdateTakes ISO 8601 (a date alone is accepted); returned as a date-time.
cityaddress1address2address3address4postalcodedescriptionavatarextra1extra2extra3sexphonecompany_namecompany_codecompany_addresscompany_citycompany_postalcodecompany_phonecompany_wwwcompany_fieldcompany_sizecompany_statecompany_countrysome1some2some3ssnSocial security number. Deprecated and being removed; don't use it.
ibanBank account number. Deprecated and being removed; don't use it.
UserSummaryOut
idgroupsIds of the groups the user is a member of. In a request every group must exist and be one the caller may assign (see Create a user). In PATCH the list replaces the memberships; an empty list is ignored. The user's primary group is set to the first group listed.
usernameUnique, compared without regard to case.
emailMust be a valid email address. Uniqueness is not checked.
nameDisplay name.
activeDefaults to true when a user is created.
valid_toExpiry time of the account. Takes ISO 8601 (a date alone is accepted). Null clears it in PATCH; POST refuses null.
createdmodifiedfirstnamelastnamebirthdateTakes ISO 8601 (a date alone is accepted); returned as a date-time.
cityaddress1address2address3address4postalcodedescriptionavatarextra1extra2extra3sexphonecompany_namecompany_codecompany_addresscompany_citycompany_postalcodecompany_phonecompany_wwwcompany_fieldcompany_sizecompany_statecompany_countrysome1some2some3hrefssnSocial security number. Deprecated and being removed; don't use it.
ibanBank account number. Deprecated and being removed; don't use it.
Meta
response_atServer time of the response, ISO 8601 with the server's UTC offset.
Response
Error
codeThe HTTP status code.
messageThe general reason. Its wording stays the same, so clients may match on it.
detailsThe specific reason, with the identifiers involved. Present only on some 4xx errors (never on 404) when it adds information to message.
UserPassword
passwordPlaintext password, at least 8 bytes. It is stored only as a hash and never returned. When a user is created without one, the CMS generates a random 15-character password. Changing the password ends the user's sessions.
UserInPost
groupsIds of the groups the user is a member of. In a request every group must exist and be one the caller may assign (see Create a user). In PATCH the list replaces the memberships; an empty list is ignored. The user's primary group is set to the first group listed.
usernameUnique, compared without regard to case.
emailMust be a valid email address. Uniqueness is not checked.
nameDisplay name.
activeDefaults to true when a user is created.
valid_toExpiry time of the account. Takes ISO 8601 (a date alone is accepted). Null clears it in PATCH; POST refuses null.
passwordPlaintext password, at least 8 bytes. It is stored only as a hash and never returned. When a user is created without one, the CMS generates a random 15-character password. Changing the password ends the user's sessions.
firstnamelastnamebirthdateTakes ISO 8601 (a date alone is accepted); returned as a date-time.
cityaddress1address2address3address4postalcodedescriptionavatarextra1extra2extra3sexphonecompany_namecompany_codecompany_addresscompany_citycompany_postalcodecompany_phonecompany_wwwcompany_fieldcompany_sizecompany_statecompany_countrysome1some2some3ssnSocial security number. Deprecated and being removed; don't use it.
ibanBank account number. Deprecated and being removed; don't use it.
UserGeneratedPassword
passwordOnly when the request sent no password: the 15-character password the CMS generated. It is returned only in this response.
UserSinglePOST
idgroupsIds of the groups the user is a member of. In a request every group must exist and be one the caller may assign (see Create a user). In PATCH the list replaces the memberships; an empty list is ignored. The user's primary group is set to the first group listed.
usernameUnique, compared without regard to case.
emailMust be a valid email address. Uniqueness is not checked.
nameDisplay name.
activeDefaults to true when a user is created.
valid_toExpiry time of the account. Takes ISO 8601 (a date alone is accepted). Null clears it in PATCH; POST refuses null.
passwordOnly when the request sent no password: the 15-character password the CMS generated. It is returned only in this response.
createdmodifiedfirstnamelastnamebirthdateTakes ISO 8601 (a date alone is accepted); returned as a date-time.
cityaddress1address2address3address4postalcodedescriptionavatarextra1extra2extra3sexphonecompany_namecompany_codecompany_addresscompany_citycompany_postalcodecompany_phonecompany_wwwcompany_fieldcompany_sizecompany_statecompany_countrysome1some2some3ssnSocial security number. Deprecated and being removed; don't use it.
ibanBank account number. Deprecated and being removed; don't use it.
UserSinglePOSTOut
UserSingle
idgroupsIds of the groups the user is a member of. In a request every group must exist and be one the caller may assign (see Create a user). In PATCH the list replaces the memberships; an empty list is ignored. The user's primary group is set to the first group listed.
usernameUnique, compared without regard to case.
emailMust be a valid email address. Uniqueness is not checked.
nameDisplay name.
activeDefaults to true when a user is created.
valid_toExpiry time of the account. Takes ISO 8601 (a date alone is accepted). Null clears it in PATCH; POST refuses null.
createdmodifiedfirstnamelastnamebirthdateTakes ISO 8601 (a date alone is accepted); returned as a date-time.
cityaddress1address2address3address4postalcodedescriptionavatarextra1extra2extra3sexphonecompany_namecompany_codecompany_addresscompany_citycompany_postalcodecompany_phonecompany_wwwcompany_fieldcompany_sizecompany_statecompany_countrysome1some2some3ssnSocial security number. Deprecated and being removed; don't use it.
ibanBank account number. Deprecated and being removed; don't use it.
UserSingleOut
UserInPATCH
groupsIds of the groups the user is a member of. In a request every group must exist and be one the caller may assign (see Create a user). In PATCH the list replaces the memberships; an empty list is ignored. The user's primary group is set to the first group listed.
usernameUnique, compared without regard to case.
emailMust be a valid email address. Uniqueness is not checked.
nameDisplay name.
activeDefaults to true when a user is created.
valid_toExpiry time of the account. Takes ISO 8601 (a date alone is accepted). Null clears it in PATCH; POST refuses null.
passwordPlaintext password, at least 8 bytes. It is stored only as a hash and never returned. When a user is created without one, the CMS generates a random 15-character password. Changing the password ends the user's sessions.
firstnamelastnamebirthdateTakes ISO 8601 (a date alone is accepted); returned as a date-time.
cityaddress1address2address3address4postalcodedescriptionavatarextra1extra2extra3sexphonecompany_namecompany_codecompany_addresscompany_citycompany_postalcodecompany_phonecompany_wwwcompany_fieldcompany_sizecompany_statecompany_countrysome1some2some3ssnSocial security number. Deprecated and being removed; don't use it.
ibanBank account number. Deprecated and being removed; don't use it.
GroupTypes
Group type as the group editor stores it; null on a group saved without one.
GroupSummary
nametypeGroup type as the group editor stores it; null on a group saved without one.
descriptionaccess_languagesLanguages the group has rights to on the current site.
Members of the group that are not deleted, by ascending id. The list is empty unless the caller belongs to a group that manages some group with the users_view right.
GroupSummaryOut
idnametypeGroup type as the group editor stores it; null on a group saved without one.
descriptionaccess_languagesLanguages the group has rights to on the current site.
Members of the group that are not deleted, by ascending id. The list is empty unless the caller belongs to a group that manages some group with the users_view right.
hrefGroupSingle
idnametypeGroup type as the group editor stores it; null on a group saved without one.
descriptionaccess_languagesLanguages the group has rights to on the current site.
Members of the group that are not deleted, by ascending id. The list is empty unless the caller belongs to a group that manages some group with the users_view right.
GroupSingleOut
FormSummary
idSection id of the form.
page_idId of the page the form is on.
titleName of the form.
SubmissionField
idField id.
titletypeOptions of the field. Null when the field has no options or its options come from products or contacts.
valuesSubmitted values of the field.
SubmissionSummary
idsubmitted_whensubmitted_byUser id of the submitter; null when submitted anonymously.
Submitted fields, ordered by field id, highest first.
SubmissionSummaryOut
idsubmitted_whensubmitted_byUser id of the submitter; null when submitted anonymously.
Submitted fields, ordered by field id, highest first.
hrefCategoryProperty
idName of the property per language code.
Description of the property per language code.
typeProperty type, such as short_text, text, wysiwyg, numeric, boolean, link, email, date, price, discount, range, guid, choice, image, file, product, contact, event, news, user, coordinates or group_header.
Only present when the type is choice; null when the property has no choices.
requiredmultivaluedexportableOnly present when the value is copied from another language.
CategorySummary
idparentId of the parent category. Null when the parent is a module's root category (news, contacts, products or event).
rootURI of the module's root category, such as news, events, products or contacts.
sitesIds of the sites the category belongs to.
permission_viewIds of the groups with the view right, highest first. Null when no group has it.
permission_adminIds of the groups with the admin right, highest first. Null when no group has it.
Name of the category per language code.
Properties linked to the category, ordered by id, highest first.
JobQueueStatusSummary
statemessageThe failure reason when the job failed, an empty string when it is done, and the job's own status message while it is processing
etaAlways null, the estimated completion time is not available
JobQueueResultSummary
hrefURL of the batch result resource (/batch/{users|products|contacts|news|events}/{job-queue-id})
JobQueueSingleWithResults
UserBatchInPost
groupsIds of the groups the user is a member of. In a request every group must exist and be one the caller may assign (see Create a user). In PATCH the list replaces the memberships; an empty list is ignored. The user's primary group is set to the first group listed.
usernameUnique, compared without regard to case.
emailMust be a valid email address. Uniqueness is not checked.
nameDisplay name.
passwordPlaintext password, at least 8 bytes. It is stored only as a hash and never returned. When a user is created without one, the CMS generates a random 15-character password. Changing the password ends the user's sessions.
activeDefaults to true when a user is created.
valid_toExpiry time of the account. Takes ISO 8601 (a date alone is accepted). Null clears it in PATCH; POST refuses null.
firstnamelastnamebirthdateTakes ISO 8601 (a date alone is accepted); returned as a date-time.
cityaddress1address2address3address4postalcodedescriptionavatarextra1extra2extra3sexphonecompany_namecompany_codecompany_addresscompany_citycompany_postalcodecompany_phonecompany_wwwcompany_fieldcompany_sizecompany_statecompany_countrysome1some2some3ssnSocial security number. Deprecated and being removed; don't use it.
ibanBank account number. Deprecated and being removed; don't use it.
UsersPOSTInArray
groupsIds of the groups the user is a member of. In a request every group must exist and be one the caller may assign (see Create a user). In PATCH the list replaces the memberships; an empty list is ignored. The user's primary group is set to the first group listed.
usernameUnique, compared without regard to case.
emailMust be a valid email address. Uniqueness is not checked.
nameDisplay name.
passwordPlaintext password, at least 8 bytes. It is stored only as a hash and never returned. When a user is created without one, the CMS generates a random 15-character password. Changing the password ends the user's sessions.
activeDefaults to true when a user is created.
valid_toExpiry time of the account. Takes ISO 8601 (a date alone is accepted). Null clears it in PATCH; POST refuses null.
firstnamelastnamebirthdateTakes ISO 8601 (a date alone is accepted); returned as a date-time.
cityaddress1address2address3address4postalcodedescriptionavatarextra1extra2extra3sexphonecompany_namecompany_codecompany_addresscompany_citycompany_postalcodecompany_phonecompany_wwwcompany_fieldcompany_sizecompany_statecompany_countrysome1some2some3ssnSocial security number. Deprecated and being removed; don't use it.
ibanBank account number. Deprecated and being removed; don't use it.
JobQueueSingleOut
hrefUserBatchInPatch
idgroupsIds of the groups the user is a member of. In a request every group must exist and be one the caller may assign (see Create a user). In PATCH the list replaces the memberships; an empty list is ignored. The user's primary group is set to the first group listed.
usernameUnique, compared without regard to case.
emailMust be a valid email address. Uniqueness is not checked.
nameDisplay name.
activeDefaults to true when a user is created.
valid_toExpiry time of the account. Takes ISO 8601 (a date alone is accepted). Null clears it in PATCH; POST refuses null.
passwordPlaintext password, at least 8 bytes. It is stored only as a hash and never returned. When a user is created without one, the CMS generates a random 15-character password. Changing the password ends the user's sessions.
firstnamelastnamebirthdateTakes ISO 8601 (a date alone is accepted); returned as a date-time.
cityaddress1address2address3address4postalcodedescriptionavatarextra1extra2extra3sexphonecompany_namecompany_codecompany_addresscompany_citycompany_postalcodecompany_phonecompany_wwwcompany_fieldcompany_sizecompany_statecompany_countrysome1some2some3ssnSocial security number. Deprecated and being removed; don't use it.
ibanBank account number. Deprecated and being removed; don't use it.
UsersPATCHInArray
idgroupsIds of the groups the user is a member of. In a request every group must exist and be one the caller may assign (see Create a user). In PATCH the list replaces the memberships; an empty list is ignored. The user's primary group is set to the first group listed.
usernameUnique, compared without regard to case.
emailMust be a valid email address. Uniqueness is not checked.
nameDisplay name.
activeDefaults to true when a user is created.
valid_toExpiry time of the account. Takes ISO 8601 (a date alone is accepted). Null clears it in PATCH; POST refuses null.
passwordPlaintext password, at least 8 bytes. It is stored only as a hash and never returned. When a user is created without one, the CMS generates a random 15-character password. Changing the password ends the user's sessions.
firstnamelastnamebirthdateTakes ISO 8601 (a date alone is accepted); returned as a date-time.
cityaddress1address2address3address4postalcodedescriptionavatarextra1extra2extra3sexphonecompany_namecompany_codecompany_addresscompany_citycompany_postalcodecompany_phonecompany_wwwcompany_fieldcompany_sizecompany_statecompany_countrysome1some2some3ssnSocial security number. Deprecated and being removed; don't use it.
ibanBank account number. Deprecated and being removed; don't use it.
BatchErrors
Why each rejected element was rejected, in the same order as items.
indexIndex of the element in the request body
messagedetailsBatchResultStatus
statemessageWhy each rejected element was rejected, in the same order as items.
etaAlways null
UserJobQueue
groupsIds of the groups the user is a member of. In a request every group must exist and be one the caller may assign (see Create a user). In PATCH the list replaces the memberships; an empty list is ignored. The user's primary group is set to the first group listed.
usernameUnique, compared without regard to case.
emailMust be a valid email address. Uniqueness is not checked.
nameDisplay name.
activeDefaults to true when a user is created.
valid_toExpiry time of the account. Takes ISO 8601 (a date alone is accepted). Null clears it in PATCH; POST refuses null.
createdmodifiedfirstnamelastnamebirthdateTakes ISO 8601 (a date alone is accepted); returned as a date-time.
cityaddress1address2address3address4postalcodedescriptionavatarextra1extra2extra3sexphonecompany_namecompany_codecompany_addresscompany_citycompany_postalcodecompany_phonecompany_wwwcompany_fieldcompany_sizecompany_statecompany_countrysome1some2some3ssnSocial security number. Deprecated and being removed; don't use it.
ibanBank account number. Deprecated and being removed; don't use it.
UserJobQueueOut
Why each rejected element was rejected, in the same order as items.
Present instead of items while the job is processing (state 'processing', without errors) or when the whole job failed (state 'failed', with message and errors). Both are returned with HTTP 200.
Translations
ProductSummary
Product name per language, keyed by language code. On input every key must be a language of the site (case-insensitive) and every value a string, otherwise 400.
commentingownerUser id of the owner. Must be an existing user (400). Defaults to the token's user on create.
valid_fromISO 8601. Must not be later than valid_to (400). null clears it on update.
valid_toISO 8601. null clears it on update.
visibilitycategoriesCategory ids. Every id must be a category the user may use (400). On update the list replaces the current categories. In responses to GET only the categories the user may view are listed; the list is null when there are none.
ProductProperties
property_idlangcodeProductPropertiesPOST
On update, each element replaces the values of that property in that language and null deletes all properties of the product.
Product
Product name per language, keyed by language code. On input every key must be a language of the site (case-insensitive) and every value a string, otherwise 400.
commentingownerUser id of the owner. Must be an existing user (400). Defaults to the token's user on create.
valid_fromISO 8601. Must not be later than valid_to (400). null clears it on update.
valid_toISO 8601. null clears it on update.
visibilitycategoriesCategory ids. Every id must be a category the user may use (400). On update the list replaces the current categories. In responses to GET only the categories the user may view are listed; the list is null when there are none.
On update, each element replaces the values of that property in that language and null deletes all properties of the product.
ProductBatchInPost
Product name per language, keyed by language code. On input every key must be a language of the site (case-insensitive) and every value a string, otherwise 400.
categoriesCategory ids. Every id must be a category the user may use (400). On update the list replaces the current categories. In responses to GET only the categories the user may view are listed; the list is null when there are none.
commentingownerUser id of the owner. Must be an existing user (400). Defaults to the token's user on create.
valid_fromISO 8601. Must not be later than valid_to (400). null clears it on update.
valid_toISO 8601. null clears it on update.
visibilityOn update, each element replaces the values of that property in that language and null deletes all properties of the product.
ProductsPOSTInArray
Product name per language, keyed by language code. On input every key must be a language of the site (case-insensitive) and every value a string, otherwise 400.
categoriesCategory ids. Every id must be a category the user may use (400). On update the list replaces the current categories. In responses to GET only the categories the user may view are listed; the list is null when there are none.
commentingownerUser id of the owner. Must be an existing user (400). Defaults to the token's user on create.
valid_fromISO 8601. Must not be later than valid_to (400). null clears it on update.
valid_toISO 8601. null clears it on update.
visibilityOn update, each element replaces the values of that property in that language and null deletes all properties of the product.
ProductBatchInPatch
idProduct name per language, keyed by language code. On input every key must be a language of the site (case-insensitive) and every value a string, otherwise 400.
commentingownerUser id of the owner. Must be an existing user (400). Defaults to the token's user on create.
valid_fromISO 8601. Must not be later than valid_to (400). null clears it on update.
valid_toISO 8601. null clears it on update.
visibilitycategoriesCategory ids. Every id must be a category the user may use (400). On update the list replaces the current categories. In responses to GET only the categories the user may view are listed; the list is null when there are none.
On update, each element replaces the values of that property in that language and null deletes all properties of the product.
ProductsPATCHInArray
idProduct name per language, keyed by language code. On input every key must be a language of the site (case-insensitive) and every value a string, otherwise 400.
commentingownerUser id of the owner. Must be an existing user (400). Defaults to the token's user on create.
valid_fromISO 8601. Must not be later than valid_to (400). null clears it on update.
valid_toISO 8601. null clears it on update.
visibilitycategoriesCategory ids. Every id must be a category the user may use (400). On update the list replaces the current categories. In responses to GET only the categories the user may view are listed; the list is null when there are none.
On update, each element replaces the values of that property in that language and null deletes all properties of the product.
ProductJobQueue
idProduct name per language, keyed by language code. On input every key must be a language of the site (case-insensitive) and every value a string, otherwise 400.
commentingownerUser id of the owner. Must be an existing user (400). Defaults to the token's user on create.
valid_fromISO 8601. Must not be later than valid_to (400). null clears it on update.
valid_toISO 8601. null clears it on update.
visibilitycategoriesCategory ids. Every id must be a category the user may use (400). On update the list replaces the current categories. In responses to GET only the categories the user may view are listed; the list is null when there are none.
On update, each element replaces the values of that property in that language and null deletes all properties of the product.
ProductJobQueueOut
Why each rejected element was rejected, in the same order as items.
Present instead of items while the job is processing (state 'processing', without errors) or when the whole job failed (state 'failed', with message and errors). Both are returned with HTTP 200.
ContactNames
firstnamePerson contacts only; ignored for organizations.
lastnamePerson contacts only; ignored for organizations.
ContactSummary
ownerId of an existing user who is not deleted. Defaults to the caller when a contact is created.
valid_fromISO 8601. Must not be later than valid_to when both are given.
valid_toISO 8601.
visibilitycategoriesIds of contact categories (under the contacts root category) on which the caller's group has admin rights, with the categories right. Any other id returns 400. In PATCH the list replaces the categories and the property values of removed categories are deleted; an empty list is ignored.
ContactProperties
property_idlangcodeA site language code.
Scalar values (string, number or boolean); dates as ISO 8601 strings.
ContactPropertiesPOST
Property values to set. Each entry replaces the values of that property in that language. The property must belong to a category of the contact. In PATCH null deletes every property value of the contact. Values of keyvalue properties cannot be written.
TypePersonParameters
firstnamePerson contacts only; ignored for organizations.
lastnamePerson contacts only; ignored for organizations.
typeownerId of an existing user who is not deleted. Defaults to the caller when a contact is created.
valid_fromISO 8601. Must not be later than valid_to when both are given.
valid_toISO 8601.
visibilitycategoriesIds of contact categories (under the contacts root category) on which the caller's group has admin rights, with the categories right. Any other id returns 400. In PATCH the list replaces the categories and the property values of removed categories are deleted; an empty list is ignored.
Property values to set. Each entry replaces the values of that property in that language. The property must belong to a category of the contact. In PATCH null deletes every property value of the contact. Values of keyvalue properties cannot be written.
TypePersonPostParameters
firstnamePerson contacts only; ignored for organizations.
lastnamePerson contacts only; ignored for organizations.
categoriesIds of contact categories (under the contacts root category) on which the caller's group has admin rights, with the categories right. Any other id returns 400. In PATCH the list replaces the categories and the property values of removed categories are deleted; an empty list is ignored.
typeownerId of an existing user who is not deleted. Defaults to the caller when a contact is created.
valid_fromISO 8601. Must not be later than valid_to when both are given.
valid_toISO 8601.
visibilityProperty values to set. Each entry replaces the values of that property in that language. The property must belong to a category of the contact. In PATCH null deletes every property value of the contact. Values of keyvalue properties cannot be written.
ContactCompanyNames
Organization contacts only; ignored for persons, whose name is lastname firstname in every site language. Keys are site language codes (any other key returns 400). In PATCH an empty string removes the name in that language.
TypeCompanyParameters
Organization contacts only; ignored for persons, whose name is lastname firstname in every site language. Keys are site language codes (any other key returns 400). In PATCH an empty string removes the name in that language.
typeownerId of an existing user who is not deleted. Defaults to the caller when a contact is created.
valid_fromISO 8601. Must not be later than valid_to when both are given.
valid_toISO 8601.
visibilitycategoriesIds of contact categories (under the contacts root category) on which the caller's group has admin rights, with the categories right. Any other id returns 400. In PATCH the list replaces the categories and the property values of removed categories are deleted; an empty list is ignored.
Property values to set. Each entry replaces the values of that property in that language. The property must belong to a category of the contact. In PATCH null deletes every property value of the contact. Values of keyvalue properties cannot be written.
TypeCompanyPostParameters
Organization contacts only; ignored for persons, whose name is lastname firstname in every site language. Keys are site language codes (any other key returns 400). In PATCH an empty string removes the name in that language.
typecategoriesIds of contact categories (under the contacts root category) on which the caller's group has admin rights, with the categories right. Any other id returns 400. In PATCH the list replaces the categories and the property values of removed categories are deleted; an empty list is ignored.
ownerId of an existing user who is not deleted. Defaults to the caller when a contact is created.
valid_fromISO 8601. Must not be later than valid_to when both are given.
valid_toISO 8601.
visibilityProperty values to set. Each entry replaces the values of that property in that language. The property must belong to a category of the contact. In PATCH null deletes every property value of the contact. Values of keyvalue properties cannot be written.
ContactBatchInPost
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: firstname, lastname, categories | |
| type = object · requires: type, names, categories |
firstnamePerson contacts only; ignored for organizations.
lastnamePerson contacts only; ignored for organizations.
categoriesIds of contact categories (under the contacts root category) on which the caller's group has admin rights, with the categories right. Any other id returns 400. In PATCH the list replaces the categories and the property values of removed categories are deleted; an empty list is ignored.
typeownerId of an existing user who is not deleted. Defaults to the caller when a contact is created.
valid_fromISO 8601. Must not be later than valid_to when both are given.
valid_toISO 8601.
visibilityProperty values to set. Each entry replaces the values of that property in that language. The property must belong to a category of the contact. In PATCH null deletes every property value of the contact. Values of keyvalue properties cannot be written.
ContactsPOSTInArray
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: firstname, lastname, categories | |
| type = object · requires: type, names, categories |
firstnamePerson contacts only; ignored for organizations.
lastnamePerson contacts only; ignored for organizations.
categoriesIds of contact categories (under the contacts root category) on which the caller's group has admin rights, with the categories right. Any other id returns 400. In PATCH the list replaces the categories and the property values of removed categories are deleted; an empty list is ignored.
typeownerId of an existing user who is not deleted. Defaults to the caller when a contact is created.
valid_fromISO 8601. Must not be later than valid_to when both are given.
valid_toISO 8601.
visibilityProperty values to set. Each entry replaces the values of that property in that language. The property must belong to a category of the contact. In PATCH null deletes every property value of the contact. Values of keyvalue properties cannot be written.
ContactBatchInPatch
idDecision Table
| Variant | Matching Criteria |
|---|---|
| type = object | |
| type = object |
firstnamePerson contacts only; ignored for organizations.
lastnamePerson contacts only; ignored for organizations.
typeownerId of an existing user who is not deleted. Defaults to the caller when a contact is created.
valid_fromISO 8601. Must not be later than valid_to when both are given.
valid_toISO 8601.
visibilitycategoriesIds of contact categories (under the contacts root category) on which the caller's group has admin rights, with the categories right. Any other id returns 400. In PATCH the list replaces the categories and the property values of removed categories are deleted; an empty list is ignored.
Property values to set. Each entry replaces the values of that property in that language. The property must belong to a category of the contact. In PATCH null deletes every property value of the contact. Values of keyvalue properties cannot be written.
ContactsPATCHInArray
idDecision Table
| Variant | Matching Criteria |
|---|---|
| type = object | |
| type = object |
firstnamePerson contacts only; ignored for organizations.
lastnamePerson contacts only; ignored for organizations.
typeownerId of an existing user who is not deleted. Defaults to the caller when a contact is created.
valid_fromISO 8601. Must not be later than valid_to when both are given.
valid_toISO 8601.
visibilitycategoriesIds of contact categories (under the contacts root category) on which the caller's group has admin rights, with the categories right. Any other id returns 400. In PATCH the list replaces the categories and the property values of removed categories are deleted; an empty list is ignored.
Property values to set. Each entry replaces the values of that property in that language. The property must belong to a category of the contact. In PATCH null deletes every property value of the contact. Values of keyvalue properties cannot be written.
ContactJobQueue
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object | |
| type = object |
firstnamePerson contacts only; ignored for organizations.
lastnamePerson contacts only; ignored for organizations.
typeownerId of an existing user who is not deleted. Defaults to the caller when a contact is created.
valid_fromISO 8601. Must not be later than valid_to when both are given.
valid_toISO 8601.
visibilitycategoriesIds of contact categories (under the contacts root category) on which the caller's group has admin rights, with the categories right. Any other id returns 400. In PATCH the list replaces the categories and the property values of removed categories are deleted; an empty list is ignored.
Property values to set. Each entry replaces the values of that property in that language. The property must belong to a category of the contact. In PATCH null deletes every property value of the contact. Values of keyvalue properties cannot be written.
ContactJobQueueOut
Why each rejected element was rejected, in the same order as items.
Present instead of items while the job is processing (state 'processing', without errors) or when the whole job failed (state 'failed', with message and errors). Both are returned with HTTP 200.
NewsProperties
property_idThe property must be linked to one of the item's categories, and may appear once per language.
langcodeLanguage of the values. Must be the item's language (on create, one of the translations keys).
Scalar values, checked against the property's type. Replaces the stored values of this property in this language.
NewsPOSTMany
Title per language; at least one.
Commenting per language; public when not given.
Owner user id per language, as a JSON integer; the current user when not given. The user must exist and not be deleted.
Start of validity per language (ISO 8601).
End of validity per language (ISO 8601); must not be before valid_froms of the same language.
Visibility per language; public when not given.
Category ids per language. Every language of translations needs at least one category that has a name
in that language; categories without a name in the language are not linked to that version. Every id
must be a news category the user can administer.
NewsBatchInPost
Title per language; at least one.
Category ids per language. Every language of translations needs at least one category that has a name
in that language; categories without a name in the language are not linked to that version. Every id
must be a news category the user can administer.
Commenting per language; public when not given.
Owner user id per language, as a JSON integer; the current user when not given. The user must exist and not be deleted.
Start of validity per language (ISO 8601).
End of validity per language (ISO 8601); must not be before valid_froms of the same language.
Visibility per language; public when not given.
NewsPOSTInArray
Title per language; at least one.
Category ids per language. Every language of translations needs at least one category that has a name
in that language; categories without a name in the language are not linked to that version. Every id
must be a news category the user can administer.
Commenting per language; public when not given.
Owner user id per language, as a JSON integer; the current user when not given. The user must exist and not be deleted.
Start of validity per language (ISO 8601).
End of validity per language (ISO 8601); must not be before valid_froms of the same language.
Visibility per language; public when not given.
NewsPATCH
translationTitle.
introbodycommentingownerOwner user id as a JSON string (an integer is refused). The user must exist and not be deleted.
valid_fromvalid_tovisibilitycategoriesThe complete new set of category ids; each must be a news category the user can administer. Values of properties that belong to removed categories are deleted.
Property values to replace. null deletes all property values of the item.
NewsBatchInPatch
idtranslationTitle.
introbodycommentingownerOwner user id as a JSON string (an integer is refused). The user must exist and not be deleted.
valid_fromvalid_tovisibilitycategoriesThe complete new set of category ids; each must be a news category the user can administer. Values of properties that belong to removed categories are deleted.
Property values to replace. null deletes all property values of the item.
NewsPATCHInArray
idtranslationTitle.
introbodycommentingownerOwner user id as a JSON string (an integer is refused). The user must exist and not be deleted.
valid_fromvalid_tovisibilitycategoriesThe complete new set of category ids; each must be a news category the user can administer. Values of properties that belong to removed categories are deleted.
Property values to replace. null deletes all property values of the item.
NewsJobQueue
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object | |
| type = object |
Title per language; at least one.
Commenting per language; public when not given.
Owner user id per language, as a JSON integer; the current user when not given. The user must exist and not be deleted.
Start of validity per language (ISO 8601).
End of validity per language (ISO 8601); must not be before valid_froms of the same language.
Visibility per language; public when not given.
Category ids per language. Every language of translations needs at least one category that has a name
in that language; categories without a name in the language are not linked to that version. Every id
must be a news category the user can administer.
NewsJobQueueOut
Why each rejected element was rejected, in the same order as items.
Present instead of items while the job is processing (state 'processing', without errors) or when the whole job failed (state 'failed', with message and errors). Both are returned with HTTP 200.
EventProperties
property_idThe property must be linked to one of the item's categories, and may appear once per language.
langcodeLanguage of the values. Must be the item's language (on create, one of the translations keys).
Scalar values, checked against the property's type. Replaces the stored values of this property in this language.
EventPOSTMany
Title per language; at least one.
Commenting per language; public when not given.
Owner user id per language, as a JSON integer; the current user when not given. The user must exist and not be deleted.
Start of validity per language (ISO 8601).
End of validity per language (ISO 8601); must not be before valid_froms of the same language.
Visibility per language; public when not given.
Category ids per language. Every language of translations needs at least one category that has a name
in that language; categories without a name in the language are not linked to that version. Every id
must be an event category the user can administer.
EventsBatchInPost
Title per language; at least one.
Category ids per language. Every language of translations needs at least one category that has a name
in that language; categories without a name in the language are not linked to that version. Every id
must be an event category the user can administer.
Commenting per language; public when not given.
Owner user id per language, as a JSON integer; the current user when not given. The user must exist and not be deleted.
Start of validity per language (ISO 8601).
End of validity per language (ISO 8601); must not be before valid_froms of the same language.
Visibility per language; public when not given.
EventsPOSTInArray
Title per language; at least one.
Category ids per language. Every language of translations needs at least one category that has a name
in that language; categories without a name in the language are not linked to that version. Every id
must be an event category the user can administer.
Commenting per language; public when not given.
Owner user id per language, as a JSON integer; the current user when not given. The user must exist and not be deleted.
Start of validity per language (ISO 8601).
End of validity per language (ISO 8601); must not be before valid_froms of the same language.
Visibility per language; public when not given.
EventPATCH
translationTitle.
introbodycommentingownerOwner user id as a JSON string (an integer is refused). The user must exist and not be deleted.
valid_fromvalid_tovisibilitycategoriesThe complete new set of category ids; each must be an event category the user can administer. Values of properties that belong to removed categories are deleted.
Property values to replace. null deletes all property values of the item.
EventsBatchInPatch
idtranslationTitle.
introbodycommentingownerOwner user id as a JSON string (an integer is refused). The user must exist and not be deleted.
valid_fromvalid_tovisibilitycategoriesThe complete new set of category ids; each must be an event category the user can administer. Values of properties that belong to removed categories are deleted.
Property values to replace. null deletes all property values of the item.
EventsPATCHInArray
idtranslationTitle.
introbodycommentingownerOwner user id as a JSON string (an integer is refused). The user must exist and not be deleted.
valid_fromvalid_tovisibilitycategoriesThe complete new set of category ids; each must be an event category the user can administer. Values of properties that belong to removed categories are deleted.
Property values to replace. null deletes all property values of the item.
EventsJobQueue
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object | |
| type = object |
Title per language; at least one.
Commenting per language; public when not given.
Owner user id per language, as a JSON integer; the current user when not given. The user must exist and not be deleted.
Start of validity per language (ISO 8601).
End of validity per language (ISO 8601); must not be before valid_froms of the same language.
Visibility per language; public when not given.
Category ids per language. Every language of translations needs at least one category that has a name
in that language; categories without a name in the language are not linked to that version. Every id
must be an event category the user can administer.
EventsJobQueueOut
Why each rejected element was rejected, in the same order as items.
Present instead of items while the job is processing (state 'processing', without errors) or when the whole job failed (state 'failed', with message and errors). Both are returned with HTTP 200.
ProductDate
postedCreation time, ISO 8601 with UTC offset
modifiedTime of the last change, ISO 8601 with UTC offset
PropertiesValues
property_idlangcodevaluesValues of the property in this language: strings, numbers, booleans or ISO 8601 date-times by property type; file and image properties give the media file id when the file is known. An unset boolean property gives [false]. For keyvalue properties the value is an array of single-pair objects, or null if the stored value cannot be decoded.
properties_hrefURL of a category the property is linked to (/categories/{category-id})
PropertiesForProducts
One element per property and language. Present only with show_properties=true on a list, and always for a single product and for create, update and delete responses. The properties are those linked to the product's categories.
Links
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object | |
| type = array |
ProductLinks
Public URIs of the product per language code. An empty array when the product has no links.
ProductSummaryOut
idProduct name per language, keyed by language code. On input every key must be a language of the site (case-insensitive) and every value a string, otherwise 400.
commentingownerUser id of the owner. Must be an existing user (400). Defaults to the token's user on create.
valid_fromISO 8601. Must not be later than valid_to (400). null clears it on update.
valid_toISO 8601. null clears it on update.
visibilitycategoriesCategory ids. Every id must be a category the user may use (400). On update the list replaces the current categories. In responses to GET only the categories the user may view are listed; the list is null when there are none.
postedCreation time, ISO 8601 with UTC offset
modifiedTime of the last change, ISO 8601 with UTC offset
modified_byUser id of the last modifier
One element per property and language. Present only with show_properties=true on a list, and always for a single product and for create, update and delete responses. The properties are those linked to the product's categories.
Public URIs of the product per language code. An empty array when the product has no links.
ProductInPost
Product name per language, keyed by language code. On input every key must be a language of the site (case-insensitive) and every value a string, otherwise 400.
categoriesCategory ids. Every id must be a category the user may use (400). On update the list replaces the current categories. In responses to GET only the categories the user may view are listed; the list is null when there are none.
commentingownerUser id of the owner. Must be an existing user (400). Defaults to the token's user on create.
valid_fromISO 8601. Must not be later than valid_to (400). null clears it on update.
valid_toISO 8601. null clears it on update.
visibilityOn update, each element replaces the values of that property in that language and null deletes all properties of the product.
ProductInPATCH
Product name per language, keyed by language code. On input every key must be a language of the site (case-insensitive) and every value a string, otherwise 400.
commentingownerUser id of the owner. Must be an existing user (400). Defaults to the token's user on create.
valid_fromISO 8601. Must not be later than valid_to (400). null clears it on update.
valid_toISO 8601. null clears it on update.
visibilitycategoriesCategory ids. Every id must be a category the user may use (400). On update the list replaces the current categories. In responses to GET only the categories the user may view are listed; the list is null when there are none.
On update, each element replaces the values of that property in that language and null deletes all properties of the product.
EventPropertyOut
property_idlangcodeValues in position order. Integers for numeric, choice and reference types, booleans for boolean, ISO 8601 strings for date, file ids for file and image (or the stored path when no file matches), strings otherwise. Empty values are left out.
properties_hrefLink to a category the property is linked to.
EventOut
idlanguagetranslationTitle.
introbodycommentingCommenting setting, normally public or none. Items saved in the admin UI can also have registered.
ownerUser id of the owner.
postedmodifiedvalid_fromvalid_tovisibilityVisibility, normally public or hidden. Items saved in the admin UI can also have registered or private.
categoriesIds of the linked categories, highest first.
The other language versions as a map from language code to id; an empty array when there are none.
Property values. Present in single items, in write responses and in lists with show_properties=true.
Public URIs of the item. In GET responses a map from language code to a list of URIs, or an empty array
when the item has no links. After a create, and after an update that changes translation, intro or
body, a flat list of the item's URIs.
EventOutMany
idlanguagetranslationTitle.
introbodycommentingCommenting setting, normally public or none. Items saved in the admin UI can also have registered.
ownerUser id of the owner.
postedmodifiedvalid_fromvalid_tovisibilityVisibility, normally public or hidden. Items saved in the admin UI can also have registered or private.
categoriesIds of the linked categories, highest first.
The other language versions as a map from language code to id; an empty array when there are none.
Property values. Present in single items, in write responses and in lists with show_properties=true.
Public URIs of the item. In GET responses a map from language code to a list of URIs, or an empty array
when the item has no links. After a create, and after an update that changes translation, intro or
body, a flat list of the item's URIs.
hrefEventInPOSTMany
Title per language; at least one.
Category ids per language. Every language of translations needs at least one category that has a name
in that language; categories without a name in the language are not linked to that version. Every id
must be an event category the user can administer.
Commenting per language; public when not given.
Owner user id per language, as a JSON integer; the current user when not given. The user must exist and not be deleted.
Start of validity per language (ISO 8601).
End of validity per language (ISO 8601); must not be before valid_froms of the same language.
Visibility per language; public when not given.
EventPOSTSingle
translationTitle.
languageLanguage of the new version. Must be a site language the item does not have yet.
introbodycommentingownerOwner user id as a JSON string (an integer is refused); the current user when not given.
valid_fromvalid_tovisibilitycategoriesCategory ids. Each must be an event category the user can administer that has a name in language.
EventInPOSTSingle
translationTitle.
languageLanguage of the new version. Must be a site language the item does not have yet.
categoriesCategory ids. Each must be an event category the user can administer that has a name in language.
introbodycommentingownerOwner user id as a JSON string (an integer is refused); the current user when not given.
valid_fromvalid_tovisibilityEventInDELETE
remove_all_versionsDelete all language versions of the item instead of only the one given in the path.
EventInPATCH
translationTitle.
introbodycommentingownerOwner user id as a JSON string (an integer is refused). The user must exist and not be deleted.
valid_fromvalid_tovisibilitycategoriesThe complete new set of category ids; each must be an event category the user can administer. Values of properties that belong to removed categories are deleted.
Property values to replace. null deletes all property values of the item.
PropertiesValues-2
property_idlangcodevaluesValues of the property; empty strings are left out. Integers for numeric, choice and reference properties and for file and image ids, booleans for boolean properties ([false] when unset), ISO 8601 strings for dates, strings otherwise. For keyvalue properties (read-only through the REST API) the value is an array of single-pair objects, or null if the stored value cannot be decoded.
properties_hrefLink to a category the property belongs to.
ContactSummaryOut
idfirstnameNull for organizations.
lastnameNull for organizations.
typeNames by language code. Null for persons.
ownermodified_bySet to the owner when the contact is created; PATCH does not change it.
postedvalid_fromvalid_tomodifiedvisibilitycategoriesCategory ids, highest first. GET lists only the categories the caller may view, and null when there are none; POST and PATCH list every category of the contact.
Values of every property of the contact's categories, per property and language. Returned by the list only with show_properties=true, always by the other operations.
Public addresses of the contact by language code, or an empty array when the contact has no links.
ContactInPost
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: firstname, lastname, categories | |
| type = object · requires: type, names, categories |
firstnamePerson contacts only; ignored for organizations.
lastnamePerson contacts only; ignored for organizations.
categoriesIds of contact categories (under the contacts root category) on which the caller's group has admin rights, with the categories right. Any other id returns 400. In PATCH the list replaces the categories and the property values of removed categories are deleted; an empty list is ignored.
typeownerId of an existing user who is not deleted. Defaults to the caller when a contact is created.
valid_fromISO 8601. Must not be later than valid_to when both are given.
valid_toISO 8601.
visibilityProperty values to set. Each entry replaces the values of that property in that language. The property must belong to a category of the contact. In PATCH null deletes every property value of the contact. Values of keyvalue properties cannot be written.
names
owner
Id of an existing user who is not deleted. Defaults to the caller when a contact is created.
valid_from
ISO 8601. Must not be later than valid_to when both are given.
categories
Ids of contact categories (under the contacts root category) on which the caller's group has admin rights, with the categories right. Any other id returns 400. In PATCH the list replaces the categories and the property values of removed categories are deleted; an empty list is ignored.
ContactInPATCH
typefirstnamelastnameOrganization contacts only; ignored for persons, whose name is lastname firstname in every site language. Keys are site language codes (any other key returns 400). In PATCH an empty string removes the name in that language.
ownerId of an existing user who is not deleted. Defaults to the caller when a contact is created.
valid_fromISO 8601. Must not be later than valid_to when both are given.
valid_toISO 8601.
visibilitycategoriesIds of contact categories (under the contacts root category) on which the caller's group has admin rights, with the categories right. Any other id returns 400. In PATCH the list replaces the categories and the property values of removed categories are deleted; an empty list is ignored.
Each entry replaces the values of that property in that language; null deletes every property value of the contact.
NewsPropertyOut
property_idlangcodeValues in position order. Integers for numeric, choice and reference types, booleans for boolean, ISO 8601 strings for date, file ids for file and image (or the stored path when no file matches), strings otherwise. Empty values are left out.
properties_hrefLink to a category the property is linked to.
NewsOut
idlanguagetranslationTitle.
introbodycommentingCommenting setting, normally public or none. Items saved in the admin UI can also have registered.
ownerUser id of the owner.
postedmodifiedvalid_fromvalid_tovisibilityVisibility, normally public or hidden. Items saved in the admin UI can also have registered or private.
categoriesIds of the linked categories, highest first.
The other language versions as a map from language code to id; an empty array when there are none.
Property values. Present in single items, in write responses and in lists with show_properties=true.
Public URIs of the item. In GET responses a map from language code to a list of URIs, or an empty array
when the item has no links. After a create, and after an update that changes translation, intro or
body, a flat list of the item's URIs.
NewsOutMany
idlanguagetranslationTitle.
introbodycommentingCommenting setting, normally public or none. Items saved in the admin UI can also have registered.
ownerUser id of the owner.
postedmodifiedvalid_fromvalid_tovisibilityVisibility, normally public or hidden. Items saved in the admin UI can also have registered or private.
categoriesIds of the linked categories, highest first.
The other language versions as a map from language code to id; an empty array when there are none.
Property values. Present in single items, in write responses and in lists with show_properties=true.
Public URIs of the item. In GET responses a map from language code to a list of URIs, or an empty array
when the item has no links. After a create, and after an update that changes translation, intro or
body, a flat list of the item's URIs.
hrefNewsInPOSTMany
Title per language; at least one.
Category ids per language. Every language of translations needs at least one category that has a name
in that language; categories without a name in the language are not linked to that version. Every id
must be a news category the user can administer.
Commenting per language; public when not given.
Owner user id per language, as a JSON integer; the current user when not given. The user must exist and not be deleted.
Start of validity per language (ISO 8601).
End of validity per language (ISO 8601); must not be before valid_froms of the same language.
Visibility per language; public when not given.
NewsPOSTSingle
translationTitle.
languageLanguage of the new version. Must be a site language the item does not have yet.
introbodycommentingownerOwner user id as a JSON string (an integer is refused); the current user when not given.
valid_fromvalid_tovisibilitycategoriesCategory ids. Each must be a news category the user can administer that has a name in language.
NewsInPOSTSingle
translationTitle.
languageLanguage of the new version. Must be a site language the item does not have yet.
categoriesCategory ids. Each must be a news category the user can administer that has a name in language.
introbodycommentingownerOwner user id as a JSON string (an integer is refused); the current user when not given.
valid_fromvalid_tovisibilityNewsInDELETE
remove_all_versionsDelete all language versions of the item instead of only the one given in the path.
NewsInPATCH
translationTitle.
introbodycommentingownerOwner user id as a JSON string (an integer is refused). The user must exist and not be deleted.
valid_fromvalid_tovisibilitycategoriesThe complete new set of category ids; each must be a news category the user can administer. Values of properties that belong to removed categories are deleted.
Property values to replace. null deletes all property values of the item.