Skip to content

Commit

Permalink
Update connected-network-type.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-murray authored Dec 18, 2024
1 parent 4ddb39b commit e22b75a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions code/API_definitions/connected-network-type.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,23 @@ info:
- If the subject cannot be identified from the access token and the optional `device` object is not included in the request, then the server will return an error with the `422 MISSING_IDENTIFIER` error code.
- If the subject can be identified from the access token and the optional `device` object is also included in the request, then the server will return an error with the `422 UNNECESSARY_IDENTIFIER` error code. This will be the case even if the same device is identified by these two methods, as the server is unable to make this comparison.
## Further info and support
(FAQs will be added in a later version of the documentation)
### Multi-SIM scenario handling
In multi-SIM scenarios where more than one mobile device is associated with a phone number (e.g. a smartphone with an associated smartwatch), it might not be possible to uniquely identify from that phone number the device for which the connected network type should be returned. If the phone number is used as the device identifier when querying in a multi-SIM scenario, the API may:
- respond with an error, or
- return a common connected network type for the multi-SIM group as a whole, or
- return the connected network type for a single device in the multi-SIM group, which may not be the intended device.
Possible solutions in such a scenario include:
- Using the authorisation code flow to obtain an access token, which will automatically identify the intended device
- Identifying the intended device from a unique identifier for that device, such as its source IP address and port
- Check with the SIM provider whether a unique "secondary" phone number is already associated with each device, and use the secondary phone number to identify the intended device if available.
termsOfService: http://swagger.io/terms/
contact:
email: [email protected]
Expand Down

0 comments on commit e22b75a

Please sign in to comment.