URI: https://api.onlinephotosubmission.com/api/bulk-action
HTTP Method: POST
Required Headers:
X-Auth-Token
: (see: Authentication)Content-Type
:multipart/form-data
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
: defaulttrue
skipLines
: default0
. Ignore the first N lines of the CSV.BinvitationDefault
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"'