TAG LINE
TAG LINE
SMALL TITLE

Data Import / Usage

(API Version v7)


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

POSTDataImport/Usage/Json/Multi/{id}
Create a new instance of a object that belongs to the DataImportUsage.
{id}Unique identifier for the DataImportUsage object.
Create a new instance of a object that belongs to the DataImportUsage.
POST DataImport/Usage/Json/Multi/{id}

{}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "create",
    "results": {
        "totalCount": 1,
        "items": [
            {}
        ]
    }
}
POSTDataImport/Usage/Json/{id}
Create a new instance of a object that belongs to the DataImportUsage.
{id}Unique identifier for the DataImportUsage object.
Create a new instance of a object that belongs to the DataImportUsage.
POST DataImport/Usage/Json/{id}

{}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "create",
    "results": {
        "totalCount": 1,
        "items": [
            {}
        ]
    }
}
POSTDataImport/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 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
                }
            }
        ]
    }
}