POST api/Zendesk/SaveWebOrderInfo?c1WebOrderId={c1WebOrderId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| c1WebOrderId | string |
Required |
Body Parameters
ZendeskWebOrderInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| address | string |
None. |
|
| city | string |
None. |
|
| zipcode | string |
None. |
|
| offer | string |
None. |
|
| fullname | string |
None. |
|
| string |
None. |
||
| phonenumber | string |
None. |
|
| riskfactor | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"address": "sample string 1",
"city": "sample string 2",
"zipcode": "sample string 3",
"offer": "sample string 4",
"fullname": "sample string 5",
"email": "sample string 6",
"phonenumber": "sample string 7",
"riskfactor": "sample string 8"
}
text/html
Sample:
{"address":"sample string 1","city":"sample string 2","zipcode":"sample string 3","offer":"sample string 4","fullname":"sample string 5","email":"sample string 6","phonenumber":"sample string 7","riskfactor":"sample string 8"}
application/xml, text/xml
Sample:
<ZendeskWebOrderInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WWW.CableOne.ShoppingCartBusinessEntities"> <address>sample string 1</address> <city>sample string 2</city> <email>sample string 6</email> <fullname>sample string 5</fullname> <offer>sample string 4</offer> <phonenumber>sample string 7</phonenumber> <riskfactor>sample string 8</riskfactor> <zipcode>sample string 3</zipcode> </ZendeskWebOrderInfo>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
JsonResponseResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| ContentEncoding | Encoding |
None. |
|
| ContentType | string |
None. |
|
| Data | Object |
None. |
|
| JsonRequestBehavior | JsonRequestBehavior |
None. |
|
| MaxJsonLength | integer |
None. |
|
| RecursionLimit | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"message": "sample string 2",
"contentEncoding": null,
"contentType": "sample string 3",
"data": {},
"jsonRequestBehavior": 0,
"maxJsonLength": 1,
"recursionLimit": 1
}
text/html
Sample:
{"success":true,"message":"sample string 2","contentEncoding":null,"contentType":"sample string 3","data":{},"jsonRequestBehavior":0,"maxJsonLength":1,"recursionLimit":1}
application/xml, text/xml
Sample:
<JsonResponseResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WWW.CableOne.ShoppingCartUtilities"> <ContentEncoding xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Text" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc" /> <ContentType xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">sample string 3</ContentType> <Data xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc" /> <JsonRequestBehavior xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">AllowGet</JsonRequestBehavior> <MaxJsonLength xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">1</MaxJsonLength> <RecursionLimit xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">1</RecursionLimit> <Message>sample string 2</Message> <Success>true</Success> </JsonResponseResult>