V2
Devices
Device resource represents a device associated to a subscription
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| org | path | string | true | Organization name |
| mac_address | query | string | false | Mac address filter. Required if ‘serial_number’ filter is not provided |
| serial_number | query | string | false | Serial number filter. Required if ‘mac_address’ filter is not provided |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Devices found | [Device] |
| 403 | Forbidden | Forbidden access | ErrorResponse |
| 404 | Not Found | A subscription with the specified id was not found | ErrorResponse |
| 500 | Internal Server Error | Internal server error | ErrorResponse |
| default | Default | Any client or server error | ErrorResponse |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| org | path | string | true | Organization name |
| subscriptionId | path | string(uuid) | true | Subscription unique identifier |
| mac_address | query | string | false | Mac address filter |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Devices found for the subscription | [Device] |
| 403 | Forbidden | Forbidden access | ErrorResponse |
| 404 | Not Found | A subscription with the specified id was not found | ErrorResponse |
| 500 | Internal Server Error | Internal server error | ErrorResponse |
| default | Default | Any client or server error | ErrorResponse |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| org | path | string | true | Organization name |
| subscriptionId | path | string(uuid) | true | Subscription unique identifier |
| body | body | Device | true | Add device data |
Request body - instance of Device
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| id | string(uuid) | false | Device unique identifier |
| legacy_id | integer | false | Legacy unique identifier of the device associated with the subscription |
| catalogue_commercial_device_id | string | true | Commercial device id according to catalogue definition |
| catalogue_device_id | string | false | Device id according to catalogue definition |
| reservation_id | string | false | Id for device reservation |
| signature_process_id | string | false | Id of the resource containing subscriber valid signature to purchase device |
| shipping_order_id | string | false | Id of the shipping order related to the device according to logistic |
| pickup_order_id | string | false | Id of the pickup order related to the device according to reverse logistic |
| in_store_delivery_date | string(date-time) | false | In shop delivery date to the customer. Format according to ISO 8601. |
| in_store_returned_date | string(date-time) | false | In shop returned date. Format according to ISO 8601. |
| manufacturing_info | object | false | none |
| » id_type | string | false | Manufacturing id type |
| » id | string | false | Unique id for specific device |
| serial_number | string | false | The serial number or any alphanumeric identifier of a particular device |
| mac_address | string | false | A unique identifier assigned to the device network interface controller |
| imei | string | false | The International Mobile Equipment Identity of the device |
| acquisition_type | string | false | Specifies the type of acquisition for the device |
| commitments | [Commitment] | false | none |
| insurable_amount | number | false | The insurable value of the device, representing the maximum coverage amount for insurance purposes. A null value indicates that the device is not insurable |
| legacy_account_id | integer | true | Account ID associated with the subscription. Currently tied to MySim/Apollo storage. |
| Property | Values |
|---|---|
| acquisition_type | one of [BORROWED, FINANCED, ONE_TIME_PAYMENT] |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 201 | Created | Device added to subscription | Device |
| 403 | Forbidden | Forbidden access | ErrorResponse |
| 404 | Not Found | A subscription with the specified id was not found | ErrorResponse |
| 500 | Internal Server Error | Internal server error | ErrorResponse |
| default | Default | Any client or server error | ErrorResponse |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| org | path | string | true | Organization name |
| subscriptionId | path | string(uuid) | true | Subscription unique identifier |
| deviceId | path | string(uuid) | true | Device unique identifier |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Device found | Device |
| 403 | Forbidden | Forbidden access | ErrorResponse |
| 404 | Not Found | A device with the specified id was not found | ErrorResponse |
| 500 | Internal Server Error | Internal server error | ErrorResponse |
| default | Default | Any client or server error | ErrorResponse |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| org | path | string | true | Organization name |
| subscriptionId | path | string(uuid) | true | Subscription unique identifier |
| deviceId | path | string(uuid) | true | Device unique identifier |
| body | body | OperationsSet | true | Array of operations to apply to the device |
Request body - JsonObject
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| anonymous | [Operation] | false | none |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Device patched successfully | Device |
| 400 | Bad Request | Bad request | ErrorResponse |
| 403 | Forbidden | Forbidden access | ErrorResponse |
| 404 | Not Found | A device with the specified id was not found | ErrorResponse |
| 500 | Internal Server Error | Internal server error | ErrorResponse |
| default | Default | Any client or server error | ErrorResponse |
Endpoints
Subscriptions
Bundles
Promotions
Devices
AddOns
Amazon Prime
Max
Mobile
Broadband
Landline
Orange TV
Orange TV Libre
Disney
AgileTv
Netflix
Credit Limits
Change Requests
Commitments
DeviceInsurance
Multisim
Payment Plans
Operations
Contracts