POST Quote/NewQuote
Request Information
URI Parameters
None.
Body Parameters
QuoteViewModels| Name | Description | Type | Additional information |
|---|---|---|---|
| Vender | VenderViewModels |
None. |
|
| Remark | string |
None. |
|
| Price | integer |
None. |
|
| Product | Collection of QuoteProductViewModels |
None. |
|
| Operator | string |
None. |
|
| Type | boolean |
None. |
|
| Unpay | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Vender": {
"Id": 1,
"Name": "sample string 2"
},
"Remark": "sample string 1",
"Price": 2,
"Product": [
{
"Id": 1,
"Name": "sample string 2",
"Amount": 3
},
{
"Id": 1,
"Name": "sample string 2",
"Amount": 3
}
],
"Operator": "sample string 3",
"Type": true,
"Unpay": 5
}
application/xml, text/xml
Sample:
<QuoteViewModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JmplusAPI.ViewModels.PurchaceOrder">
<Operator>sample string 3</Operator>
<Price>2</Price>
<Product>
<QuoteProductViewModels>
<Amount>3</Amount>
<Id>1</Id>
<Name>sample string 2</Name>
</QuoteProductViewModels>
<QuoteProductViewModels>
<Amount>3</Amount>
<Id>1</Id>
<Name>sample string 2</Name>
</QuoteProductViewModels>
</Product>
<Remark>sample string 1</Remark>
<Type>true</Type>
<Unpay>5</Unpay>
<Vender xmlns:d2p1="http://schemas.datacontract.org/2004/07/JmplusAPI.ViewModels.Vender">
<d2p1:Id>1</d2p1:Id>
<d2p1:Name>sample string 2</d2p1:Name>
</Vender>
</QuoteViewModels>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
QuoteViewModels| Name | Description | Type | Additional information |
|---|---|---|---|
| Vender | VenderViewModels |
None. |
|
| Remark | string |
None. |
|
| Price | integer |
None. |
|
| Product | Collection of QuoteProductViewModels |
None. |
|
| Operator | string |
None. |
|
| Type | boolean |
None. |
|
| Unpay | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Vender": {
"Id": 1,
"Name": "sample string 2"
},
"Remark": "sample string 1",
"Price": 2,
"Product": [
{
"Id": 1,
"Name": "sample string 2",
"Amount": 3
},
{
"Id": 1,
"Name": "sample string 2",
"Amount": 3
}
],
"Operator": "sample string 3",
"Type": true,
"Unpay": 5
}
application/xml, text/xml
Sample:
<QuoteViewModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JmplusAPI.ViewModels.PurchaceOrder">
<Operator>sample string 3</Operator>
<Price>2</Price>
<Product>
<QuoteProductViewModels>
<Amount>3</Amount>
<Id>1</Id>
<Name>sample string 2</Name>
</QuoteProductViewModels>
<QuoteProductViewModels>
<Amount>3</Amount>
<Id>1</Id>
<Name>sample string 2</Name>
</QuoteProductViewModels>
</Product>
<Remark>sample string 1</Remark>
<Type>true</Type>
<Unpay>5</Unpay>
<Vender xmlns:d2p1="http://schemas.datacontract.org/2004/07/JmplusAPI.ViewModels.Vender">
<d2p1:Id>1</d2p1:Id>
<d2p1:Name>sample string 2</d2p1:Name>
</Vender>
</QuoteViewModels>