Ecclesia API

API for internal use with apps and widgets
More information: https://www.agrando.no
Contact Info: andreas.tangen@vitecsoftware.com
Version: 1.0.0
BasePath: /api
Server: https://dev.ecclesia.no/api
Server: https://www.ecclesia.no/api
Denne sida er generert fra openapi.yaml med cgi-bin/build_api_doc.py. Rediger yaml-fila, ikke denne fila.

Access

  1. HTTP Basic Authentication

Methods

[ Jump to Models ]

Table of Contents

authentication

Access to customer subscriptions

selfService

Self-service operations for site owners and care customers

locations

Ceremony locations and their free times in the ceremony calendar (Leielokaler)

authentication

Up
get /authentication/methodsByMunicipality
(authenticationMethodsByMunicipalityGet)

Responses

200

success

Up
get /authentication/idPortenCredentials
(authenticationIdPortenCredentialsGet)

Query parameters

clientId (required)
string — The client id of the customer within Ecclesia

Responses

200

success

selfService

Up
get /selfService/getOrderStatus
Get order status and payment summary (selfServiceGetOrderStatusGet)
Cancelled orders, and references to historic versions of an order, give 404 - only the current version of a live order is reported. The order is identified by orderId or orderNumber - one of them is required, and orderId wins when both are given.

Query parameters

clientId (optional)
integer — Ecclesia client ID (one of clientId, municipalityNo or orgNo is required)
municipalityNo (optional)
string — Norwegian municipality number
orgNo (optional)
string — Organisation number
orderId (optional)
integer — Internal order id. Required unless orderNumber is given.
orderNumber (optional)
integer — Order number (ordrenr), unique among the current orders. Required unless orderId is given.

Responses

200

Order found
OrderStatus

404

Resource not found
StatusResponse

Up
get /selfService/getProductDetails
Get product details and connected services by product code (selfServiceGetProductDetailsGet)

Query parameters

clientId (optional)
integer — Ecclesia client ID (one of clientId, municipalityNo or orgNo is required)
municipalityNo (optional)
string — Norwegian municipality number
orgNo (optional)
string — Organisation number
productCode (required)
string —

Responses

200

Product found
ProductDetails

404

Resource not found
StatusResponse

Up
get /selfService/getSiteRenewalStatus
Get renewal status for a site (selfServiceGetSiteRenewalStatusGet)

Query parameters

clientId (optional)
integer — Ecclesia client ID (one of clientId, municipalityNo or orgNo is required)
municipalityNo (optional)
string — Norwegian municipality number
orgNo (optional)
string — Organisation number
siteId (required)
integer —

Responses

200

Site found
SiteRenewalStatus

404

Resource not found
StatusResponse

Up
get /selfService/getSiteInterest
Get registered interests for a site (selfServiceGetSiteInterestGet)

Query parameters

clientId (optional)
integer — Ecclesia client ID (one of clientId, municipalityNo or orgNo is required)
municipalityNo (optional)
string — Norwegian municipality number
orgNo (optional)
string — Organisation number
siteId (required)
integer —
ssn (optional)
string — Filter to a specific person by social security number

Responses

200

List of site interests
array of SiteInterest

Up
get /selfService/getSitesAndAvailableProducts
Get the sites a person is responsible for and the products available for each grave (selfServiceGetSitesAndAvailableProductsGet)
Lists the current sites (festeavtaler) where the person identified by ssn is registered as responsible (fester), the graves connected to each site, and the products that may be ordered for each grave. Availability is decided by the same logic as selfService/submitOrder.

Query parameters

clientId (optional)
integer — Ecclesia client ID (one of clientId, municipalityNo or orgNo is required)
municipalityNo (optional)
string — Norwegian municipality number
orgNo (optional)
string — Organisation number
ssn (required)
string — Social security number of the site owner (11 digits, or an MD5/SHA-256 hash of it)

Responses

200

Person found
SitesAndAvailableProducts

404

Resource not found
StatusResponse

Up
get /selfService/getAvailableProducts
Get all active products and the graves each of them may be ordered for (selfServiceGetAvailableProductsGet)
A simplified variant of getSitesAndAvailableProducts: one flat list of all active products, where each product lists the graves it may be ordered for. The graves are taken from the sites the person identified by ssn is responsible for (fester), and availability is decided by the same logic as selfService/submitOrder. Products with no available graves are still listed, with an empty availableForGraves.

Query parameters

clientId (optional)
integer — Ecclesia client ID (one of clientId, municipalityNo or orgNo is required)
municipalityNo (optional)
string — Norwegian municipality number
orgNo (optional)
string — Organisation number
ssn (required)
string — Social security number of the site owner (11 digits, or an MD5/SHA-256 hash of it)

Responses

200

Person found
array of AvailableProductForGraves

404

Resource not found
StatusResponse

Up
post /selfService/cancelOrder
Cancel a care order and remove what submitOrder created (selfServiceCancelOrderPost)
Reverses selfService/submitOrder: the care lines the order paid for, the order lines with their product connections, and the order itself are removed the versioned way, so the history is kept. The care agreement itself is left alone - it may predate the order and is shared by the graves on the site. An order that has entered invoicing (fakturanr, eksternt fakturanr or fakturering), or that has registered payments, is not cancelled and gives 409 - it has to be credited the ordinary way from the order card instead. The order is identified by orderId or orderNumber - one of them is required, and orderId wins when both are given.

Query parameters

clientId (optional)
integer — Ecclesia client ID (one of clientId, municipalityNo or orgNo is required)
municipalityNo (optional)
string — Norwegian municipality number
orgNo (optional)
string — Organisation number
orderId (optional)
integer — Internal order id. Required unless orderNumber is given.
orderNumber (optional)
integer — Order number (ordrenr), unique among the current orders. Required unless orderId is given.

Responses

200

Order cancelled

404

Resource not found
StatusResponse

409

The order is invoiced or paid, and can not be cancelled
StatusResponse

Up
post /selfService/submitPayment
Register a payment against an order (selfServiceSubmitPaymentPost)
Only orders created within the last 24 hours accept a payment - anything older gives 409. An order number passed as orderId is a valid id of some other order, and the payment would otherwise land there.

Query parameters

clientId (optional)
integer — Ecclesia client ID (one of clientId, municipalityNo or orgNo is required)
municipalityNo (optional)
string — Norwegian municipality number
orgNo (optional)
string — Organisation number
orderId (required)
integer — Internal order id - not the order number.
amount (required)
number —
paymentTypeId (required)
integer — 1=Bank manual, 2=Bank OCR, 3=Counter balance, 4=Credit, 5=Invoicing system, 6=Letter KID, 7=Mobile (Vipps), 8=Card
paymentReference (required)
string —
paymentDate (required)
string —

Responses

200

Success
StatusResponse

400

Invalid input
StatusResponse

404

Resource not found
StatusResponse

409

The order was created more than 24 hours ago and can not be paid here
StatusResponse

Up
post /selfService/submitOrder
Place a care order on behalf of a buyer (selfServiceSubmitOrderPost)
A product may only appear once per grave in the same order - use quantity for more than one. Whether the grave already has care makes no difference; an existing care line for the same care period is checked separately.

Query parameters

municipalityNo (optional)
string — Norwegian municipality number

Request body

application/json → SubmitOrderRequest

Responses

200

Order created
SubmitOrderResponse

500

Server error
StatusResponse

Up
post /selfService/submitSiteRenewal
Confirm renewal of a site (selfServiceSubmitSiteRenewalPost)

Query parameters

clientId (optional)
integer — Ecclesia client ID (one of clientId, municipalityNo or orgNo is required)
municipalityNo (optional)
string — Norwegian municipality number
orgNo (optional)
string — Organisation number
siteId (required)
integer —

Responses

200

Renewal confirmed
SiteRenewalResult

500

Server error
StatusResponse

Up
post /selfService/registerInterest
Register or update a person's interest in a site (selfServiceRegisterInterestPost)

Query parameters

clientId (optional)
integer — Ecclesia client ID (one of clientId, municipalityNo or orgNo is required)
municipalityNo (optional)
string — Norwegian municipality number
orgNo (optional)
string — Organisation number
siteId (required)
integer —
ssn (required)
string —
name (required)
string — Full name (first and last name required)
isInterested (required)
boolean —

Responses

200

Interest registered
SiteInterestSummary

400

Invalid input
StatusResponse

404

Resource not found
StatusResponse

500

Server error
StatusResponse

Up
post /selfService/transferResponsibility
Offer responsibility for a site to another person (selfServiceTransferResponsibilityPost)

Query parameters

clientId (optional)
integer — Ecclesia client ID (one of clientId, municipalityNo or orgNo is required)
municipalityNo (optional)
string — Norwegian municipality number
orgNo (optional)
string — Organisation number
siteId (required)
integer —
ssn_hash (optional)
string — SHA-256 hash of the recipient's SSN (use either ssn_hash or ssn+name)
ssn (optional)
string — Plain SSN of the recipient (requires name)
name (optional)
string — Full name of the recipient (required when ssn is provided)

Responses

200

Success
StatusResponse

400

Invalid input
StatusResponse

404

Resource not found
StatusResponse

Up
post /selfService/transferResponsibilityResponse
Accept or reject an offered site responsibility transfer (selfServiceTransferResponsibilityResponsePost)

Query parameters

clientId (optional)
integer — Ecclesia client ID (one of clientId, municipalityNo or orgNo is required)
municipalityNo (optional)
string — Norwegian municipality number
orgNo (optional)
string — Organisation number
siteId (required)
integer —
ssn (required)
string —
isResponsibilityAccepted (required)
boolean —
addressLine1 (optional)
string — Required when isResponsibilityAccepted is true
addressLine2 (optional)
string —
postalCode (optional)
string — Required when isResponsibilityAccepted is true
area (optional)
string — Required when isResponsibilityAccepted is true
countryCode (optional)
string — Required when isResponsibilityAccepted is true
mobile (optional)
string — Required when isResponsibilityAccepted is true
email (optional)
string — Required when isResponsibilityAccepted is true
nameFirst (optional)
string —
nameMiddle (optional)
string —
nameLast (optional)
string —

Responses

200

Success
StatusResponse

400

Invalid input
StatusResponse

404

Resource not found
StatusResponse

Up
post /selfService/terminateAgreement
Schedule termination of a site agreement (selfServiceTerminateAgreementPost)

Query parameters

clientId (optional)
integer — Ecclesia client ID (one of clientId, municipalityNo or orgNo is required)
municipalityNo (optional)
string — Norwegian municipality number
orgNo (optional)
string — Organisation number
siteId (required)
integer —

Responses

200

Success
StatusResponse

404

Resource not found
StatusResponse

500

Server error
StatusResponse

Up
post /selfService/uploadDocument
Upload a PDF document and attach it to a site (selfServiceUploadDocumentPost)

Query parameters

clientId (optional)
integer — Ecclesia client ID (one of clientId, municipalityNo or orgNo is required)
municipalityNo (optional)
string — Norwegian municipality number
orgNo (optional)
string — Organisation number
siteId (required)
integer —

Request body

multipart/form-data
document (string)
title (string)

Responses

200

Document uploaded successfully

500

Server error
StatusResponse

Up
post /selfService/removeCareFromGrave
Remove care association from a grave (development only) (selfServiceRemoveCareFromGravePost)

Query parameters

municipalityNo (optional)
string — Norwegian municipality number

Request body

application/json
graveNumber (string)

Responses

200

Success
StatusResponse

500

Server error
StatusResponse

Up
get /selfService/getResponsibleDetails
Contact details held about the person responsible, per municipality (selfServiceGetResponsibleDetailsGet)
What each municipality has registered about the person, so grav.no can let them confirm or correct it before booking a time for the urn lowering. The same person may exist as more than one row within a client, so every match is listed. Only municipalities that have switched self-service on are read. The others come back with selfServiceEnabled false and an empty person list.

Query parameters

ssn (required)
string — Social security number of the person responsible. Help numbers are accepted - person.foedselsnr also carries these, for anonymous cases and test identities, so eleven DIGITS must not be required.
municipalityNo (required)
array of string — Norwegian municipality numbers to answer for. Repeat the parameter (municipalityNo=0301&municipalityNo=1103) or send them comma separated. At most 25 - more than that is a sweep, not a real user's municipalities.

Responses

200

Matches per municipality
ResponsibleDetailsResult

Up
post /selfService/updateResponsibleDetails
Submit corrected contact details for the person responsible (selfServiceUpdateResponsibleDetailsPost)
Writes the submitted fields to every person row carrying the given social security number, in each of the listed municipalities. Fields left out of the call are not touched. A field that IS present but empty clears the value - that is how the signed-in person removes a mobile number. Person records locked for outside editing (endre_kun_i_personkort) are skipped silently. Only municipalities that have switched self-service on are written to. The others come back with selfServiceEnabled false and updated 0.

Query parameters

ssn (required)
string — Social security number of the person responsible. Help numbers are accepted - person.foedselsnr also carries these, for anonymous cases and test identities, so eleven DIGITS must not be required.
municipalityNo (required)
array of string — Norwegian municipality numbers to answer for. Repeat the parameter (municipalityNo=0301&municipalityNo=1103) or send them comma separated. At most 25 - more than that is a sweep, not a real user's municipalities.
nameFirst (optional)
string —
nameMiddle (optional)
string —
nameLast (optional)
string —
mobile (optional)
string —
email (optional)
string —

Responses

200

Number of rows updated per municipality
UpdateResponsibleDetailsResult

500

Server error
StatusResponse

Up
get /selfService/getFunerals
Funerals a person is responsible for, per municipality (selfServiceGetFuneralsGet)
The urn funerals where the person is registered as responsible (bestpers.fam_person_id), newest death first. Coffin burials are not included - self-service booking only applies to urn lowerings. Only municipalities that have switched self-service on are read. The others come back with selfServiceEnabled false and an empty funeral list. isOpenForSelfService tells whether a caseworker has handed the funeral over from the request card. The lowering time is included whenever one is registered, whether it was chosen through self-service or entered by the burial authority.

Query parameters

ssn (required)
string — Social security number of the person responsible. Help numbers are accepted - person.foedselsnr also carries these, for anonymous cases and test identities, so eleven DIGITS must not be required.
municipalityNo (required)
array of string — Norwegian municipality numbers to answer for. Repeat the parameter (municipalityNo=0301&municipalityNo=1103) or send them comma separated. At most 25 - more than that is a sweep, not a real user's municipalities.

Responses

200

Funerals per municipality
FuneralsResult

Up
get /selfService/getAvailableLoweringDates
Available dates for the urn lowering at the deceased's cemetery (selfServiceGetAvailableLoweringDatesGet)
Dates taken from the ceremony calendar in Ecclesia, using the same rules a caseworker's booking goes through: the ceremony times defined for the cemetery's ceremony location or the single zone it inherits from, restricted to the ceremony type the client picked for that cemetery, with capacity counted against both existing ceremonies and reservations, and blocked periods excluded. The period is the client's booking window (earliest and latest number of days ahead, configured under Innstillinger for selvbetjening), capped at six months from the date of death. Each date lists the times free that day. Book by date alone and the earliest free time is used; pass a time to pick one. NOTE: municipalityNo is required here even though a funeral is identified by the deceased's social security number alone. Without it the number would have to be looked for in every client database, and such a sweep took production down on 2026-07-31. grav.no has the municipality from selfService/getFunerals.

Query parameters

deceasedSsn (required)
string — Social security number of the deceased. Help numbers are accepted.
municipalityNo (required)
string — The municipality the funeral belongs to. Exactly one.

Responses

200

Available dates
AvailableLoweringDates

404

Resource not found
StatusResponse

409

The funeral cannot be booked: not opened for self-service, a date for the lowering is already set, or the cemetery is not open for self-service booking. availableDates is then empty.
StatusResponse

Up
post /selfService/registerUrnLowering
Register (or correct) the time for the urn lowering (selfServiceRegisterUrnLoweringPost)
Registers the chosen time as a ceremony on the funeral, together with the responsible person's notification preferences. Submitting again CORRECTS the previous registration: the ceremony that self-service created is moved, it is not left beside a new one. A time entered by the burial authority is never overwritten - that gives 409. The date is checked against the available times again here. The list grav.no shows may be seconds old, and two people must not be able to take the same place. A reminder asked for by the responsible person is planned with the ordinary event notification routine, so it shows up alongside the ones a case worker sets up, and follows the ceremony if the time is later corrected. Deselecting a channel on a later submission removes the reminder again. The receipt to the responsible person is queued the same way, as a send-now notification. Correcting the time gives a new receipt, but a receipt that has not gone out yet is reused rather than duplicated. A time booked through self-service can be moved until changeDaysBefore days before the lowering (see getAvailableLoweringDates). After that a new date is rejected with 409 and a message the responsible person can be shown. NOTE: rejections come back as HTTP 200 with status.code set (409, 404 ...) and status.message. Check status.code before treating the booking as done.

Query parameters

deceasedSsn (required)
string — Social security number of the deceased. Help numbers are accepted.
municipalityNo (required)
string — The municipality the funeral belongs to. Exactly one.
date (required)
string — Chosen date, YYYY-MM-DD
time (optional)
string — Chosen time, HH:MM. Omitted picks the earliest free time that day.
notifyBySms (optional)
boolean — Whether the responsible person wants a reminder by SMS. The reminder is scheduled on the ceremony and sent automatically the configured number of days before it; see reminderScheduled in the response.
notifyByEmail (optional)
boolean — Whether the responsible person wants a reminder by email

Responses

200

The time is registered
RegisterUrnLoweringResult

404

Resource not found
StatusResponse

409

The time could not be taken: the funeral is not open for self-service, a date is already set, the date is outside the booking period, or the time is not free.
StatusResponse

500

Server error
StatusResponse

locations

Up
get /getEventTypes
The client's event types that can be booked (getEventTypesGet)
Current event (ceremony) types shown in the calendar, sorted by name. Registrations (category 3 - tracking of coffin and urn between the funeral acts) and types kept out of the calendar are not times anyone books, and are left out. The id is the eventTypeId for getLocationAvailability.

Query parameters

clientId (required)
integer — Ecclesia client ID

Responses

200

Event types
EventTypes

404

Resource not found
StatusResponse

500

Server error
StatusResponse

Up
get /getLocations
The client's ceremony locations (getLocationsGet)
Churches, chapels, ceremony rooms and crematories events can be booked at, sorted by name. The id is stable and can be used as a key. Locations are versioned in Ecclesia, but an edit moves the HISTORY to a new row and the current row keeps its id. address, postalCode and city are part of the contract but are empty for now - Ecclesia does not hold an address for a location yet.

Query parameters

clientId (required)
integer — Ecclesia client ID

Responses

200

Locations
Locations

404

Resource not found
StatusResponse

500

Server error
StatusResponse

Up
get /getLocationAvailability
Free times at one location for an event type (getLocationAvailabilityGet)
Free times from the ceremony calendar in Ecclesia, by the same rules as the self-service urn lowering: the times defined for the location or the single zone it inherits from, restricted to the event type, with capacity counted against both existing events and reservations, and blocked periods excluded. bookable tells whether the event type can be booked at the location at all. bookable true with an empty availableDates means fully booked or blocked in the period. A fromDate in the past is moved to today, and the answer says which period it covers. The period is at most 180 days.

Query parameters

clientId (required)
integer — Ecclesia client ID
locationId (required)
string — Location id from getLocations
fromDate (required)
string — First date, YYYY-MM-DD
toDate (required)
string — Last date, YYYY-MM-DD. At most 180 days after fromDate.
eventTypeId (required)
string — Event type id from getEventTypes

Responses

200

Free times at the location
LocationAvailability

404

The client, the location or the event type was not found (a registration type, or one kept out of the calendar, counts as not found)
StatusResponse

500

Server error
StatusResponse

Models

[ Jump to Methods ]

Table of Contents

  1. StatusResponse
  2. OrderStatus
  3. ProductDetails
  4. ServiceDetails
  5. SiteRenewalStatus
  6. SiteRenewalResult
  7. SiteInterest
  8. SiteInterestSummary
  9. SitesAndAvailableProducts
  10. SiteWithGraves
  11. GraveWithProducts
  12. AvailableProduct
  13. AvailableProductForGraves
  14. SubmitOrderRequest
  15. SubmitOrderResponse
  16. MunicipalityResultBase
  17. ResponsibleDetailsResult
  18. ResponsiblePerson
  19. UpdateResponsibleDetailsResult
  20. FuneralsResult
  21. Funeral
  22. AvailableLoweringDates
  23. AvailableDate
  24. RegisterUrnLoweringResult
  25. EventTypes
  26. Location
  27. Locations
  28. LocationAvailability

StatusResponse

status object

OrderStatus

orderId integer
orderNumber integer
invoiceNumber integer
issuedDate string
dueDate string
totalAmount number
vat number
paidAmount number
remainingAmount number
isPaid boolean

ProductDetails

productId integer
code string
name string
summary string
description string
bulletPoints string
activeFrom string
activeTo string
orderableFromMonth integer
orderableFromDay integer
orderableToMonth integer
orderableToDay integer
carePeriodId integer
services array of ServiceDetails

ServiceDetails

serviceId integer
serviceNumber integer
name string
price number
vatChargeable boolean
externalCode string
accountId integer

SiteRenewalStatus

siteId integer
siteNumber string
currentExpiration integer
Current expiration year
renewalUntil integer
Year the site will be renewed until
renewalIsConfirmed boolean
renewalOrderId integer
renewalPrice number

SiteRenewalResult

siteId integer
renewalUntil integer
orderId integer
orderNumber integer
totalAmount number
totalVat number
orderLines array of object

SiteInterest

id integer
siteId integer
personSsn string
SHA-256 hash of the person's SSN
personName string
isInterested boolean
interestedSinceDate string
isTransferPending boolean
transferPendingSinceDate string
nameFirst string
nameMiddle string
nameLast string
address1 string
address2 string
postalNo string
area string
countryCode string
mobile string
email string

SiteInterestSummary

id integer
siteId integer
personSsn string
SHA-256 hash of the person's SSN
personName string
isInterested boolean
interestedSinceDate string

SitesAndAvailableProducts

personId integer
personName string
sites array of SiteWithGraves

SiteWithGraves

siteId integer
siteNumber string
expirationYear integer
expirationDate string
isRenewable boolean
graves array of GraveWithProducts

GraveWithProducts

graveId integer
graveNumber string
Grave identifier as accepted by selfService/submitOrder
cemeteryNumber string
cemeteryName string
sectionNumber string
row string
number string
hasCare boolean
careNumber string
availableProducts array of AvailableProduct

AvailableProduct

productId integer
code string
name string
summary string
unitSalesPrice number
Sum of the sales price of the services connected to the product
vat number
carePeriodId integer
orderableFrom string
First date of the ordering period, capped by the period the product is active. The current period when the product may be ordered today, otherwise the next one - unless that period starts after the product stops being active, in which case the previous period is returned. 0000-00-00 when the date is not limited. Both dates are 0000-00-00 with orderableNow false when the active period does not overlap any ordering period at all.
orderableTo string
Last date of the same period. 0000-00-00 when not limited.
orderableNow boolean
Whether today is within the returned ordering period

AvailableProductForGraves

availableForGraves array of string
Grave identifiers, in the format selfService/submitOrder accepts. Empty when the product can not be ordered for any of the person's graves.

SubmitOrderRequest

orderSource (required) string
orderSum (required) number
isReadyForInvoicing boolean
Whether the order is set ready for invoicing. true sets it ready, false leaves it not ready, and null or leaving it out uses what the order template decides - the same as an order made in the user interface. The value the order ended up with is returned in the response.
buyer (required) object
products (required) array of object

SubmitOrderResponse

orderNumber integer
orderId integer
orderTotal number
orderVat number
isReadyForInvoicing boolean
Whether the created order ended up ready for invoicing

MunicipalityResultBase

municipalityNo string
clientName string
selfServiceEnabled boolean
Whether the burial authority has switched self-service on at all. When false, getResponsibleDetails reads nothing and updateResponsibleDetails writes nothing for that municipality - the lists come back empty rather than missing, so a municipality that does not offer self-service is distinguishable from one with no match. Present on getResponsibleDetails, updateResponsibleDetails and getFunerals.
error string
Present when this municipality could not be answered. The other municipalities still carry their results - a failing lookup is not the same as no hits.

ResponsibleDetailsResult

municipalities array of object
unresolvedMunicipalities array of string
Municipality numbers with no burial authority registered in Ecclesia

ResponsiblePerson

personId integer
name string
nameFirst string
nameMiddle string
nameLast string
mobile string
email string

UpdateResponsibleDetailsResult

status StatusResponse
municipalities array of object
unresolvedMunicipalities array of string

FuneralsResult

municipalities array of object
unresolvedMunicipalities array of string

Funeral

requestId integer
requestNumber integer
deceasedSsn string
deceasedName string
dateOfDeath string
cemeteryNo string
cemetery string
isOpenForSelfService boolean
Whether a caseworker has opened the funeral from the request card
openedForSelfService string
When it was opened
nextOfKinWishToBePresent boolean
Whether the bereaved want to be present at the urn lowering. THREE states: true, false, and null when the question has not been answered - null is not the same as a no, and most funerals have no answer recorded.
loweringDate string
Present only when a time is registered
loweringTimeFrom string
loweringTimeTo string
notifyBySms boolean
notifyByEmail boolean

AvailableLoweringDates

municipalityNo string
requestId integer
cemeteryNo string
cemetery string
firstDate string
First bookable date - today plus the client's minimum notice
lastDate string
Last bookable date - the client's maximum, capped at six months from the date of death
minDaysAhead integer
The burial authority's minimum notice in calendar days, from Innstillinger for selvbetjening - firstDate is today plus this. Use it in texts instead of a fixed number; it differs between authorities and can be changed at any time.
maxDaysAhead integer
The burial authority's maximum in calendar days, never more than 180. lastDate can be earlier than today plus this; see lastDateReason.
lastDateReason string
What set lastDate. clientLimit is the authority's own maximum; sixMonthsFromDeath is the legal limit (the urn must be buried within six months of the death, gravferdsloven). When both fall on the same day, clientLimit is given.
changeDaysBefore integer
How many days before the lowering a time booked through self-service can still be moved, from Innstillinger for selvbetjening. When the authority has not set a separate change deadline, this is the same as minDaysAhead. registerUrnLowering rejects a new date for a booking closer than this; the same date sent again (to change only the reminders) is accepted.
availableDates array of AvailableDate

AvailableDate

date string
times array of object

RegisterUrnLoweringResult

status StatusResponse
municipalityNo string
requestId integer
ceremonyId integer
The ceremony carrying the time. Stays the same when a later submission corrects the registration.
loweringDate string
loweringTimeFrom string
loweringTimeTo string
notifyBySms boolean
notifyByEmail boolean
reminderScheduled array of string
The channels a reminder was actually scheduled in. A channel the responsible person asked for is missing here when the burial authority has not chosen a letter template for it - the preference is then stored on the funeral, but no reminder will go out.
reminderDaysBefore integer
How many days before the lowering the reminder is sent, from the authority's settings. Default 10.
receiptChannel string
The channel the receipt to the responsible person is sent in, or null when the burial authority has not chosen a receipt template. A letter template goes by SvarUt where that is set up, otherwise as an email attachment. The receipt is queued and goes out within a minute, not while this call is being answered.

EventTypes

clientId integer
eventTypes array of object

Location

id string
Ecclesia's id of the location. Stable.
name string
medarbeiderenId string
Medarbeideren location id linked to the location, empty if none
address string
postalCode string
city string

Locations

clientId integer
locations array of Location

LocationAvailability

clientId integer
location Location
eventTypeId string
eventType string
fromDate string
First date covered - fromDate, or today when fromDate has passed
toDate string
bookable boolean
Whether the event type has any times defined at the location
availableDates array of AvailableDate