POST api/CustomerOrder/saveorder_details
Request Information
URI Parameters
None.
Body Parameters
customer_order_request| Name | Description | Type | Additional information |
|---|---|---|---|
| token | string |
None. |
|
| customer_order_details | Collection of customer_order_details |
None. |
Request Formats
application/json, text/json
Sample:
{
"token": "sample string 1",
"customer_order_details": [
{
"addon_id": "sample string 1",
"service_type_id": "sample string 2",
"service_key_registration_id": "sample string 3",
"plan_id": "sample string 4"
},
{
"addon_id": "sample string 1",
"service_type_id": "sample string 2",
"service_key_registration_id": "sample string 3",
"plan_id": "sample string 4"
}
]
}
application/xml, text/xml
Sample:
<customer_order_request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PromptTech.CRM.CustomerApp.Models">
<customer_order_details>
<customer_order_details>
<addon_id>sample string 1</addon_id>
<plan_id>sample string 4</plan_id>
<service_key_registration_id>sample string 3</service_key_registration_id>
<service_type_id>sample string 2</service_type_id>
</customer_order_details>
<customer_order_details>
<addon_id>sample string 1</addon_id>
<plan_id>sample string 4</plan_id>
<service_key_registration_id>sample string 3</service_key_registration_id>
<service_type_id>sample string 2</service_type_id>
</customer_order_details>
</customer_order_details>
<token>sample string 1</token>
</customer_order_request>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
customer_order_response| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| message | string |
None. |
|
| customer_Order_Credentials | customer_order_credentials |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"message": "sample string 2",
"customer_Order_Credentials": {
"order_id": "sample string 1"
}
}
application/xml, text/xml
Sample:
<customer_order_response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PromptTech.CRM.CustomerApp.Models">
<customer_Order_Credentials>
<order_id>sample string 1</order_id>
</customer_Order_Credentials>
<message>sample string 2</message>
<success>true</success>
</customer_order_response>