GET https://restapi.actonsoftware.com/api/1/list/rejectedUploadRecords
This endpoint allows you to download the CSV file that contains the records that failed when attempting to upload to a list.
Parameters
Name | Parameter Type |
Allow Multiple |
Required/ Optional |
Data Type | Description |
---|---|---|---|---|---|
Authorization: | Header | False | Required | String | Insert your generated access token. (Bearer {access token}) |
filename | Path | False | Required | String | Use the name of the file in the response of the endpoint "Get List Upload Status" if there were records to failed. |
Response
"Reason","E-mail Address","FIRSTNAME","LASTNAME" "DUPLICATE IN COPY DESTINATION","john.doe@act-on.com","John","Doe" "DUPLICATE IN COPY DESTINATION","jane.doe@act-on.com","Jane","Doe"
Code Examples
cURL
curl -X GET https://restapi.actonsoftware.com/api/1/list/rejectedUploadRecords?filename=api_upload_42152_362447_10.11.8.30_8898121968559577662.dat_bad.csv -H "Authorization: Bearer 12345678-9abc-defg-hijk-lmnopqrs"