View the location of a mass ingestion task

Use the GET request to view the location of a mass ingestion task.

GET request

Use the following URI to get the location of a mass ingestion task.

/api/v1/mitasks?resolveLocation=true

GET response example

If the request to get the file location of a mass ingestion task is successful, you might receive a response similar to the following example:

{
    "miTasks": [
        {
            "id": "1ONE5Vewzztl0tuKR0EDum",
            "name": "A01_UMAR_MITASK2318",
            "location": {
                "folderId": "digFZU6HMo4gCKYghtQvgD",
                "folderName": "A_01_UMAR",
                "projectId": "503RTpKDSSLlwmkwTXL0Qx",
                "projectName": "Default"
            },
            "description": "",
            "sourceType": "CONNECTION",
            "sourceConnection": {
                "id": "",
                "name": "",
                "type": "local"
            },
            "targetConnection": {
                "id": "0100000B000000000002",
                "name": "ftps",
                "type": "Advanced FTPS"
            },
            "agentGroupId": "01000025000000000002",
            "createdTime": "2019-01-28T09:54:53Z",
            "updatedTime": "2019-01-30T11:17:49Z"
        },
        {
            "id": "9D1tGkAxopJeFmUWoG4s48",
            "name": "A01_UMAR_MITASK3354",
            "location": {
                "folderId": "digFZU6HMo4gCKYghtQvgD",
                "folderName": "A_01_UMAR",
                "projectId": "503RTpKDSSLlwmkwTXL0Qx",
                "projectName": "Default"
            },
            "description": "",
            "sourceType": "CONNECTION",
            "sourceConnection": {
                "id": "0100000B00000000000M",
                "name": "AzureBlob",
                "type": "Azure Blob"
            },
            "targetConnection": {
                "id": "0100000B00000000000L",
                "name": "SFTP_Conn",
                "type": "Advanced SFTP"
            },
            "agentGroupId": "01000025000000000002",
            "createdTime": "2019-01-30T06:36:28Z",
            "updatedTime": "2019-01-30T06:42:20Z"
        }
    ]
}