Info |
---|
This Example Project demonstrates how to consume this API endpoint within a C# project. |
URI: https://app.cloudcardtools.com/api/people/{ id | email }
...
Code Block | ||
---|---|---|
| ||
200 OK { "accountExpired": false, "accountLocked": false, "activatedDate": null, "additionalPhotos": {}, "authorities": [ { "class": "com.campuscardtools.myphotoid.Role", "id": 3, "authority": "ROLE_CARDHOLDER" } ], "currentPhoto": { "aspectRatio": 1, "classifications": [...], "domainClass": "com.campuscardtools.myphotoid.Photo", "id": 12061, "isAspectRatioCorrect": true, "links": { "bytes": "https://api.onlinephotosubmission.com/api/photos/lotsofrandomlettersandnumbers/bytes" }, "lowestClassification": 0.0185, "originalPhoto": { "id": 12060, "publicKey": "17d0bb4d96dae04395199308bbc56362279679fff0ffe2b36144ac2d261533d3", "links": { "bytes": "https://api.onlinephotosubmission.com/api/photos/lotsofrandomlettersandnumbers/bytes" } }, "person": {...}, "publicKey": "lotsofrandomlettersandnumbers", "status": "PENDING" }, "customFields": { "Campus": { "class": "com.campuscardtools.myphotoid.CustomFieldValue", "id": 11858, "customField": {...}, "lastUpdated": "2017-11-21T13:38:23Z", "person": { "class": "com.campuscardtools.myphotoid.Person", "id": 18762 }, "value": "East" }, "Name": { "class": "com.campuscardtools.myphotoid.CustomFieldValue", "id": 11857, "customField": {...}, "lastUpdated": "2017-11-21T13:38:23Z", "person": { "class": "com.campuscardtools.myphotoid.Person", "id": 18762 }, "value": "Grace Hopper" } }, "dateTermsAccepted": null, "domainClass": "com.campuscardtools.myphotoid.Person", "email": "grace.hopper@sharptop.io", "emailsReceived": 1, "enabled": true, "id": 18762, "identifier": "S63455", "latestPhoto": null, "links": null, "organization": { "id": 8, "domainClass": "com.campuscardtools.myphotoid.Organization", "name": "SharpTop Company", "isPaid": true, "termsOfService": "...", "photoRequirements": [ { "id": 22, "uniqueName": "Color Photo", "requirement": "Must be a color photo.", "listIndex": 2, "hidden": false }, { "id": 25, "uniqueName": "Look At Camera", "requirement": "Eyes should be open and looking at the camera", "listIndex": 5, "hidden": false }, { "id": 21, "uniqueName": "Plain Background", "requirement": "Should be taken against a plain, light background", "listIndex": 1, "hidden": false }, { "id": 23, "uniqueName": "No Accessories", "requirement": "Must not include sunglasses or hat", "listIndex": 3, "hidden": false }, { "id": 20, "uniqueName": "Crop", "requirement": "Should be cropped slightly above head to middle of chest", "listIndex": 0, "hidden": false }, { "id": 125, "uniqueName": "Generic", "requirement": "Must be a good ID photo", "listIndex": 9, "hidden": true }, { "id": 24, "uniqueName": "Face Camera", "requirement": "Must be positioned directly facing the camera", "listIndex": 4, "hidden": false } ...], "customFields": [ { "name": "Campus" }, { "name": "Name" } ...], "customCssUrl": null, "useEmailAsUsername": true, "usePersonIdentifier": true, "personIdentifierLabel": "ID Number", "downloadStrategy": { "id": "ZIP", "name": "Zip File" }, "downloadLabel": "Download Photos", "aspectRatio": { "class": "com.campuscardtools.myphotoid.AspectRatio", "id": 3, "description": "1:1", "height": 1, "width": 1 }, "preventMultiplePhotos": false, "approvalsPerDay": 0, "approvalsMadeToday": 2, "canApproveMorePhotosToday": true, "allowAutoCrop": true, "allowAutoRotate": true, "additionalPhotoTypes": [] }, "passwordExpired": false, "passwordResetRequired": false, "readOnly": false, "username": "grace.hopper@sharptop.io" } |
...