POST api/priceRequest/add

Request Information

URI Parameters

None.

Body Parameters

PriceRequestViewModel
NameDescriptionTypeAdditional information
ID

integer

None.

Name

string

None.

Email

string

None.

Address

string

None.

Mobile

integer

None.

File

string

None.

Content

string

None.

CreatedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Name": "sample string 2",
  "Email": "sample string 3",
  "Address": "sample string 4",
  "Mobile": 5,
  "File": "sample string 6",
  "Content": "sample string 7",
  "CreatedDate": "2024-11-21T13:23:50.95653+07:00"
}

application/xml, text/xml

Sample:
<PriceRequestViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TeduShop.Web.Models.Common">
  <Address>sample string 4</Address>
  <Content>sample string 7</Content>
  <CreatedDate>2024-11-21T13:23:50.95653+07:00</CreatedDate>
  <Email>sample string 3</Email>
  <File>sample string 6</File>
  <ID>1</ID>
  <Mobile>5</Mobile>
  <Name>sample string 2</Name>
</PriceRequestViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.