Required Scopes(any of): CUSTOMER_CONTRACT_READ
, CUSTOMER_READ
Returns customer's contracts by one of the given parameters
OK
Validation of the request failed.
Authentication failed. No api-key, wrong api-key or wrong header name.
Authorization failed. The caller has no privilege to the given resource.
Entity does not exists.
Conflict
Access denied - rate limit is exceeded.
Unexpected system error.
[- {
- "id": 1000,
- "createdDate": "2022-01-01",
- "startDate": "2022-01-01",
- "endDate": "2022-10-01",
- "rateName": "Premium",
- "contractStatus": "ACTIVE",
- "cancellationPeriod": {
- "periodValue": 10,
- "periodUnit": "DAY"
}, - "cancelled": true,
- "cancellationDate": "2022-10-10",
- "cancellationReceiptDate": "2022-10-10",
- "cancellationReason": "Officially ordered studio closure",
- "price": 19.9,
- "priceDetails": {
- "basePrice": {
- "amount": 20,
- "currency": "EUR"
}, - "currentPrice": {
- "amount": 20,
- "currency": "EUR"
}, - "paymentFrequency": {
- "id": 203,
- "type": "FREE",
- "term": {
- "value": 2,
- "unit": "WEEK"
}, - "price": {
- "amount": 20,
- "currency": "EUR"
}, - "monthDaysToPrices": [
- {
- "monthDay": {
- "month": "JANUARY",
- "monthValue": 0,
- "dayOfMonth": 0
}, - "price": {
- "amount": 20,
- "currency": "EUR"
}
}
], - "termsToPrices": [
- {
- "term": {
- "value": 2,
- "unit": "WEEK"
}, - "price": {
- "amount": 20,
- "currency": "EUR"
}
}
]
}
}, - "lastPossibleCancellationDate": "2019-08-24",
- "term": {
- "periodValue": 10,
- "periodUnit": "DAY"
}, - "extensionTerm": {
- "periodValue": 10,
- "periodUnit": "DAY"
}, - "flatFeeContracts": [
- {
- "id": 0,
- "rateName": "Regular",
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "paymentFrequency": "NON_RECURRING",
- "price": 19.9,
- "priceDetails": {
- "basePrice": {
- "amount": 20,
- "currency": "EUR"
}, - "currentPrice": {
- "amount": 20,
- "currency": "EUR"
}, - "paymentFrequency": {
- "id": 203,
- "type": "FREE",
- "term": {
- "value": 2,
- "unit": "WEEK"
}, - "price": {
- "amount": 20,
- "currency": "EUR"
}, - "monthDaysToPrices": [
- {
- "monthDay": { },
- "price": null
}
], - "termsToPrices": [
- {
- "term": null,
- "price": null
}
]
}
}, - "cancelled": true,
- "cancellationDate": "2022-10-10",
- "cancellationReceiptDate": "2022-10-10",
- "contractStatus": "ACTIVE"
}
], - "moduleContracts": [
- {
- "id": 0,
- "rateName": "Regular",
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "paymentFrequency": "NON_RECURRING",
- "price": 19.9,
- "priceDetails": {
- "basePrice": {
- "amount": 20,
- "currency": "EUR"
}, - "currentPrice": {
- "amount": 20,
- "currency": "EUR"
}, - "paymentFrequency": {
- "id": 203,
- "type": "FREE",
- "term": {
- "value": 2,
- "unit": "WEEK"
}, - "price": {
- "amount": 20,
- "currency": "EUR"
}, - "monthDaysToPrices": [
- {
- "monthDay": { },
- "price": null
}
], - "termsToPrices": [
- {
- "term": null,
- "price": null
}
]
}
}, - "cancelled": true,
- "cancellationDate": "2022-10-10",
- "cancellationReceiptDate": "2022-10-10",
- "contractStatus": "ACTIVE"
}
], - "signedDocumentUrl": "string"
}
]