TAG LINE
TAG LINE
SMALL TITLE

Data Import / Usage

(API Version v6)


Import raw usage data for the specified usage feed to get meditated and rated. The API sends the data asynchronously to the file importer for processing and responds with a tracking identifier for traceability.


What can you do with DataImportUsage?



End Points

POSTapi/v6/DataImport/Usage/{id}
Insert raw data usage record with payload that matches the requirements of Usage Feed specified by {id}
{id}Unique identifier for the Usage Feed to which this payload should be applied.
Insert raw data usage record with payload that matches the requirements of Usage Feed specified by {id}
POST api/v6/DataImport/Usage/{id}

{
    "data": [
        "106ab566-c0fd-46ed-8932-4365208cd0e3",
        "106ab566-c0fd-46ed-8932-4365208cd0e3",
        "106ab566-c0fd-46ed-8932-4365208cd0e3"
    ]
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "43fa3978-c1cc-4a48-afaa-5e1f9955d5ab",
    "type": "sendMessage",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "action": "messageSent",
                "dtoTypeKey": "dataImportUsageResults",
                "instance": {
                    "identity": 100,
                    "successful": true
                }
            }
        ]
    }
}