V1
Segments
Access to subscription segments
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 | GetSubscriptionSegments |
| 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 Id |
| body | body | PostSegments | true | ‘none’ |
Request body - instance of PostSegments
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| segments | [PostSegment] | true | none |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 204 | No Content | Segments creation successfully done | 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 |
Endpoints
AccountBundles
Apple Watch
Credit Limits
Devices
Fraud Requests
FreeUnitsPackages
Promotions
Segments
Subscription Commercial Products
Subscriptions
Contracts