As of Jan 2019, this endpoint is undergoing some significant performance improvements and is likely to change, so please contact support@onlinephotosubmission.com for more information.
This endpoint should only be used to create a person. The ability to update a person via this endpoint has been deprecated. If you need to update a person, please refer to the Update a Person endpoint.
This Example Project demonstrates how to consume an older version this API endpoint within a Java project.
This Example Project demonstrates how to consume an older version of this API endpoint within a C# project.
URI: https://api.onlinephotosubmission.com/api/people
HTTP Method: POST
Required Headers: X-Auth-Token (see: Authentication)
Optional URL Parameters:
sendInvitation=[true|false]
default istrue
IfsendInvitation
is false, cardholders will not receive an email invitation.If sendInvitation is true (or not specified)
, an email invitation will be sent to the cardholder.
{ "email": "jon.doe@foo.edu" }
{ "email": "jon.doe@foo.edu", "identifier":"ABC123" }
{ "email": "jon.doe@foo.edu", "identifier":"ABC123", "customFields":{ "Last_Name":"Card", "First Name":"Carry A", "Upload Date":"2017 - 06 - 22 11:17AM", "Batch":"1" } }
Because this endpoint is currently being improved, we've included the examples of both the current HTTP response and the proposed HTTP response. Please, be aware this could change in the near future; and contact support if you have more questions.
202 ACCEPTED Headers: Location: https://api.onlinephotosubmission.com/api/people/123 { "id":123, "uri": "https://api.onlinephotosubmission.com/api/people/123" }