Skip to content
Developerhome
X3

File tracking

  Less than to read

  • Requirements for this step:

    • Url of API to call to track the progression obtained as shown in the previous step Files ingestion

    • A valid access token “XXXXXXX” for this endpoint obtained as shown in the previous step Token management

  • API call examples:

    • By curl command:

          curl -H "Authorization: Bearer XXXXXXX" https://api.customerregion-sagex3.com/v1/dataingestion/tracking/3f601feb-0666-479b-ab20-154909d32ecd
      
          //Waiting for upload
          {
              "$url": "https://api.customerregion-sagex3.com/v1/dataingestion/tracking/3f601feb-0666-479b-ab20-154909d32ecd",
              "fileName": "test18.txt",
              "createdAt": "2019-02-15T22:46:12.432Z",
              "status": "awaiting_upload",
              "statusMessage": "Waiting for upload",
              "lastStatusUpdate": "2019-02-15T22:46:12.432Z",
              "customerCode": "documentation-api",
              "folder": "SEED"
          }
          //Or
          //Waiting for scan
          {
              "$url": "https://api.customerregion-sagex3.com/v1/dataingestion/tracking/3f601feb-0666-479b-ab20-154909d32ecd",
              "fileName": "test17.txt",
              "createdAt": "2019-02-15T21:33:23.414Z",
              "status": "awaiting_scan",
              "statusMessage": "Waiting for scan",
              "lastStatusUpdate": "2019-02-15T21:47:32.868Z",
              "customerCode": "documentation-api",
              "folder": "SEED"
          }
      
    • By Postman Files listing