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.
name | data type | constraints | description |
---|---|---|---|
accountId | number | required | |
activatesOn | number | ||
expiresOn | number | ||
clientId | string | ||
generateActivationKey | boolean | required | |
provisionUserUsername | string | ||
provisionUserPassword | string | ||
retryMaxAttempts | number | required | |
provisionAttachments | array of JobAttachmentCreator | ||
overwriteIfDuplicate | boolean | required | |
provisionSecureURL | boolean | required | |
deviceCredentialsTight | DeviceCredentialsTight |
Example
{ "accountId" : 12345, "activatesOn" : 12345, "expiresOn" : 12345, "clientId" : "...", "generateActivationKey" : true, "provisionUserUsername" : "...", "provisionUserPassword" : "...", "retryMaxAttempts" : 12345, "provisionAttachments" : [ { "name" : "...", "contentType" : "FILE", "body" : "..." }, { "name" : "...", "contentType" : "URL", "body" : "..." } ], "overwriteIfDuplicate" : true, "provisionSecureURL" : true, "deviceCredentialsTight" : "STRICT" }