DeviceVendor

Use the DeviceVendor web service to get a list of vendor identifiers available for your account, update the group into which new devices are provisioned, or update the default restriction status for new devices.

To see your vendor ID or register for an ID:

  1. Log in to your OEM Cloud account.
  2. Click Admin > Account Settings > My Account.
    • If you have already registered a vendor ID, the vendor ID is displayed, as well as the provisioning configuration.
    • If you have not registered for a vendor ID, click Register for new vendor id and a vendor ID is assigned to your account. Refresh the account page to see the assigned vendor ID.

URI

http://<hostname>/ws/DeviceVendor

Formats

HTTP Method Format Description
GET /ws/DeviceVendor Retrieve vendor IDs available for your account.
POST /ws/DeviceVendor Register a vendor ID to use for device development.
PUT /ws/DeviceVendor Update grpPath or dpRestrictedStatus elements for a vendor.

Elements

dvVendorId

Integer representation of the Vendor ID.

dvVendorIdDesc

Hexadecimal representation of the Vendor ID.

cstId

OEM Cloud customer identifier for the vendor ID.

dvDescription

Text description for the vendor ID.

dvRegistrationDate

Date when the Vendor ID was registered.

grpPath

Name of a group into which new auto-provisioned devices are put by default. <grpPath disabled="true"/> disables auto-provisioning. If you create a new device ID by performing a POST to ws/DeviceVendor, you can specify a grpPath that overrides the default group path.

dpRestrictedStatus

Specifies device restrictions for connecting to OEM Cloud.

Restricted value Description
0

Unrestricted

No restrictions on connections.

2

Restricted

  • Disconnect and reboot are allowed
  • Commands may be satisfied from the cache, such as SCI requests specifying cache="true" or cache="only"
3

Untrusted

Devices are not allowed to start working until validated as trusted.

You can set dpRestrictedStatus using the ws/DeviceCore web resource.

 

© 2018 OEM Technology Solutions. All rights reserved.
DeviceVendor updated on 15 Aug 2018 12:00 PM