In this document:
The considered APS type (download
) looks as follows:
{
"name": "RDETenant",
"id": "http://www.odin.com/rde/tenant/2.2",
"apsVersion": "2.0",
"implements": [
"http://aps-standard.org/abstract/types/unlimited-resource/1.0"
],
"relations": {
"account": {
"type": "http://parallels.com/aps/types/pa/account/1.2",
"required": true,
"backrel": false
},
"reportTemplates": {
"type": "http://www.odin.com/rde/report-template/1.5",
"collection": true
},
"reportFiles": {
"type": "http://www.odin.com/rde/report-file/1.6",
"collection": true
}
},
"properties": {
"reportType": {
"type": "string",
"required": true,
"default": "RESELLER",
"enum": [
"RESELLER",
"PROVIDER"
]
},
"invoiceReportsDisabledByParent": {
"type": "boolean",
"default": "false"
},
"invoiceReportsDisabledForResellers": {
"type": "boolean",
"default": "false"
}
},
"operations": {
"syncFromParent": {
"path": "syncFromParent",
"verb": "GET",
"response": {
"type": "object"
},
"errorResponse": {
"type": "object"
}
}
}
}
The APS type is used to manage a collection of APS resources. To get a list of resources from that collection, use the following API call:
GET /aps/2/collections/rde-tenants?<RQL-filter>
NAME |
TYPE |
ATTRIBUTES |
DEFAULT |
DESCRIPTION |
---|---|---|---|---|
reportType |
Enum |
Required |
RESELLER |
|
invoiceReportsDisabledByParent |
Boolean |
Not Required |
false |
|
invoiceReportsDisabledForResellers |
Boolean |
Not Required |
false |
NAME |
TYPE |
REQUIRED |
DESCRIPTION |
---|---|---|---|
account |
Yes |
||
reportTemplates |
Collection of RDEReportTemplate |
No |
|
reportFiles |
Collection of RDEReportFile |
No |
OPERATION |
VERB |
PATH |
RETURNS |
Description |
---|---|---|---|---|
GET |
/syncFromParent |