Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 29 Next »

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 is true
    If sendInvitation is false, cardholders will not receive an email invitation.

    If sendInvitation is true (or not specified), the user's password will be reset, all previous login links will be deprovisioned, and an email invitation will be sent to the cardholder.

By default, this request results in an email being sent to the newly created user. If you don't want an email to be sent, you can use the sendInvitation url parameter to turn emails off:
https://app.cloudcardtools.com/api/people?sendInvitation=false
(note that sendInvitation=true has no effect, as true is the default value.


Example HTTP Request Body - Email Only
{
  "email": "jon.doe@foo.edu"
}
Example HTTP Request Body - Using option "identifier" field to set ID Number
{
  "email": "jon.doe@foo.edu",
  "identifier":"ABC123"
}
Example HTTP Request Body - Set the user's custom fields
{
  "email": "jon.doe@foo.edu",
  "identifier":"ABC123",
  "customFields":{ 
    "Last_Name":"Card",
    "First Name":"Carry A",
    "Upload Date":"2017 - 06 - 22 11:17AM",
    "Batch":"1"
  }
}


  • No labels