Get Custom Event Upload Status
GET https://restapi.actonsoftware.com/api/1/customevents/{id}/status
This endpoint will return the status of your previous "Upload Custom Event" request.
Click here for more information on Custom Events.
Parameters
Name | Parameter Type |
Allow Multiple |
Required/ Optional |
Data Type | Description |
---|---|---|---|---|---|
Authorization: | Header | false | Required | String | Insert your generated access token. (Bearer {access token}) |
Path | false | Required | String | The jobId returned from the "Upload Custom Event" request. |
Response
{ "status": "success", "jobDetails": "{"status":"ok","customEventsId":"ff4f3fab","appendCount":2,"rejectedCount":0}", "details": { "status": "ok", "customEventsId": "ff4f3fab", "appendCount": 2, "rejectedCount": 0 } }
Code Examples
cURLPython
curl -X GET https://restapi.actonsoftware.com/api/1/customevents/15937380/status -H "Authorization: Bearer 12345678-9abc-defg-hijk-lmnopqrs" -H "Cache-Control: no-cache"
import requests url = "https://restapi.actonsoftware.com/api/1/customevents/12482483/status" payload = {} headers = { 'Authorization': 'Bearer 12345678-9abc-defg-hijk-lmnopqrs', 'Cache-Control': 'no-cache' } response = requests.request("GET", url, headers=headers, data = payload) print(response.text.encode('utf8'))