GET https://restapi.actonsoftware.com/ucl/v2/import/{accountId}/status/{fileId}
This endpoint allows you to check the status of your uploaded CSV.
Parameters
Name | Parameter Type |
Allow Multiple |
Required/ Optional |
Data Type | Description |
---|---|---|---|---|---|
authorization | header | false | required | string | Insert your generated access token. (Bearer {access token}) |
accountId | Path | false | required | number | Account ID where query needs to be done |
fileId | Path | False | required | String | Specify the file ID of the import that you would like to access. |
Response
{ "accountId": 864, "userId": 827, "source": "CSV", "sourceId": "1654277187994_292c56f9-1ff9-4d48-827f-7b310bea9026_test.csv", "typeMetaData": "{\"name\":\"test import\",\"userName\":\"test@test.com\"}", "status": "COMPLETED", "totalSubmitted": 1, "totalAdded": 0, "totalUpdated": 1, "totalRejected": 0, "totalUnSubmitted": 0, "createdTime": 1654277231099, "submittedTime": 1654277233700, "closedTime": 1654277525248, "totalWriteResults": 1, "offsetDateTimeCreatedTime": "2022-06-03T17:27:11.099Z", "offsetDateTimeSubmittedTime": "+54391-12-17T05:48:20Z", "offsetDateTimeClosedTime": "2022-06-03T17:32:05.248Z" }
Code Examples
cURL
curl --location --request GET
'https://restapi.actonsoftware.com/ucl/v2/import/{ACCOUNT_ID}/status/{FILE_ID}' \
--header 'Authorization: Bearer 0ce7825a-5bcb-3d08-b316-11fe6a5a0c0d'