POST api/BEQuotation/CreateQuotation
Request Information
URI Parameters
None.
Body Parameters
CreateQuotationInput| Name | Description | Type | Additional information |
|---|---|---|---|
| Customer | string |
None. |
|
| ContactPhone | string |
None. |
|
| City | string |
None. |
|
| District | string |
None. |
|
| Address | string |
None. |
|
| Weight | integer |
None. |
|
| WeightUnit | string |
None. |
|
| WasteCode | string |
None. |
|
| TotalPrice | integer |
None. |
|
| UserId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Customer": "sample string 1",
"ContactPhone": "sample string 2",
"City": "sample string 3",
"District": "sample string 4",
"Address": "sample string 5",
"Weight": 6,
"WeightUnit": "sample string 7",
"WasteCode": "sample string 8",
"TotalPrice": 9,
"UserId": "sample string 10"
}
application/xml, text/xml
Sample:
<QuotationModel.CreateQuotationInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRMS.Models"> <Address>sample string 5</Address> <City>sample string 3</City> <ContactPhone>sample string 2</ContactPhone> <Customer>sample string 1</Customer> <District>sample string 4</District> <TotalPrice>9</TotalPrice> <UserId>sample string 10</UserId> <WasteCode>sample string 8</WasteCode> <Weight>6</Weight> <WeightUnit>sample string 7</WeightUnit> </QuotationModel.CreateQuotationInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BaseResultOfObject| Name | Description | Type | Additional information |
|---|---|---|---|
| body | Object |
None. |
|
| isSuccess | boolean |
None. |
|
| message | string |
None. |
|
| code | string |
None. |
|
| response | Enum |
None. |
|
| exception | string |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml, text/xml
Sample:
<BaseModels.BaseResultOfanyTypeRvdAXEcW xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRMS.Models"> <body /> <exception>sample string 3</exception> <isSuccess>true</isSuccess> <response i:nil="true" /> </BaseModels.BaseResultOfanyTypeRvdAXEcW>