POST api/Customer/SaveTrialRequest
Request Information
URI Parameters
None.
Body Parameters
trial_request| Name | Description | Type | Additional information |
|---|---|---|---|
| customer_Id | string |
None. |
|
| hardware_Id | string |
None. |
|
| outsource_Id | string |
None. |
|
| product_Id | string |
None. |
|
| name | string |
None. |
|
| phone | string |
None. |
|
| comments | string |
None. |
|
| token | string |
None. |
|
| referral_code | string |
None. |
|
| region_id | string |
None. |
|
| country_id | string |
None. |
|
| guestlogin_id | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"customer_Id": "sample string 1",
"hardware_Id": "sample string 2",
"outsource_Id": "sample string 3",
"product_Id": "sample string 4",
"name": "sample string 5",
"phone": "sample string 6",
"comments": "sample string 7",
"token": "sample string 8",
"referral_code": "sample string 9",
"region_id": "sample string 10",
"country_id": "sample string 11",
"guestlogin_id": "sample string 12"
}
application/xml, text/xml
Sample:
<trial_request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PromptTech.CRM.CustomerApp.Models"> <comments>sample string 7</comments> <country_id>sample string 11</country_id> <customer_Id>sample string 1</customer_Id> <guestlogin_id>sample string 12</guestlogin_id> <hardware_Id>sample string 2</hardware_Id> <name>sample string 5</name> <outsource_Id>sample string 3</outsource_Id> <phone>sample string 6</phone> <product_Id>sample string 4</product_Id> <referral_code>sample string 9</referral_code> <region_id>sample string 10</region_id> <token>sample string 8</token> </trial_request>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
trial_response| Name | Description | Type | Additional 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:
<trial_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> </trial_response>