1,594 bytes added
, 22:19, 23 July 2014
{{Api_Method_Spec|
Description=Register the user using the data sent int the userData parameter. This method only can be used by instance that has configured NonTelefonicaUser or Both.
This method can be used by anonymous user.
|Parameters=
{{Api_Parameter|
ParamName=deviceType
|ParamType=int
|ParamRequired=required
|ParamDescription=The device type code (see #DeviceTypeCodes enumeration to know the list of device types allowed)
}}
{{Api_Parameter|
ParamName= instanceId
|ParamType=int
|ParamRequired=required
|ParamDescription=The number (ID) of one instance that represent an OB registered in this environment. The same of the user has been registered.
}}
{{Api_Parameter|
ParamName= userData
|ParamType=Array
|ParamRequired=required
|ParamDescription= TODO
}}
|Returns=
Returns a JSON object containing a True for successful.
'''Example:'''
{
: <span style="color: #a11;">"StatusCode"</span>: <span style="color: #164;">0</span>,
: <span style="color: #a11;">"Severity"</span>: <span style="color: #164;">1</span>,
: <span style="color: #a11;">"StatusMessage"</span>: <span style="color: #164;">"OK"</span>,
: <span style="color: #a11;">"Content"</span>: <span style="color: #219;">true</span>
}
|Exceptions=
* None
|Cache=
This method is not cached.
|KnownIssues=
* None
|VersionHistory=
{{{!}} border="2" style="width:800px;" cellpadding="5" cellspacing="0"
{{!}}- style="background:#88ccff;font-size:110%"
! API Version Number
! Change description
! Changes author
{{!}}- valign="top"
! 1.0
{{!}} Initial method design
{{!}} Harley Cabral
{{!}}}
|SeeAlso=
}}