URI: https://api.onlinephotosubmissioncloudcard.comus/api/peopleperson/{id}
Example URI: https https://api.
onlinephotosubmissioncloudcard.
comus/
apiperson/
people/123
Example URI: https https://api.
onlinephotosubmissioncloudcard.
comus/
apiperson/
people/jon.doe@foo.edu?findBy=email
Example URI: https://api.
onlinephotosubmissioncloudcard.
comus/
api/peopleperson/A1234567?findBy=identifier
Optional URL Parameters:
findBy=[id|email|identifier]
(default id)updateRoles=[true|false]
(default true)
IfupdateRoles
istrue
or absent, any roles not explicitly granted will be removed
Note |
---|
DEPRECATION NOTICE: Finding a person by email address or identifier (aka Student ID/Employee ID) without specifying the |
HTTP Method: PUT
Required Headers: X-Auth-Token (see: Authentication)
Optional URL Parameters: none
...
Code Block | ||
---|---|---|
| ||
{ "email": "jon.doe@foo.edu", "identifier":"ABC123", "Some Custom Field Name":"Some Custom Field Value", "Another Custom Field Name":"Another Custom Field Value", "ROLE_DIRECTOR":false, "ROLE_OFFICE":true, "emailGroupNamecardholderGroupName":"Online Students", "additionalPhotoRequired":true , "enabled":true } |
...