POST api/QuotationSave
Request Information
URI Parameters
None.
Body Parameters
QuotationSave| Name | Description | Type | Additional information |
|---|---|---|---|
| quotationNo | integer |
None. |
|
| Customer | string |
None. |
|
| Addr | string |
None. |
|
| quotationHeaderSave | QuotationHeaderSave |
None. |
|
| quotationLineSave | Collection of QuotationLineSave |
None. |
Request Formats
application/json, text/json
Sample:
{
"quotationNo": 1,
"Customer": "sample string 2",
"Addr": "sample string 3",
"quotationHeaderSave": {
"Address": "sample string 1",
"Contact": "sample string 2",
"Email": "sample string 3",
"Telephone": "sample string 4",
"Mobile": "sample string 5",
"Reference": "sample string 6",
"SentBy": 7,
"FollowUpBy": 8,
"QuoteDate": "sample string 9",
"ValidDate": "sample string 10",
"FollowUpDate": "sample string 11",
"InternalComments": "sample string 12",
"ExternalComments": "sample string 13"
},
"quotationLineSave": [
{
"Line": 1,
"Style": "sample string 2",
"Status": 3,
"All": 4,
"Uplift": 5,
"Price": 6.0,
"Del": 7,
"Exist": 8,
"Confirm": 9
},
{
"Line": 1,
"Style": "sample string 2",
"Status": 3,
"All": 4,
"Uplift": 5,
"Price": 6.0,
"Del": 7,
"Exist": 8,
"Confirm": 9
}
]
}
text/xml
Sample:
<QuotationSave xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRMAPP.Models">
<Add_Code>sample string 3</Add_Code>
<Customer>sample string 2</Customer>
<QuotationNo>1</QuotationNo>
<quotationHeaderSave>
<Address>sample string 1</Address>
<Contact>sample string 2</Contact>
<Email>sample string 3</Email>
<ExternalComments>sample string 13</ExternalComments>
<FollowUpBy>8</FollowUpBy>
<FollowUpDate>sample string 11</FollowUpDate>
<InternalComments>sample string 12</InternalComments>
<Mobile>sample string 5</Mobile>
<QuoteDate>sample string 9</QuoteDate>
<Reference>sample string 6</Reference>
<SentBy>7</SentBy>
<Telephone>sample string 4</Telephone>
<ValidDate>sample string 10</ValidDate>
</quotationHeaderSave>
<quotationLineSave>
<QuotationLineSave>
<All>4</All>
<Confirm>9</Confirm>
<Del>7</Del>
<Exist>8</Exist>
<Line>1</Line>
<Price>6</Price>
<Status>3</Status>
<Style>sample string 2</Style>
<Uplift>5</Uplift>
</QuotationLineSave>
<QuotationLineSave>
<All>4</All>
<Confirm>9</Confirm>
<Del>7</Del>
<Exist>8</Exist>
<Line>1</Line>
<Price>6</Price>
<Status>3</Status>
<Style>sample string 2</Style>
<Uplift>5</Uplift>
</QuotationLineSave>
</quotationLineSave>
</QuotationSave>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |