POST api/Feedback/CreateFeedback

Request Information

URI Parameters

None.

Body Parameters

FeedbackRequest
NameDescriptionTypeAdditional information
CustomerId

integer

None.

Name

string

None.

LunchboxId

integer

None.

Email

string

None.

Comment

string

None.

CellId

string

None.

UserAgent

string

None.

SessionId

integer

None.

IpAddress

string

None.

LunchcartId

integer

None.

State

string

None.

City

string

None.

ClassId

integer

None.

Referrer

string

None.

Phone

string

None.

FeedbackTypeText

string

None.

FeedbackSubTypeText

string

None.

ConfigIsCustomerFeedbackCreatesEmail

boolean

None.

ConfigIsCustomerFeedbackCreatesRoquetTicket

boolean

None.

ConfigTicketSourceId

integer

None.

AttachedImage

Collection of byte

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": 1,
  "Name": "sample string 1",
  "LunchboxId": 1,
  "Email": "sample string 2",
  "Comment": "sample string 3",
  "CellId": "sample string 4",
  "UserAgent": "sample string 5",
  "SessionId": 6,
  "IpAddress": "sample string 7",
  "LunchcartId": 1,
  "State": "sample string 8",
  "City": "sample string 9",
  "ClassId": 10,
  "Referrer": "sample string 11",
  "Phone": "sample string 12",
  "FeedbackTypeText": "sample string 13",
  "FeedbackSubTypeText": "sample string 14",
  "ConfigIsCustomerFeedbackCreatesEmail": true,
  "ConfigIsCustomerFeedbackCreatesRoquetTicket": true,
  "ConfigTicketSourceId": 17,
  "AttachedImage": "QEA="
}

text/html

Sample:
{"CustomerId":1,"Name":"sample string 1","LunchboxId":1,"Email":"sample string 2","Comment":"sample string 3","CellId":"sample string 4","UserAgent":"sample string 5","SessionId":6,"IpAddress":"sample string 7","LunchcartId":1,"State":"sample string 8","City":"sample string 9","ClassId":10,"Referrer":"sample string 11","Phone":"sample string 12","FeedbackTypeText":"sample string 13","FeedbackSubTypeText":"sample string 14","ConfigIsCustomerFeedbackCreatesEmail":true,"ConfigIsCustomerFeedbackCreatesRoquetTicket":true,"ConfigTicketSourceId":17,"AttachedImage":"QEA="}

application/xml, text/xml

Sample:
<FeedbackRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Specialtys.DTO.Request">
  <AttachedImage>QEA=</AttachedImage>
  <CellId>sample string 4</CellId>
  <City>sample string 9</City>
  <ClassId>10</ClassId>
  <Comment>sample string 3</Comment>
  <ConfigIsCustomerFeedbackCreatesEmail>true</ConfigIsCustomerFeedbackCreatesEmail>
  <ConfigIsCustomerFeedbackCreatesRoquetTicket>true</ConfigIsCustomerFeedbackCreatesRoquetTicket>
  <ConfigTicketSourceId>17</ConfigTicketSourceId>
  <CustomerId>1</CustomerId>
  <Email>sample string 2</Email>
  <FeedbackSubTypeText>sample string 14</FeedbackSubTypeText>
  <FeedbackTypeText>sample string 13</FeedbackTypeText>
  <IpAddress>sample string 7</IpAddress>
  <LunchboxId>1</LunchboxId>
  <LunchcartId>1</LunchcartId>
  <Name>sample string 1</Name>
  <Phone>sample string 12</Phone>
  <Referrer>sample string 11</Referrer>
  <SessionId>6</SessionId>
  <State>sample string 8</State>
  <UserAgent>sample string 5</UserAgent>
</FeedbackRequest>

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.