Set Multiple Maptician Presence Entries (date only)

This endpoint is used to create one or more presence entries characterized by each data entry having a start date only.

These entries are intended to allow for presence entries to be created from data sources that only provide an entry date. The duration of the entry is the entire date indicated (unless restricted based on start and end time configurations).

Body Params
string
enum
Defaults to cancel

This determines what happens when a data entry's contents are found to be invalid and unable to result in a successful entry. Options are either to cancel the entire operation with no entries being created, or to skip the invalid ones and create all possible entries with the data provided.

Allowed:
string
enum
Defaults to cancel

This determines what happens when a submitted data entry conflicts with an existing record in the Maptician environment. This is usually the result of a specific Occupant already having a set presence status for a period of time covered by a submitted record. Options are to skip the submitted conflicting entry and to continue to create all valid presence entries, or to cancel the entire operation without any entries being created.

Allowed:
string
enum
Defaults to cancel

This determines what happens when a data entry is unable to be matched with either an Occupant or a Location. Options are either to cancel the entire operation with no entries being created, or to skip the invalid ones and create all possible entries with the data provided.

Allowed:
string
enum
Defaults to email

This is the method that the server will use to try to find a match for an Occupant. Options are email, employeeID, and userID.

  • Email is case insensitive but otherwise must match exactly what is found in the Occupant's profile in Maptician. If email is used, each data entry must have a field labeled 'email' which contains the email value.
  • Employee ID is case sensitive and must match exactly the Employee ID field in an Occupant's Maptician profile. If Employee ID is used, each data entry must have a field labeled 'employeeID' which contains the data value.
  • User ID is a unique identifier used by Maptician to identify each Occupant record - it is usually obtained through an API endpoint. If User ID is used, each data entry must contain a field labeled 'userID' which contains the unique identifier.

Allowed:
string
enum
Defaults to iso

This is the method the server will use to attempt to parse the start and/or end dates in each data entry. All date values must use the same format. The options are as follows

  • iso - ISO 8601 formatted, such as YYYY-MM-DD or "2021-05-31"
  • unixS - UNIX Timestamp in seconds
  • unixMS - UNIX Timestamp in milliseconds
  • us - US formatted MM-DD-YYYY or "05-30-2021"
  • international - International formatted DD-MM-YYYY or "30-05-2021"
  • longForm - Long date form MMMM D, YYYY or May 30, 2021

Allowed:
data
array of objects
required

An array of presence entries where each entry represents a period of time for a specific Occupant and a presence state. If that state is 'at_location', then a location value should also be provided.

data*
Headers
string
required

Authorization token to access the API.

Responses

500

Server Error

Language
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json