Disney Tv

Disney provides users access to Disney content across various application and platform combinations including mobile devices, smart TVs, and desktop computers. A direct integration provides opportunities for partners to enhance their digital experiences for their existing users or to make digital offerings available for new users.


Parameters

Name In Type Required Description
org_id path string true The tennant, which will be sent as the provider of the subscription.
user_id path string true The user_id will be used as the primary identifier for an external user/purchase, and be unique across billing and CRM systems.
Request-Correlation-Id header string true A reference for this transaction that can be used to track it.
body body CreateSubscriptionBody true ‘none’

Request body - instance of CreateSubscriptionBody

1
2
3
4
5
6
7
{
  "subscriptionId": "ENT1664367665579",
  "products": [
    "com.disney.yoigo.es.bundle.basic",
    "com.disney.yoigo.es.bundle.premium"
  ]
}
Name Type Required Description
subscriptionId string true The subscriptionId will be sent as the entitlement ID, an unique identifier of product(s) to which a customer is entitled.
products Products true List of product identifiers.

Request example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13

curl -X POST https://provision-master.private.dev.k8s.masmovil.com/v2/orgs/yoigo/tv/disney/users/MOO1664367665504 \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Request-Correlation-Id: 2106f808-36e9-402d-bf37-f1f7fa04776b" \
 --data-raw "{
  'subscriptionId': 'ENT1664367665579',
  'products': [
    'com.disney.yoigo.es.bundle.basic',
    'com.disney.yoigo.es.bundle.premium'
  ]
}" 

Responses

Code Meaning Description Schema
202 Accepted The operation request was successfully accepted and returned the workflow initiation data. WorkflowResponse
400 Bad Request Bad Request [Error]
401 Unauthorized Unauthorized request [Error]
500 Internal Server Error Internal Server Error [Error]

Parameters

Name In Type Required Description
org_id path string true The tennant, which will be sent as the provider of the subscription.
user_id path string true The user_id will be used as the primary identifier for an external user/purchase, and be unique across billing and CRM systems.
subscription_id path string true The subscription_id will be sent as the entitlement ID, an unique identifier of product(s) to which a customer is entitled.
Request-Correlation-Id header string true A reference for this transaction that can be used to track it.
body body ModifySubscriptionBody true ‘none’

Request body - instance of ModifySubscriptionBody

1
2
3
4
5
6
{
  "products": [
    "com.disney.yoigo.es.bundle.basic",
    "com.disney.yoigo.es.bundle.premium"
  ]
}
Name Type Required Description
products Products true List of product identifiers.

Request example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12

curl -X PATCH https://provision-master.private.dev.k8s.masmovil.com/v2/orgs/yoigo/tv/disney/users/MOO1664367665504/subscriptions/ENT1664367665579 \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Request-Correlation-Id: 2106f808-36e9-402d-bf37-f1f7fa04776b" \
 --data-raw "{
  'products': [
    'com.disney.yoigo.es.bundle.basic',
    'com.disney.yoigo.es.bundle.premium'
  ]
}" 

Responses

Code Meaning Description Schema
204 No Content Subscription modified successfully. None
400 Bad Request Bad Request [Error]
401 Unauthorized Unauthorized request [Error]
500 Internal Server Error Internal Server Error [Error]

Parameters

Name In Type Required Description
org_id path string true The tennant, which will be sent as the provider of the subscription.
user_id path string true The user_id will be used as the primary identifier for an external user/purchase, and be unique across billing and CRM systems.
subscription_id path string true The subscription_id will be sent as the entitlement ID, an unique identifier of product(s) to which a customer is entitled.
Request-Correlation-Id header string true A reference for this transaction that can be used to track it.
product query string true name of an optional product for this operation

Request example

1
2
3
4
5

curl -X DELETE https://provision-master.private.dev.k8s.masmovil.com/v2/orgs/yoigo/tv/disney/users/MOO1664367665504/subscriptions/ENT1664367665579?product='disney.bundle.basic'?product=disney.bundle.basic \
  -H "Accept: application/json" \
  -H "Request-Correlation-Id: 2106f808-36e9-402d-bf37-f1f7fa04776b"

Responses

Code Meaning Description Schema
204 No Content Subscription terminated successfully. None
400 Bad Request Bad Request [Error]
401 Unauthorized Unauthorized request [Error]
500 Internal Server Error Internal Server Error [Error]

Parameters

Name In Type Required Description
org_id path string true The tennant, which will be sent as the provider of the subscription.
user_id path string true The user_id will be used as the primary identifier for an external user/purchase, and be unique across billing and CRM systems.
subscription_id path string true The subscription_id will be sent as the entitlement ID, an unique identifier of product(s) to which a customer is entitled.
Request-Correlation-Id header string true A reference for this transaction that can be used to track it.

Request example

1
2
3
4
5

curl -X GET https://provision-master.private.dev.k8s.masmovil.com/v2/orgs/yoigo/tv/disney/users/MOO1664367665504/subscriptions/ENT1664367665579 \
  -H "Accept: application/json" \
  -H "Request-Correlation-Id: 2106f808-36e9-402d-bf37-f1f7fa04776b"

Responses

Code Meaning Description Schema
200 OK Get subscription status request successful SubscriptionStatus
400 Bad Request Bad Request [Error]
401 Unauthorized Unauthorized request [Error]
500 Internal Server Error Internal Server Error [Error]

Parameters

Name In Type Required Description
org_id path string true The tennant, which will be sent as the provider of the subscription.
user_id path string true The user_id will be used as the primary identifier for an external user/purchase, and be unique across billing and CRM systems.
subscription_id path string true The subscription_id will be sent as the entitlement ID, an unique identifier of product(s) to which a customer is entitled.
Request-Correlation-Id header string true A reference for this transaction that can be used to track it.
body body SuspendSubscriptionBody false ‘none’

Request body - instance of SuspendSubscriptionBody

1
2
3
4
5
6
{
  "products": [
    "com.disney.yoigo.es.bundle.basic",
    "com.disney.yoigo.es.bundle.premium"
  ]
}
Name Type Required Description
products Products true List of product identifiers.

Request example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12

curl -X POST https://provision-master.private.dev.k8s.masmovil.com/v2/orgs/yoigo/tv/disney/users/MOO1664367665504/subscriptions/ENT1664367665579/suspend \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Request-Correlation-Id: 2106f808-36e9-402d-bf37-f1f7fa04776b" \
 --data-raw "{
  'products': [
    'com.disney.yoigo.es.bundle.basic',
    'com.disney.yoigo.es.bundle.premium'
  ]
}" 

Responses

Code Meaning Description Schema
204 No Content Subscription suspended successfully. None
400 Bad Request Bad Request [Error]
401 Unauthorized Unauthorized request [Error]
500 Internal Server Error Internal Server Error [Error]

Parameters

Name In Type Required Description
org_id path string true The tennant, which will be sent as the provider of the subscription.
user_id path string true The user_id will be used as the primary identifier for an external user/purchase, and be unique across billing and CRM systems.
subscription_id path string true The subscription_id will be sent as the entitlement ID, an unique identifier of product(s) to which a customer is entitled.
Request-Correlation-Id header string true A reference for this transaction that can be used to track it.
body body ReactivateSubscriptionBody false ‘none’

Request body - instance of ReactivateSubscriptionBody

1
2
3
4
5
6
{
  "products": [
    "com.disney.yoigo.es.bundle.basic",
    "com.disney.yoigo.es.bundle.premium"
  ]
}
Name Type Required Description
products Products true List of product identifiers.

Request example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12

curl -X POST https://provision-master.private.dev.k8s.masmovil.com/v2/orgs/yoigo/tv/disney/users/MOO1664367665504/subscriptions/ENT1664367665579/reactivate \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Request-Correlation-Id: 2106f808-36e9-402d-bf37-f1f7fa04776b" \
 --data-raw "{
  'products': [
    'com.disney.yoigo.es.bundle.basic',
    'com.disney.yoigo.es.bundle.premium'
  ]
}" 

Responses

Code Meaning Description Schema
204 No Content Subscription reactivated successfully. None
400 Bad Request Bad Request [Error]
401 Unauthorized Unauthorized request [Error]
500 Internal Server Error Internal Server Error [Error]

Parameters

Name In Type Required Description
org_id path string true The tennant, which will be sent as the provider of the subscription.
user_id path string true The user_id will be used as the primary identifier for an external user/purchase, and be unique across billing and CRM systems.
subscription_id path string true The subscription_id will be sent as the entitlement ID, an unique identifier of product(s) to which a customer is entitled.
Request-Correlation-Id header string true A reference for this transaction that can be used to track it.
body body ActivationUrlRequest true ‘none’

Request body - instance of ActivationUrlRequest

1
2
3
4
5
6
7
8
{
  "products": [
    "com.disney.yoigo.es.bundle.basic",
    "com.disney.yoigo.es.bundle.premium"
  ],
  "country": "ES",
  "expireDate": "2021-01-01T00:00:00Z"
}
Name Type Required Description
products Products true List of product identifiers.
country string true none
expireDate string(date-time) true ISO-8601 timestamp indicating when the activation will expire

Request example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14

curl -X POST https://provision-master.private.dev.k8s.masmovil.com/v2/orgs/yoigo/tv/disney/users/MOO1664367665504/subscriptions/ENT1664367665579/activation_url \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Request-Correlation-Id: 2106f808-36e9-402d-bf37-f1f7fa04776b" \
 --data-raw "{
  'products': [
    'com.disney.yoigo.es.bundle.basic',
    'com.disney.yoigo.es.bundle.premium'
  ],
  'country': 'ES',
  'expireDate': '2021-01-01T00:00:00Z'
}" 

Responses

Code Meaning Description Schema
201 Created New url with token was created successfully. ActivationUrlResponse
400 Bad Request Bad Request [Error]
401 Unauthorized Unauthorized request [Error]
500 Internal Server Error Internal Server Error [Error]

Parameters

Name In Type Required Description
org_id path string true The tennant, which will be sent as the provider of the subscription.
user_id path string true The user_id will be used as the primary identifier for an external user/purchase, and be unique across billing and CRM systems.

Request example

1
2
3
4

curl -X POST https://provision-master.private.dev.k8s.masmovil.com/v2/orgs/yoigo/tv/disney/users/MOO1664367665504/callbacks/activate \
  -H "Accept: application/json"

Responses

Code Meaning Description Schema
204 No Content Activate done successfully None
400 Bad Request Bad Request [Error]
401 Unauthorized Unauthorized request [Error]
500 Internal Server Error Internal Server Error [Error]

Endpoints

Disney Tv