Send an Origo mobile credential invitation to a person Returns (Task)
This will send an invitation for the intended person to receive a mobile credential.
| Name | Description |
|---|---|
| personInfo | The person to send the invitation to |
| activeOn | The date and time when the credential becomes active |
| expiresOn | The date and time when the credential expires |
Example in C#
// Returns: nothing
await client.SendInvitation(PersonInfo personInfo, DateTime activeOn, DateTime expiresOn);
Example in CURL
curl -X POST \
https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/people/PERSON.KEY/origo/issue \
-H 'Authorization: Bearer TOKEN_GOES_HERE' \
-H 'Content-Type: application/json' \
-d '{
"activeOn": "2024-01-01T00:00:00Z",
"expiresOn": "2024-12-31T23:59:59Z"
}'