Skip to main content
GET
/
import-monitoring
/
{id}
cURL
curl -X GET "https://apiweb.mile.app/api/v3/import-monitoring/65f8a4c2d9e3b1234567890a" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{
  "status": true,
  "message": "Success",
  "data": {
    "_id": "65f8a4c2d9e3b1234567890a",
    "organizationId": "63c61d865347e356d05e3052",
    "type": "string",
    "hubId": "63c63ab1b6972d3150348172",
    "filename": "outlets_import.xlsx",
    "totalRows": 150,
    "totalValid": 145,
    "totalInvalid": 5,
    "status": "partially",
    "dataTypeId": "63db2fb476bc679c540369c4",
    "dataTypeName": "OutletDetail",
    "fileTemplate": "https://staticdev.mile.app/dev-mile/templates/template_OutletDetail.xlsx",
    "fileFailedImported": "https://staticdev.mile.app/dev-mile/failed/failed_outlets_import_65f8a4c2d9e3b1234567890a.xlsx",
    "errorMessage": null,
    "processedAt": "2024-03-18 10:32:15",
    "processingDuration": 90,
    "totalChunks": 3,
    "processedChunks": 3,
    "createdBy": "john.doe@mile.app",
    "updatedBy": "system",
    "createdTime": "2024-03-18 10:30:45",
    "updatedTime": "2024-03-18 10:32:15"
  }
}

Authorizations

Authorization
string
header
required

Use a valid Bearer token to authenticate.

Path Parameters

id
string
required

The import monitoring record ID. Example: 65f8a4c2d9e3b1234567890a

Response

Success

status
boolean

Status of response.

message
string

Message of API response.

data
ImportMonitoringObject Ā· object

Complete import monitoring record with all fields from the ImportMonitoring model