POST api/Validation/DeviceMapping

Request Information

URI Parameters

None.

Body Parameters

device_mapping_request
NameDescriptionTypeAdditional information
device_id

string

None.

trial_id

string

None.

premium_id

string

None.

customer_id

string

None.

token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "device_id": "sample string 1",
  "trial_id": "sample string 2",
  "premium_id": "sample string 3",
  "customer_id": "sample string 4",
  "token": "sample string 5"
}

application/xml, text/xml

Sample:
<device_mapping_request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PromptTech.CRM.CustomerApp.Models">
  <customer_id>sample string 4</customer_id>
  <device_id>sample string 1</device_id>
  <premium_id>sample string 3</premium_id>
  <token>sample string 5</token>
  <trial_id>sample string 2</trial_id>
</device_mapping_request>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

device_mapping_response
NameDescriptionTypeAdditional information
success

boolean

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "message": "sample string 2"
}

application/xml, text/xml

Sample:
<device_mapping_response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PromptTech.CRM.CustomerApp.Models">
  <message>sample string 2</message>
  <success>true</success>
</device_mapping_response>