V2
HBO Tv
HBO provides users access to HBO content across various application and platform combinations including mobile devices, smart TVs, and desktop computers.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| Request-Correlation-Id | header | string | true | A reference for this transaction that can be used to track it. |
| org_id | path | string | true | Tenant |
| body | body | CreateSubscriptionHBO | true | ‘none’ |
Request body - JsonObject
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| service_id | ServiceId | true | Service identifier in HBO. Corresponds to Subscription Id. |
| external_id | ExternalId | true | Partner user identifier in HBO. It’s the Id in CRM. |
| country | Country | true | Country code. ISO 3166-1 alpha-2 code. |
| products | [Product] | true | none |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 202 | Accepted | The creation operation request was successfully accepted, returned the request external reference identifier. | 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 |
|---|---|---|---|---|
| Request-Correlation-Id | header | string | true | A reference for this transaction that can be used to track it. |
| org_id | path | string | true | Tenant |
| service_id | path | ServiceId | true | Service identifier. Corresponds to the Subscription Id in HBO. |
| body | body | CancelSubscriptionHBO | true | ‘none’ |
Request body - JsonObject
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| external_id | ExternalId | true | Partner user identifier in HBO. It’s the Id in CRM. |
| reason | Reason | true | Reason for the cancellation |
| country | Country | false | Country code. ISO 3166-1 alpha-2 code. |
| products | [Product] | true | none |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 202 | Accepted | The cancel operation request was successfully accepted, returned the request external reference identifier. | 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 |
|---|---|---|---|---|
| Request-Correlation-Id | header | string | true | A reference for this transaction that can be used to track it. |
| org_id | path | string | true | Tenant |
| service_id | path | ServiceId | true | Service identifier. Corresponds to the Subscription Id in HBO. |
| body | body | UpdateSubscriptionHBO | true | ‘none’ |
Request body - JsonObject
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| external_id | ExternalId | true | Partner user identifier in HBO. It’s the Id in CRM. |
| country | Country | false | Country code. ISO 3166-1 alpha-2 code. |
| reason | Reason | false | Reason for the cancellation |
| products_to_add | [Product] | false | none |
| products_to_remove | [Product] | false | none |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 202 | Accepted | The update operation request was successfully accepted, returned the request external reference identifier. | WorkflowResponse |
| 400 | Bad Request | Bad Request | [Error] |
| 401 | Unauthorized | Unauthorized request | [Error] |
| 404 | Not Found | Subscription not found | [Error] |
| 500 | Internal Server Error | Internal Server Error | [Error] |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| Request-Correlation-Id | header | string | true | A reference for this transaction that can be used to track it. |
| org_id | path | string | true | Tenant |
| service_id | path | ServiceId | true | Service identifier. Corresponds to the Subscription Id in HBO. |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Success. | GetSubscriptionResponseHBO |
| 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 | Tenant |
| service_id | path | ServiceId | true | Service identifier. Corresponds to the Subscription Id in HBO. |
| body | body | GenerateActivationUrlHBO | true | ‘none’ |
Request body - JsonObject
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| external_id | ExternalId | true | Partner user identifier in HBO. It’s the Id in CRM. |
| country | Country | false | Country code. ISO 3166-1 alpha-2 code. |
| products | [Product] | true | none |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Activation URL successfully generated. | GenerateActivationURLResponseHBO |
| 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 |
|---|---|---|---|---|
| Request-Correlation-Id | header | string | true | A reference for this transaction that can be used to track it. |
| org_id | path | string | true | Tenant |
| service_id | path | ServiceId | true | Service identifier. Corresponds to the Subscription Id in HBO. |
| body | body | ActivateSubscriptionHBO | true | ‘none’ |
Request body - JsonObject
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| external_id | ExternalId | true | Partner user identifier in HBO. It’s the Id in CRM. |
| country | Country | false | Country code. ISO 3166-1 alpha-2 code. |
| products | [Product] | true | none |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 202 | Accepted | The activate operation request was successfully accepted, returned the request external reference identifier. | 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 |
|---|---|---|---|---|
| Request-Correlation-Id | header | string | true | A reference for this transaction that can be used to track it. |
| org_id | path | string | true | Tenant |
| service_id | path | ServiceId | true | Service identifier. Corresponds to the Subscription Id in HBO. |
| body | body | ReactivateSubscriptionHBO | true | ‘none’ |
Request body - JsonObject
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| external_id | ExternalId | true | Partner user identifier in HBO. It’s the Id in CRM. |
| country | Country | false | Country code. ISO 3166-1 alpha-2 code. |
| products | [Product] | true | none |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 202 | Accepted | The reactivation operation request was successfully accepted, returned the request external reference identifier. | WorkflowResponse |
| 400 | Bad Request | Bad Request | [Error] |
| 401 | Unauthorized | Unauthorized request | [Error] |
| 404 | Not Found | Subscription not found | [Error] |
| 500 | Internal Server Error | Internal Server Error | [Error] |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| Request-Correlation-Id | header | string | true | A reference for this transaction that can be used to track it. |
| org_id | path | string | true | Tenant |
| service_id | path | ServiceId | true | Service identifier. Corresponds to the Subscription Id in HBO. |
| body | body | SuspendSubscriptionHBO | true | ‘none’ |
Request body - JsonObject
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| external_id | ExternalId | true | Partner user identifier in HBO. It’s the Id in CRM. |
| reason | Reason | true | Reason for the cancellation |
| country | Country | false | Country code. ISO 3166-1 alpha-2 code. |
| products | [Product] | true | none |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 202 | Accepted | The suspension operation request was successfully accepted, returned the request external reference identifier. | WorkflowResponse |
| 400 | Bad Request | Bad Request | [Error] |
| 401 | Unauthorized | Unauthorized request | [Error] |
| 404 | Not Found | Subscription not found | [Error] |
| 500 | Internal Server Error | Internal Server Error | [Error] |
Endpoints
Disney Tv
Netflix Tv
HBO Tv