Select
Subscriptions
Access to subscriptions
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
org_id | path | string | true | Organization name |
subscription_id | path | string | true | netflix subscription identifier |
body | body | DeactivateNetflixRequest | true | ‘none’ |
Request body - instance of DeactivateNetflixRequest
|
|
Name | Type | Required | Description |
---|---|---|---|
deactivation_reason | string | true | Deactivation reason text or id as a string |
deactivation_user | string | false | User that requests the deactivation |
requested_deactivation_date | string(date-time) | false | deactivation date |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
204 | No Content | Deactivation process for Netflix subscription successfully accepted | None |
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 |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
org_id | path | string | true | Organization name |
id | path | string | true | netflix subscription identifier |
body | body | CancelActivationSubscriptionRequest | true | ‘none’ |
Request body - instance of CancelActivationSubscriptionRequest
|
|
Name | Type | Required | Description |
---|---|---|---|
cancellation_reason | string | true | Cancellation reason text or id as a string |
cancellation_user | string | false | User that requests the cancellation |
requested_cancellation_date | string(date-time) | false | cancellation date |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
202 | Accepted | Cancellation process for Netflix subscription successfully accepted | None |
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 |
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 |
id | path | string | true | subscription unique identifier |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | GetSubscription |
404 | Not Found | A subscription with the specified id was not found | ErrorMessage |
500 | Internal Server Error | Unexpected error | ErrorMessage |
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
org_id | path | string | true | Organization name |
id | path | string | true | subscription unique identifier |
body | body | PatchSubscription | true | ‘none’ |
Request body - instance of PatchSubscription
|
|
Name | Type | Required | Description |
---|---|---|---|
subscription_type | SubscriptionType | true | subscription type name. Mapping between Mysim and MasSubscriptions subscription_type
|
status_change | PatchStatusChange | false | none |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
202 | Accepted | subscription 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 | The request could not be completed due to a conflict with the current state of the resource | 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 |
filter_type | query | string | true | Filter type used for getting subscriptions |
filter_value | query | string | true | The value to apply to the filter_type. Should match what was in the filter, i.e. if filtering on subscription_id use a subscription_id. |
Enumerated Values
Property | Values |
---|---|
filter_type | one of [MSISDN, SUBSCRIPTIONEMAIL, LANDLINENUMBER, EXTERNALID, DEVICEINSURANCE, INSURANCEPOLICYID, OTTEXTERNALID] |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | [GetSubscription] |
404 | Not Found | A subscription with the specified criteria was not found | ErrorMessage |
500 | Internal Server Error | Unexpected error | ErrorMessage |
200 - instance of GetSubscription
Custom schema example
|
|
Name | Type | Required | Description |
---|---|---|---|
anonymous | Subscription | 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 unique identifier |
requested_date | query | string(date-time) | false | requested date |
Request example
|
|
Responses
Code | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | [GetSubscriptionShipping] |
500 | Internal Server Error | Unexpected error | ErrorMessage |
Endpoints
AccountBundles
Apple Watch
Credit Limits
Devices
Fraud Requests
FreeUnitsPackages
Promotions
Segments
Subscription Commercial Products
Subscriptions
Contracts