Authorization: Bearer ********************
{
"data": [
{
"username": "user.email@example.com",
"updateId": "379EB561-0378-4718-ACEA-5669932208A9",
"credentials": [
{
"active": true,
"cardNumber": "1234567890",
"facilityCode": "100",
"scanData": [
"100:1234567890"
],
"credentialType": "Mifare"
}
]
}
]
}
curl --location --request POST 'https://api.calven.com/v1/access-credentials' \
--header 'Content-Type: application/json' \
--data-raw '{
"data": [
{
"username": "user.email@example.com",
"updateId": "379EB561-0378-4718-ACEA-5669932208A9",
"credentials": [
{
"active": true,
"cardNumber": "1234567890",
"facilityCode": "100",
"scanData": [
"100:1234567890"
],
"credentialType": "Mifare"
}
]
}
]
}'
{
"updateId": "379EB561-0378-4718-ACEA-5669932208A9",
"result": "CARD_UPDATE_FAILED",
"message": "User not found",
"results": [
{
"cardNumber": "string",
"facilityCode": "string",
"result": "CARD_UPDATE_FAILED",
"message": "string"
}
]
}