POST api/negotiation/save
Request Information
URI Parameters
None.
Body Parameters
Collection of NegotiationDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| BOSEId | integer |
None. |
|
| UserId | integer |
None. |
|
| Quantity | decimal number |
None. |
|
| UnitPrice | decimal number |
None. |
|
| Price | decimal number |
None. |
|
| Status | boolean |
None. |
|
| Description | string |
None. |
|
| UOM | string |
None. |
|
| StockEntryId | integer |
None. |
|
| IsNegotiationToMultipleBuyers | boolean |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"BOSEId": 1,
"UserId": 1,
"Quantity": 1.0,
"UnitPrice": 1.0,
"Price": 1.0,
"Status": true,
"Description": "sample string 3",
"UOM": "sample string 4",
"StockEntryId": 5,
"IsNegotiationToMultipleBuyers": true
},
{
"BOSEId": 1,
"UserId": 1,
"Quantity": 1.0,
"UnitPrice": 1.0,
"Price": 1.0,
"Status": true,
"Description": "sample string 3",
"UOM": "sample string 4",
"StockEntryId": 5,
"IsNegotiationToMultipleBuyers": true
}
]
application/xml, text/xml
Sample:
<ArrayOfNegotiationDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO.StockEntries">
<NegotiationDTO>
<BOSEId>1</BOSEId>
<Description>sample string 3</Description>
<IsNegotiationToMultipleBuyers>true</IsNegotiationToMultipleBuyers>
<Price>1</Price>
<Quantity>1</Quantity>
<Status>true</Status>
<StockEntryId>5</StockEntryId>
<UOM>sample string 4</UOM>
<UnitPrice>1</UnitPrice>
<UserId>1</UserId>
</NegotiationDTO>
<NegotiationDTO>
<BOSEId>1</BOSEId>
<Description>sample string 3</Description>
<IsNegotiationToMultipleBuyers>true</IsNegotiationToMultipleBuyers>
<Price>1</Price>
<Quantity>1</Quantity>
<Status>true</Status>
<StockEntryId>5</StockEntryId>
<UOM>sample string 4</UOM>
<UnitPrice>1</UnitPrice>
<UserId>1</UserId>
</NegotiationDTO>
</ArrayOfNegotiationDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>