Select
Credit Limits
Access to subscription credit limits
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
org_id | path | string | true | Organization name |
id | path | string | true | Subscription Id |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK. Empty list if the correspondent subscription does not have credit limits | [GetCreditLimit] |
400 | Bad Request | Wrong subscription type | ErrorMessage |
404 | Not Found | A subscription with the specified criteria was not found | ErrorMessage |
500 | Internal Server Error | Unexpected error | ErrorMessage |
200 - instance of GetCreditLimit
Custom schema example
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | CreditLimit | false | none |
Name | Type | Required | Description |
---|---|---|---|
anonymous | object | false | none |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
org_id | path | string | true | Organization name |
id | path | string | true | Subscription Id |
body | body | PostCreditLimits | true | ‘none’ |
Request body - instance of PostCreditLimits
|
|
Name | Type | Required | Description |
---|---|---|---|
credit_limits | [PostCreditLimit] | true | none |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
201 | Created | Credit Limits creation successfully done | [PostCreditLimitsResponse] |
400 | Bad Request | Invalid body | ErrorMessage |
404 | Not Found | A subscription with the specified id was not found | ErrorMessage |
500 | Internal Server Error | Unexpected error | ErrorMessage |
201 - instance of PostCreditLimitsResponse
Custom schema example
|
|
Name | Type | Required | Description |
---|---|---|---|
credit_limit_id | string | false | credit limit id |
credit_limit_value | number | false | credit limit value. If not received, default value configured for tenant will be provisioned |
effective_date | string(date-time) | false | date when the limit starts to be effective |
Property | Values |
---|---|
credit_limit_id | one of [MOBILE_SUBSCRIPTION_TOTAL_CREDIT_LIMIT, MOBILE_SUBSCRIPTION_ROAMING_VOICE_CREDIT_LIMIT, MOBILE_SUBSCRIPTION_PREMIUM_CREDIT_LIMIT, MOBILE_SUBSCRIPTION_INTERNATIONAL_VOICE_CREDIT_LIMIT, LANDLINE_SUBSCRIPTION_TOTAL_CREDIT_LIMIT, LANDLINE_SUBSCRIPTION_PREMIUM_CREDIT_LIMIT, LANDLINE_SUBSCRIPTION_INTERNATIONAL_VOICE_CREDIT_LIMIT] |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
org_id | path | string | true | Organization name |
id | path | string | true | Subscription Id |
body | body | PatchCreditLimits | true | ‘none’ |
Request body - instance of PatchCreditLimits
|
|
Name | Type | Required | Description |
---|---|---|---|
subscription_type | SubscriptionType | true | subscription type name. Mapping between Mysim and MasSubscriptions subscription_type
|
credit_limits | [PatchCreditLimit] | true | none |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
202 | Accepted | subscription credit limit modification successfully done | None |
400 | Bad Request | Invalid body | ErrorMessage |
404 | Not Found | A subscription with the specified id was not found | ErrorMessage |
409 | Conflict | Modification not allowed because of inconsistency with the total credit limit value. This value must be greater or equal than the maximum of the other credit limits | ErrorMessage |
500 | Internal Server Error | Unexpected error | ErrorMessage |
400 - instance of ErrorMessage
Custom schema example
|
|
Name | Type | Required | Description |
---|---|---|---|
errors | [ErrorMessageItem] | true | none |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
org_id | path | string | true | Organization name |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK. | DefaultCreditLimit |
404 | Not Found | An org with the specified criteria was not found | ErrorMessage |
500 | Internal Server Error | Unexpected error | ErrorMessage |
Endpoints
AccountBundles
Apple Watch
Credit Limits
Devices
Fraud Requests
FreeUnitsPackages
Promotions
Segments
Subscription Commercial Products
Subscriptions
Contracts