Hole PHP Accounts eines Kunden
GET/customers/ {customerNumber}/ php-accounts/
v1
GET
getCustomerPhpAccounts
Hole alle vom Kunden einsehbaren PHP-Accounts.
Request
- customerNumberintegerrequired
Die Kundennummer
Responses
application/json
Die Accounts mit PHP des Kunden.
- Schema-Dokumentation
- Beispiel
- JSON Schema
- Array[
- *object
- accountstringrequired
- descriptionstringrequired
- technicalAdvisedbooleanrequired
- phpVersionstringrequired
- priceInCentnumberrequired
- resellerstringrequired
- tariffstringrequired
- commentstringrequired
- installationsstring
- feeStartDatestring (date)required
- startDatestring (date)
- graveyardDatestring (date)
- purgeDatestring (date)
- statusarray of objectrequired
- Array[
- *object
- typestring (one of: DEACTIVATED, TYPO3_ELTS_INCLUSIVE, GRACE_PERIOD)
- additionalInfonumber
]
- extraobject
- domainCountnumberrequired
- mailboxCountnumberrequired
]
[
{
"account": "string",
"description": "string",
"technicalAdvised": true,
"phpVersion": "string",
"priceInCent": 123,
"reseller": "string",
"tariff": "string",
"comment": "string",
"installations": "string",
"feeStartDate": "string",
"startDate": "string",
"graveyardDate": "string",
"purgeDate": "string",
"status": [
{
"type": "DEACTIVATED",
"additionalInfo": 123
}
],
"extra": {
"domainCount": 123,
"mailboxCount": 123
}
}
]
{
"type": "array",
"items": {
"type": "object",
"required": [
"account",
"description",
"technicalAdvised",
"phpVersion",
"priceInCent",
"reseller",
"tariff",
"comment",
"feeStartDate",
"status"
],
"properties": {
"account": {
"type": "string"
},
"description": {
"type": "string"
},
"technicalAdvised": {
"type": "boolean"
},
"phpVersion": {
"type": "string"
},
"priceInCent": {
"type": "number"
},
"reseller": {
"type": "string"
},
"tariff": {
"type": "string"
},
"comment": {
"type": "string"
},
"installations": {
"type": "string"
},
"feeStartDate": {
"type": "string",
"format": "date"
},
"startDate": {
"type": "string",
"format": "date"
},
"graveyardDate": {
"type": "string",
"format": "date"
},
"purgeDate": {
"type": "string",
"format": "date"
},
"status": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"DEACTIVATED",
"TYPO3_ELTS_INCLUSIVE",
"GRACE_PERIOD"
]
},
"additionalInfo": {
"type": "number"
}
}
}
},
"extra": {
"type": "object",
"required": [
"domainCount",
"mailboxCount"
],
"properties": {
"domainCount": {
"type": "number"
},
"mailboxCount": {
"type": "number"
}
}
}
}
}
}
Usage examples
- cURL
$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v1/customers/123/php-accounts?type=json&extra=true