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"2015-04-11T17:26:28Z", "additionalPhotoRequired": true, "additionalPhotos": { "Government Issued ID": null }, "authorities": [ { "class": "com.campuscardtools.myphotoid.Role", "id": 34, "authority": "ROLE_CARDHOLDERDIRECTOR" }, ], { "currentPhoto": { "aspectRatioclass": 1,"com.campuscardtools.myphotoid.Role", "classificationsid": [...],2, "domainClassauthority": "com.campuscardtools.myphotoid.Photo",ROLE_OFFICE" "id": 12061,}, "isAspectRatioCorrect": true,{ "linksclass": {"com.campuscardtools.myphotoid.Role", "bytesid": "https://api.onlinephotosubmission.com/api/photos/lotsofrandomlettersandnumbers/bytes" 3, }, "lowestClassificationauthority": 0.0185,"ROLE_CARDHOLDER" "originalPhoto} ], "currentPhoto": { "aspectRatio": 0.75, "idclassifications": 12060,[ { "publicKey": "lotsofrandomlettersandnumbers", "linksid": {145302, "bytesscore": "https://api.onlinephotosubmission.com/api/photos/lotsofrandomlettersandnumbers/bytes"0.9963, } "requirementName": "Helper Bot" }, "person": {...}, "publicKey": "lotsofrandomlettersandnumbers"], "statusdomainClass": "PENDING"com.campuscardtools.myphotoid.Photo", }, "customFieldshelperBotReviewed": {true, "Campusid": { 244004, "classisAspectRatioCorrect": "com.campuscardtools.myphotoid.CustomFieldValue", false, "idlinks": 11858,{ "customFieldbytes": {...},"https://s3.amazonaws.com/photos.onlinephotosubmission.com/9kfpihiemv536j6m0s2eo6valakij2k57q6vnncjsg55frgs5uv68av1pjg4qgv1.jpg" }, "lastUpdated": "2017-11-21T13:38:23Z", "lowestClassification": 0.9963, "personoriginalPhoto": { "classid": "com.campuscardtools.myphotoid.Person"243992, "publicKey": "u09bu565dbg8ntjn8gn39nuh9qdtthvo7dlii78gh69ud9q4lr9npjd43smvf2vo", "id": 18762 "links": { }, "valuebytes": "Easthttps://s3.amazonaws.com/photos.onlinephotosubmission.com/u09bu565dbg8ntjn8gn39nuh9qdtthvo7dlii78gh69ud9q4lr9npjd43smvf2vo.jpg" }, } "Name": { }, "classperson": "com.campuscardtools.myphotoid.CustomFieldValue",{ "id": 1185790, "customFieldusername": {...}"director@sharptop.co", "lastUpdatedemail": "2017-11-21T13:38:23Zdirector@sharptop.co", "personidentifier": { "d256436", "classorganization": "com.campuscardtools.myphotoid.Person",{ "id": 18762 92, }, "valuename": "GraceTest HopperOrg.", } }, "dateTermsAcceptedphotoRequirements": null[...], "domainClass": "com.campuscardtools.myphotoid.Person", "email": "grace.hopper@sharptop.io", "emailsReceivedidentifier": [null, { "addressbadPhotoThreshold": "grace.hopper@sharptop.io",0.4, "formattedTimestampgoodPhotoThreshold": "10-19-2017 11:23 AM EDT"0.8 }, "additionalPhotos": [], "additionalPhotoRequired": true, "previouslyApprovedPhoto": { "aspectRatio": 0, "classifications": [], "domainClass": "com.campuscardtools.myphotoid.Photo", "helperBotReviewed": false, "id": 136, "isAspectRatioCorrect": false, "links": { "bytes": "https://s3.amazonaws.com/photos.onlinephotosubmission.com/419e7e8346c8c436a146ddd30c97898b59c66b9072aee592810ed1b53f372936.jpg" }, "lowestClassification": null, "originalPhoto": null, "person": { "id": 90, "username": "director@sharptop.co", "email": "director@sharptop.co", "identifier": "d256436", "organization": { "id": 92, "name": "Test Org.", "photoRequirements": [...], "identifier": null, "badPhotoThreshold": 0.4, "goodPhotoThreshold": 0.8 }, "additionalPhotos": [], "additionalPhotoRequired": true }, "personHasApprovedPhoto": true, "publicKey": "419e7e8346c8c436a146ddd30c97898b59c66b9072aee592810ed1b53f372936", "status": "DONE" } }, "personHasApprovedPhoto": true, "publicKey": "9kfpihiemv536j6m0s2eo6valakij2k57q6vnncjsg55frgs5uv68av1pjg4qgv1", "status": "PENDING" }, "customFields": { "First Name": null, "Last Name": null }, "dateTermsAccepted": "2015-05-24T06:44:54Z", "domainClass": "com.campuscardtools.myphotoid.Person", "email": "director@sharptop.co", "emailsReceived": [ { "address": "director@sharptop.co", "formattedTimestamp": "10-19-2017 11:23 AM EDT", "subject": "Your Photo Was Approved", "timestamp": "2017-10-19 11:23:17.0" }, { "address": "director@sharptop.co", "formattedTimestamp": "10-20-2017 02:29 PM EDT", "subject": "Instant Photo Feedback", "timestamp": "2017-10-20 14:29:29.0" }, { "address": "director@sharptop.co", "formattedTimestamp": "Jan 19 12:47 PM EST", "subject": "Your Photo Was Approved", "timestamp": "2018-01-19 12:47:53.0" }, { "address": "director@sharptop.co", "formattedTimestamp": "Jun 20 12:34 AM EDT", "subject": "Instant Photo Feedback", "timestamp": "2018-06-20 00:34:42.0" }, { "address": "director@sharptop.co", "formattedTimestamp": "Sep 26 10:07 AM EDT", "subject": "Instant Photo Feedback", "timestamp": "2018-09-26 10:07:24.0" } ], "enabled": true, "homeOrganization": { "id": 8, "hasDescendents": true, "descendents": [ { "id": 92 }, { "id": 100064 }, { "id": 46 }, "subject": "Your Photo Was Approved",{ "timestampid": "2017-10-19 11:23:17.0" 100079 }, { { "address": "grace.hopper@sharptop.io", "id": 100047 "formattedTimestamp": "10-20-2017 02:29 PM EDT", }, "subject": "Instant Photo Feedback", { "timestamp": "2017-10-20 14:29:29.0" "id": 100096 }, }, { { "address": "grace.hopper@sharptop.io", "formattedTimestampid": "Jan 19 12:47 PM EST" 87 }, "subject": "Your Photo Was Approved",{ "timestampid": "2018-01-19 12:47:53.0" 91 } }, ] { }, "id": 90, "addressidentifier": "grace.hopper@sharptop.iod256436", "links": null, "formattedTimestamporganization": "Jun{ 13 9:53 AM EDT", "id": 92, "subjectdomainClass": "Instant Photo Feedback", com.campuscardtools.myphotoid.Organization", "timestampname": "2018-06-13 09:53:52.0"Test Org.", }"isPaid": true, { "termsOfService": null, "addressphotoRequirements": "grace[..hopper@sharptop.io"], "formattedTimestamp": "Jun 13 9:54 AM EDT", "customFields": [ { "subject": "Instant Photo Feedback", "timestampname": "2018-06-13 09:54:30.0First Name" }, }, { "address": "grace.hopper@sharptop.io",{ "formattedTimestampname": "JunLast 18Name" 3:14 PM EDT", } "subject": "Your Photo Was Approved", ], "timestampcustomCssUrl": "2018-06-18 15:14:05.0"https://sharptopco.github.io/cloudcard-custom-assets/blankcssfile.css", } "useEmailAsUsername": true, ], "enabledusePersonIdentifier": true, "idpersonIdentifierLabel": "ID 18762Number", "identifierdownloadStrategy": "S63455", { "latestPhotoid": null"EXTERNAL", "links": null, "organizationname": {"External Application" "id": 8}, "domainClassdownloadLabel": "com.campuscardtools.myphotoid.OrganizationDownload Photos", "namephotoDimensions": { "SharpTop Company", "isPaidclass": true,"com.campuscardtools.myphotoid.PhotoDimensions", "termsOfServiceid": "...",3, "photoRequirementsdescription": [...]"200:200", "customFieldsheight": [...]200, "customCssUrlwidth": null,200 "useEmailAsUsername": true}, "usePersonIdentifierpreventMultiplePhotos": truefalse, "personIdentifierLabelapprovalsPerDay": "ID Number"0, "downloadStrategyapprovalsMadeToday": { 0, "idcanApproveMorePhotosToday": "ZIP", true, "nameemailReplyTo": "Zip File"Hello From CloudCard <hello@cloudcardtools.com>", }"helperBotDelay": 1000, "downloadLabeladditionalPhotoTypes": "Download[ Photos", "aspectRatio": { { "class": "com.campuscardtools.myphotoid.AspectRatio", "errors": { "id": 3, "descriptionerrors": "1:1", [] "height": 1}, "widthname": 1 "Government Issued ID", }, "notBound": false, "preventMultiplePhotos": false, "approvalsPerDayprompt": 0,"Please submit a photo of your government issued "approvalsMadeToday": 2ID.", "canApproveMorePhotosToday": true, "allowAutoCroprequired": true,false "allowAutoRotate": true, } "additionalPhotoTypes": [] }, "passwordExpired": false, "passwordResetRequired": false, "readOnly": false, "username": "gracedirector@sharptop.hopper@sharptop.ioco" } |