POST api/Device/Reset

Documentation for 'Reset'.

Request Information

Parameters

NameDescriptionAdditional information
request
Documentation for 'request'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "code": "sample string 1",
  "device_model": "sample string 2",
  "identifier_type": 64,
  "device_identifier": "sample string 4",
  "is_success": true,
  "error_message": "sample string 6",
  "exception_name": "sample string 7",
  "error_code": 8
}

application/xml, text/xml

Sample:
<ResetRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContentApi.Client.Rest.Device.Entities">
  <error_code xmlns="http://schemas.datacontract.org/2004/07/Mandoe.Framework.WebApi">8</error_code>
  <error_message xmlns="http://schemas.datacontract.org/2004/07/Mandoe.Framework.WebApi">sample string 6</error_message>
  <exception_name xmlns="http://schemas.datacontract.org/2004/07/Mandoe.Framework.WebApi">sample string 7</exception_name>
  <is_success xmlns="http://schemas.datacontract.org/2004/07/Mandoe.Framework.WebApi">true</is_success>
  <code>sample string 1</code>
  <device_identifier>sample string 4</device_identifier>
  <device_model>sample string 2</device_model>
  <identifier_type>64</identifier_type>
</ResetRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedMediaTypeFormatterTracer' to write type 'ResetRequest'.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "public_key": "sample string 1",
  "device_guid": "sample string 2",
  "content_server_name": "sample string 3",
  "company_uuid": "sample string 4",
  "state": 64,
  "is_success": true,
  "error_message": "sample string 7",
  "exception_name": "sample string 8",
  "error_code": 9
}

application/xml, text/xml

Sample:
<ResetResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContentApi.Client.Rest.Device.Entities">
  <error_code xmlns="http://schemas.datacontract.org/2004/07/Mandoe.Framework.WebApi">9</error_code>
  <error_message xmlns="http://schemas.datacontract.org/2004/07/Mandoe.Framework.WebApi">sample string 7</error_message>
  <exception_name xmlns="http://schemas.datacontract.org/2004/07/Mandoe.Framework.WebApi">sample string 8</exception_name>
  <is_success xmlns="http://schemas.datacontract.org/2004/07/Mandoe.Framework.WebApi">true</is_success>
  <company_uuid>sample string 4</company_uuid>
  <content_server_name>sample string 3</content_server_name>
  <device_guid>sample string 2</device_guid>
  <public_key>sample string 1</public_key>
  <state>64</state>
</ResetResponse>