POST api/LineItem/UpdateRDUDetails/{id}?type={type}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
|
| type | string |
Required |
Body Parameters
EditRDUViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Description | string |
None. |
|
| Quantity | integer |
None. |
|
| Taxable | boolean |
None. |
|
| Comments | string |
None. |
|
| Manufacturer | ManufacturerViewModel |
None. |
|
| OverRide | boolean |
None. |
|
| DealerNet | decimal number |
None. |
|
| ListPrice | decimal number |
None. |
|
| SellingPrice | decimal number |
None. |
|
| Discount | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"description": "sample string 1",
"quantity": 2,
"taxable": true,
"comments": "sample string 4",
"manufacturer": {
"manufacturerID": 1,
"manufacturerName": "sample string 2",
"isGameTime": true,
"usePricingStructure": true
},
"overRide": true,
"dealerNet": 6.0,
"listPrice": 7.0,
"sellingPrice": 8.0,
"discount": 9.0
}
application/xml, text/xml
Sample:
<EditRDUViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameTimeBAL.ViewModels">
<Comments>sample string 4</Comments>
<DealerNet>6</DealerNet>
<Description>sample string 1</Description>
<Discount>9</Discount>
<ListPrice>7</ListPrice>
<Manufacturer>
<IsGameTime>true</IsGameTime>
<ManufacturerID>1</ManufacturerID>
<ManufacturerName>sample string 2</ManufacturerName>
<UsePricingStructure>true</UsePricingStructure>
</Manufacturer>
<OverRide>true</OverRide>
<Quantity>2</Quantity>
<SellingPrice>8</SellingPrice>
<Taxable>true</Taxable>
</EditRDUViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.