PatchCardAssignmentAsync

Returns (Task)

Overview of PatchCardAssignmentAsync goes here.

Name Description
personHref The href of the person owning the card assignment
cardAssignmentKey The key of the card assignment to patch
patchDoc The JSON patch document with operations to apply
encodedCardNumberStringOverride Optional string value for EncodedCardNumber - this value takes precedence over the CardAssignmentInfo.EncodedCardNumber

Patch Card Assignment Async

Example in C#

// Returns: nothing
await client.PatchCardAssignmentAsync(String personHref, String cardAssignmentKey, CardAssignmentInfo patchDoc, String encodedCardNumberStringOverride);

Example in CURL



            curl -X PATCH \
                https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/people/PERSON.KEY/cards/CARDASSIGNMENT.KEY \
                -H 'Authorization: Bearer TOKEN_GOES_HERE' \
                -H 'Content-Type: application/json-patch+json' \
                -d '[
                        {
                            "op": "replace",
                            "path": "/ExpiresOn",
                            "value": "2020-02-22T20:51:31.4443735Z"
                        },
                        {
                            "op": "replace",
                            "path": "/IsDisabled",
                            "value": false
                        }
                    ]'