The type is used to implement Charge Import API
In this document:
The considered APS type (download
)
extends the Resource APS type(s) and looks as follows:
{
"name": "UsageAdapterManager",
"id": "http://com.odin.rating/usage-adapter-manager/1.0",
"apsVersion": "2.0",
"implements": [
"http://aps-standard.org/types/core/resource/1.0"
],
"operations": {
"processUsageReports": {
"path": "usageReports",
"verb": "POST",
"errorResponse": {
"type": "object"
}
},
"getUsageReports": {
"path": "usageReportsList",
"verb": "GET",
"response": {
"type": "object"
},
"errorResponse": {
"type": "object"
}
},
"getReportErrors": {
"path": "errorList",
"verb": "GET",
"response": {
"type": "object"
},
"errorResponse": {
"type": "object"
},
"parameters": {
"reportId": {
"kind": "query",
"type": "string"
},
"productId": {
"kind": "query",
"type": "string"
}
}
},
"getReportTemplate": {
"path": "/usageReportTemplate",
"verb": "GET",
"response": {
"type": "object"
},
"errorResponse": {
"type": "object"
}
}
}
}
OPERATION |
VERB |
PATH |
RETURNS |
Description |
---|---|---|---|---|
POST |
/usageReports |
|||
GET |
/usageReportsList |
|||
GET |
/errorList |
|||
GET |
/usageReportTemplate |
HTTP Request
GET /aps/2/resources/{aps-id}/errorList
Description
Parameters
PARAMETER |
TYPE |
DESCRIPTION |
---|---|---|
reportId |
String |
|
productId |
String |
Returns
HTTP Request
GET /aps/2/resources/{aps-id}/usageReportTemplate
Description
Returns
Since the considered APS type contains custom operations, refer to Custom Operations for the general explanation of their structure and examples of operation calls.