POST Customers/AddCustomerQuery

Gets automatically associated to a CustomerID, if logged in

Request Information

URI Parameters

None.

Body Parameters

CustomerQueryBinding
NameDescriptionTypeAdditional information
Email

string

Required

String length: inclusive between 0 and 100

Name

string

Required

String length: inclusive between 0 and 100

Subject

string

String length: inclusive between 0 and 250

Message

string

Required

String length: inclusive between 0 and 2000

Lang

string

None.

StoreID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Email": "sample string 1",
  "Name": "sample string 2",
  "Subject": "sample string 3",
  "Message": "sample string 4",
  "Lang": "sample string 5",
  "StoreID": 6
}

application/xml, text/xml

Sample:
<CustomerQueryBinding xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Binding.Customer">
  <Lang xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Common.Base">sample string 5</Lang>
  <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Common.Base">6</StoreID>
  <Email>sample string 1</Email>
  <Message>sample string 4</Message>
  <Name>sample string 2</Name>
  <Subject>sample string 3</Subject>
</CustomerQueryBinding>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.