Select
Penalties
Proxy to penalties
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
orgId | path | string | true | organization name |
accountId | path | integer(int64) | true | account identifier |
reason | query | AccountPenaltiesReason | true | Reason. Two values are possible, unsubscribe or cancel |
Enumerated Values
Property | Values |
---|---|
reason | one of [unsubscribe, cancel] |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Account penalties | [ComputedPenalty] |
400 | Bad Request | Invalid request body | ErrorMessage |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
orgId | path | string | true | organization name |
accountId | path | integer(int64) | true | account identifier |
subscriptionId | path | integer(int64) | true | subscription identifier |
reason | query | SubscriptionPenaltiesReason | true | Reason. Three values are possible, broadband_subscription, device or mobile |
Enumerated Values
Property | Values |
---|---|
reason | one of [broadband_subscription, device, mobile] |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Subscription penalties | [ComputedPenalty] |
404 | Not Found | Resource not found | ErrorMessage |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
orgId | path | string | true | organization name |
accountId | path | integer(int64) | true | account identifier |
subscriptionUUID | path | string(uuid) | true | subscription identifier |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Subscription penalties | [ComputedPenalty] |
404 | Not Found | Resource not found | ErrorMessage |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
orgId | path | string | true | organization name |
computedPenaltyId | path | integer(int64) | true | computed penalty identifier |
penalties | query | array[integer] | false | Optional array of penalties for specific calculation |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Successful operation | None |
404 | Not Found | Resource not found | ErrorMessage |
404 - instance of ErrorMessage
Custom schema example
|
|
Name | Type | Required | Description |
---|---|---|---|
code | integer(int32) | false | Custom error code |
status | string | false | Status |
message | string | false | Status message |
detailMsg | string | false | Detailed description of the error |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
orgId | path | string | true | organization name |
computedPenaltyId | path | integer(int64) | true | computed penalty identifier |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Successful operation | None |
404 | Not Found | Resource not found | ErrorMessage |
404 - instance of ErrorMessage
Custom schema example
|
|
Name | Type | Required | Description |
---|---|---|---|
code | integer(int32) | false | Custom error code |
status | string | false | Status |
message | string | false | Status message |
detailMsg | string | false | Detailed description of the error |
Endpoints
Signups
Users
Accounts
Invoices
Terms
Payment info
Account migrations
Subscriptions
Products
Services
Bonuses
Promotions
Barrings
Consumption
Workorders
Penalties