Skip to content

CardHolders

/api/CardHolders

Example request:

http://localhost:5288/api/CardHolders

Response:

[
{
"id": 1,
"displayName": "Arliss, . Ronnie",
"first_Name": "Ronnie",
"last_Name": "Arliss",
"middle_Name": "",
"card_Holder_Letter_ID": 65,
"employee_ID": "32467834",
"displayEmployeeId": "32467834",
"email": "",
"sex": "M",
"phone": "",
"address1": "dddddd",
"address2": "xxxxx",
"city": "",
"state": "",
"zip": "",
"birthday": null,
"created": "2025-08-13T10:40:58.836964+03:00",
"updated": "2025-12-29T10:06:40.998371+02:00",
"tenant": [
0,
2,
1
],
"photo_Exists": true,
"card_Holder_Type_ID": 1,
"card_Holder_ID": null,
"name": "Arliss, Ronnie"
},
{
"id": 2,
"displayName": "Arcedeckne, . Anita",
"first_Name": "Anita",
"last_Name": "Arcedeckne",
"middle_Name": "",
"card_Holder_Letter_ID": 65,
"employee_ID": "2034527636",
"displayEmployeeId": "2034527636",
"email": "",
"sex": "F",
"phone": "",
"address1": "aaaa22",
"address2": "",
"city": "",
"state": "",
"zip": "",
"birthday": null,
"created": "2025-08-13T10:43:21.756968+03:00",
"updated": "2026-01-26T08:32:56.06532+02:00",
"tenant": [
0,
1
],
"photo_Exists": false,
"card_Holder_Type_ID": 1,
"card_Holder_ID": null,
"name": "Arcedeckne, Anita"
}
]

/api/CardHolders/{id}

Example request:

http://localhost:5288/api/CardHolders/2

Response:

{
"id": 2,
"displayName": "Arcedeckne, . Anita",
"first_Name": "Anita",
"last_Name": "Arcedeckne",
"middle_Name": "",
"card_Holder_Letter_ID": 65,
"employee_ID": "2034527636",
"displayEmployeeId": "2034527636",
"email": "",
"sex": "F",
"phone": "",
"address1": "aaaa22",
"address2": "",
"city": "",
"state": "",
"zip": "",
"birthday": null,
"created": "2025-08-13T10:43:21.756968+03:00",
"updated": "2026-01-26T08:32:56.06532+02:00",
"tenant": [
0,
1
],
"photo_Exists": false,
"card_Holder_Type_ID": 1,
"card_Holder_ID": null,
"name": "Arcedeckne, Anita"
}

POST /api/CardHolders/{id}/photo

Example request:

Call POST to upload photo for cardholder with specific id.

POST /api/CardHolders/create

Example request:

{
"first_Name": "Mike",
"last_Name": "Star",
"employee_ID": "080211111",
"email": "mike.star@mail.com",
"sex": "m",
"city": "Boston"
}

Response: created cardholder json object.

POST /api/CardHolders/update

Example request: to modify specify id and fields (phone, zip, …)

{
"id": 19,
"phone": "555-666-777",
"zip": "61115"
}