username:password
Authorization: Basic *****************
{
"sourceId": "string",
"presenceEvents": [
{
"timestamp": "2021-09-01T12:00:00.000Z",
"locationId": "string",
"locationType": "level",
"eventId": "string",
"sourceUserId": "string",
"userId": "string",
"userEmail": "string"
}
]
}
curl --location --request POST 'https://api.calven.com/v1/presence/basic' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data-raw '{
"sourceId": "string",
"presenceEvents": [
{
"timestamp": "2021-09-01T12:00:00.000Z",
"locationId": "string",
"locationType": "level",
"eventId": "string",
"sourceUserId": "string",
"userId": "string",
"userEmail": "string"
}
]
}'
{
"sourceId": "string",
"timestamp": "2021-09-01T12:00:00.000Z",
"results": [
{
"eventId": "string",
"resultCode": 0,
"message": "string"
}
]
}