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 2 Next »

URI: https://api.onlinephotosubmission.com/api/bulk-action

HTTP Method: POST
Required Headers: 

Required Form Parameters: 

  • csv: the file path to a CSV file you wish to upload

Optional Form Parameters: 

  • columnNames: comma separated list of column names. Defines the names for each column. This will override the column names defined in the header row if it exists.

  • fieldSeparator: default ,

  • quoteChar: default "

  • escapeChar: default \

  • hasHeaderRow: default true

  • skipLines: default 0. Ignore the first N lines of the CSV.B

  • invitationDefault

    • default: NEW_USERS

    • options: NEW_USERS, ALL_USERS, NO_USERS

  • actionDefault

    • default CREATE_OR_UPDATE

    • options: CREATE, CREATE_OR_UPDATE

    • not yet supported options: UPDATE, ARCHIVE, ANONYMIZE, DELETE

This is in development and is scheduled to be deployed in Feb 2023 or later

Example cURL Request
curl --location --request POST 'https://api.onlinephotosubmission.com/api/bulk-action' \
     --header 'X-Auth-Token: PUT-YOUR-AUTH-TOKEN-HERE' \
     --form 'csv=@"/Users/jsmith/test-people.csv"'
  • No labels