POST api/ServiceQuery/PostQuery

Request Information

URI Parameters

None.

Body Parameters

ServiceQueryModel
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Address

string

None.

Phone

string

None.

Email

string

None.

ServiceEnquiry

string

None.

DateOfPurchase

date

None.

ImeiNumber

string

None.

Query

string

None.

IsRead

boolean

None.

ModifiedBy

string

None.

CreatedOn

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Address": "sample string 3",
  "Phone": "sample string 4",
  "Email": "sample string 5",
  "ServiceEnquiry": "sample string 6",
  "DateOfPurchase": "2019-11-14T04:08:49.5431063+05:00",
  "ImeiNumber": "sample string 7",
  "Query": "sample string 8",
  "IsRead": true,
  "ModifiedBy": "sample string 10",
  "CreatedOn": "2019-11-14T04:08:49.5431063+05:00"
}

application/xml, text/xml

Sample:
<ServiceQueryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GreenTech.Models.ServiceQuery">
  <Address>sample string 3</Address>
  <CreatedOn>2019-11-14T04:08:49.5431063+05:00</CreatedOn>
  <DateOfPurchase>2019-11-14T04:08:49.5431063+05:00</DateOfPurchase>
  <Email>sample string 5</Email>
  <Id>1</Id>
  <ImeiNumber>sample string 7</ImeiNumber>
  <IsRead>true</IsRead>
  <ModifiedBy>sample string 10</ModifiedBy>
  <Name>sample string 2</Name>
  <Phone>sample string 4</Phone>
  <Query>sample string 8</Query>
  <ServiceEnquiry>sample string 6</ServiceEnquiry>
</ServiceQueryModel>

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.