XML Schema: edc.xsd

ProvisionRequestCreator is a object used to create a provision request for a target device into the Everyware platform.

Mandatory fields are: accountId, retryMaxAttempts, provisionUserUsername, provisionUserPassword. Other field that are not set in the ProvisionRequestCreator will be set to the default value of their type.

ClientId, provisionUserUsername, provisionUserPassword must match exactly the values that the device will use to connect the first time to the provision broker.
ClientId is unique within an account, that means that must not exist more the one request for the same ClientId for an account.
ActivatesOn must be after the Expiration date, otherwise the creation will fail.
GenerateActivation key is optional. If set to true a 32 char random string will be generated and associated with the provision request.
A device must provide that activation key upon ask to be provisioned to the provision broker.
ProvisionProperties are not used at the moment.
ProvisionAttachment are optional. It can be specified only one configuration update, while bundle have a limit of 9 for a total of 10 max attachments. If no configuration attachment is passed the system will generate a configuration using values retrieved from the target account and from the device. By set OverwriteIfDuplicate flag to true any existing provision request for the specified ClientId will be overwritten by this provision request. If set to false and a duplicate exist the creation will return an error.



name (type) min/max
accountId (long) 1/1
activatesOn (dateTime) 0/1
expiresOn (dateTime) 0/1
clientId (string) 0/1
generateActivationKey (boolean) 1/1
provisionUserUsername (string) 0/1
provisionUserPassword (string) 0/1
retryMaxAttempts (int) 1/1
provisionAttachments (jobAttachmentCreator) 0/unbounded
overwriteIfDuplicate (boolean) 1/1
provisionSecureURL (boolean) 1/1
deviceCredentialsTight (deviceCredentialsTight) 0/1


property type description
accountId accountId (long)
activatesOn activatesOn (dateTime)
expiresOn expiresOn (dateTime)
clientId clientId (string)
generateActivationKey generateActivationKey (boolean)
provisionUserUsername provisionUserUsername (string)
provisionUserPassword provisionUserPassword (string)
retryMaxAttempts retryMaxAttempts (int)
provisionAttachments array of provisionAttachments (jobAttachmentCreator)
overwriteIfDuplicate overwriteIfDuplicate (boolean)
provisionSecureURL provisionSecureURL (boolean)
deviceCredentialsTight deviceCredentialsTight (deviceCredentialsTight)