POST api/QuotationCustomerForm

Đky nhận báo giá

Request Information

Requires Authorization!

Parameters

NameDescriptionTypeAdditional information
QuotationRequestModel

QuotationRequestModel

QuotationRequestModel

None.

Body Parameters

QuotationRequestModel
NameDescriptionTypeAdditional information
FullName

string

None.

Mobile

string

Required

Matching regular expression pattern: ((03|05|07|08|09)+([0-9]{8}))|(02[0-9]{9})$

MakeId

integer

None.

ModelId

integer

None.

PaymentsType

integer

None.

type

integer

None.

salonSalemanID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "FullName": "sample string 1",
  "Mobile": "sample string 2",
  "MakeId": 3,
  "ModelId": 4,
  "PaymentsType": 5,
  "type": 6,
  "salonSalemanID": 7
}

application/xml, text/xml

Sample:
<QuotationRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Auto.AppApi.Models">
  <salonSalemanID>7</salonSalemanID>
  <type>6</type>
  <FullName>sample string 1</FullName>
  <MakeId>3</MakeId>
  <Mobile>sample string 2</Mobile>
  <ModelId>4</ModelId>
  <PaymentsType>5</PaymentsType>
</QuotationRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DataReturnObj
NameDescriptionTypeAdditional information
Status

integer

None.

Message

string

None.

Data

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "Message": "sample string 2",
  "Data": "sample string 3"
}

application/xml, text/xml

Sample:
<DataReturnObj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Auto.AppApi.Models">
  <Data>sample string 3</Data>
  <Message>sample string 2</Message>
  <Status>1</Status>
</DataReturnObj>