PUT api/Orders/RefreshOrderLinePricing
Request Information
URI Parameters
None.
Body Parameters
Collection of OrderLineDTOName | Description | Type | Additional information |
---|---|---|---|
OrderId | integer |
None. |
|
OrderLineId | integer |
None. |
|
LineNumber | integer |
None. |
|
Quantity | integer |
None. |
|
MfgId | integer |
None. |
|
MfgCode | string |
None. |
|
PartNumber | string |
None. |
|
Description | string |
None. |
|
Retail | decimal number |
None. |
|
DealerCost | decimal number |
None. |
|
Discount1 | decimal number |
None. |
|
Discount2 | decimal number |
None. |
|
Dealer | decimal number |
None. |
|
CustomerCost | decimal number |
None. |
|
CustomerExtended | decimal number |
None. |
|
DealerExtended | decimal number |
None. |
|
GPPercent | decimal number |
None. |
|
StockCode | string |
None. |
|
ImportedDiscount1 | boolean |
None. |
|
ImportedDiscount2 | boolean |
None. |
|
InitialDealerCost | decimal number |
None. |
|
OrderLineGroupId | integer |
None. |
|
OrderLineGroupName | string |
None. |
|
MinimumPrice | decimal number |
None. |
|
MaximumPrice | decimal number |
None. |
|
PromoCode | string |
None. |
|
Notes | string |
None. |
|
OrderLineSource | OrderLineSourceEnum |
None. |
|
OrderLinePrintType | OrderLinePrintTypeEnum |
None. |
Request Formats
application/json, text/json
Sample:
[ { "OrderId": 1, "OrderLineId": 1, "LineNumber": 2, "Quantity": 3, "MfgId": 1, "MfgCode": "sample string 4", "PartNumber": "sample string 5", "Description": "sample string 6", "Retail": 7.0, "DealerCost": 8.0, "Discount1": 9.0, "Discount2": 10.0, "Dealer": 11.0, "CustomerCost": 12.0, "CustomerExtended": 13.0, "DealerExtended": 14.0, "GPPercent": 15.0, "StockCode": "sample string 16", "ImportedDiscount1": true, "ImportedDiscount2": true, "InitialDealerCost": 19.0, "OrderLineGroupId": 20, "OrderLineGroupName": "sample string 21", "MinimumPrice": 22.0, "MaximumPrice": 23.0, "PromoCode": "sample string 24", "Notes": "sample string 25", "OrderLineSource": 1, "OrderLinePrintType": 1 }, { "OrderId": 1, "OrderLineId": 1, "LineNumber": 2, "Quantity": 3, "MfgId": 1, "MfgCode": "sample string 4", "PartNumber": "sample string 5", "Description": "sample string 6", "Retail": 7.0, "DealerCost": 8.0, "Discount1": 9.0, "Discount2": 10.0, "Dealer": 11.0, "CustomerCost": 12.0, "CustomerExtended": 13.0, "DealerExtended": 14.0, "GPPercent": 15.0, "StockCode": "sample string 16", "ImportedDiscount1": true, "ImportedDiscount2": true, "InitialDealerCost": 19.0, "OrderLineGroupId": 20, "OrderLineGroupName": "sample string 21", "MinimumPrice": 22.0, "MaximumPrice": 23.0, "PromoCode": "sample string 24", "Notes": "sample string 25", "OrderLineSource": 1, "OrderLinePrintType": 1 } ]
text/html, multipart/form-data, application/zip
Sample:
[{"OrderId":1,"OrderLineId":1,"LineNumber":2,"Quantity":3,"MfgId":1,"MfgCode":"sample string 4","PartNumber":"sample string 5","Description":"sample string 6","Retail":7.0,"DealerCost":8.0,"Discount1":9.0,"Discount2":10.0,"Dealer":11.0,"CustomerCost":12.0,"CustomerExtended":13.0,"DealerExtended":14.0,"GPPercent":15.0,"StockCode":"sample string 16","ImportedDiscount1":true,"ImportedDiscount2":true,"InitialDealerCost":19.0,"OrderLineGroupId":20,"OrderLineGroupName":"sample string 21","MinimumPrice":22.0,"MaximumPrice":23.0,"PromoCode":"sample string 24","Notes":"sample string 25","OrderLineSource":1,"OrderLinePrintType":1},{"OrderId":1,"OrderLineId":1,"LineNumber":2,"Quantity":3,"MfgId":1,"MfgCode":"sample string 4","PartNumber":"sample string 5","Description":"sample string 6","Retail":7.0,"DealerCost":8.0,"Discount1":9.0,"Discount2":10.0,"Dealer":11.0,"CustomerCost":12.0,"CustomerExtended":13.0,"DealerExtended":14.0,"GPPercent":15.0,"StockCode":"sample string 16","ImportedDiscount1":true,"ImportedDiscount2":true,"InitialDealerCost":19.0,"OrderLineGroupId":20,"OrderLineGroupName":"sample string 21","MinimumPrice":22.0,"MaximumPrice":23.0,"PromoCode":"sample string 24","Notes":"sample string 25","OrderLineSource":1,"OrderLinePrintType":1}]
application/xml, text/xml
Sample:
<ArrayOfOrderLineDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DentaCad.DTO"> <OrderLineDTO> <CustomerCost>12</CustomerCost> <CustomerExtended>13</CustomerExtended> <Dealer>11</Dealer> <DealerCost>8</DealerCost> <DealerExtended>14</DealerExtended> <Description>sample string 6</Description> <Discount1>9</Discount1> <Discount2>10</Discount2> <GPPercent>15</GPPercent> <ImportedDiscount1>true</ImportedDiscount1> <ImportedDiscount2>true</ImportedDiscount2> <InitialDealerCost>19</InitialDealerCost> <LineNumber>2</LineNumber> <MaximumPrice>23</MaximumPrice> <MfgCode>sample string 4</MfgCode> <MfgId>1</MfgId> <MinimumPrice>22</MinimumPrice> <Notes>sample string 25</Notes> <OrderId>1</OrderId> <OrderLineGroupId>20</OrderLineGroupId> <OrderLineGroupName>sample string 21</OrderLineGroupName> <OrderLineId>1</OrderLineId> <OrderLinePrintType>Normal</OrderLinePrintType> <OrderLineSource>ProductSearch</OrderLineSource> <PartNumber>sample string 5</PartNumber> <PromoCode>sample string 24</PromoCode> <Quantity>3</Quantity> <Retail>7</Retail> <StockCode>sample string 16</StockCode> </OrderLineDTO> <OrderLineDTO> <CustomerCost>12</CustomerCost> <CustomerExtended>13</CustomerExtended> <Dealer>11</Dealer> <DealerCost>8</DealerCost> <DealerExtended>14</DealerExtended> <Description>sample string 6</Description> <Discount1>9</Discount1> <Discount2>10</Discount2> <GPPercent>15</GPPercent> <ImportedDiscount1>true</ImportedDiscount1> <ImportedDiscount2>true</ImportedDiscount2> <InitialDealerCost>19</InitialDealerCost> <LineNumber>2</LineNumber> <MaximumPrice>23</MaximumPrice> <MfgCode>sample string 4</MfgCode> <MfgId>1</MfgId> <MinimumPrice>22</MinimumPrice> <Notes>sample string 25</Notes> <OrderId>1</OrderId> <OrderLineGroupId>20</OrderLineGroupId> <OrderLineGroupName>sample string 21</OrderLineGroupName> <OrderLineId>1</OrderLineId> <OrderLinePrintType>Normal</OrderLinePrintType> <OrderLineSource>ProductSearch</OrderLineSource> <PartNumber>sample string 5</PartNumber> <PromoCode>sample string 24</PromoCode> <Quantity>3</Quantity> <Retail>7</Retail> <StockCode>sample string 16</StockCode> </OrderLineDTO> </ArrayOfOrderLineDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of OrderLineDTOName | Description | Type | Additional information |
---|---|---|---|
OrderId | integer |
None. |
|
OrderLineId | integer |
None. |
|
LineNumber | integer |
None. |
|
Quantity | integer |
None. |
|
MfgId | integer |
None. |
|
MfgCode | string |
None. |
|
PartNumber | string |
None. |
|
Description | string |
None. |
|
Retail | decimal number |
None. |
|
DealerCost | decimal number |
None. |
|
Discount1 | decimal number |
None. |
|
Discount2 | decimal number |
None. |
|
Dealer | decimal number |
None. |
|
CustomerCost | decimal number |
None. |
|
CustomerExtended | decimal number |
None. |
|
DealerExtended | decimal number |
None. |
|
GPPercent | decimal number |
None. |
|
StockCode | string |
None. |
|
ImportedDiscount1 | boolean |
None. |
|
ImportedDiscount2 | boolean |
None. |
|
InitialDealerCost | decimal number |
None. |
|
OrderLineGroupId | integer |
None. |
|
OrderLineGroupName | string |
None. |
|
MinimumPrice | decimal number |
None. |
|
MaximumPrice | decimal number |
None. |
|
PromoCode | string |
None. |
|
Notes | string |
None. |
|
OrderLineSource | OrderLineSourceEnum |
None. |
|
OrderLinePrintType | OrderLinePrintTypeEnum |
None. |
Response Formats
application/json, text/json
Sample:
[ { "OrderId": 1, "OrderLineId": 1, "LineNumber": 2, "Quantity": 3, "MfgId": 1, "MfgCode": "sample string 4", "PartNumber": "sample string 5", "Description": "sample string 6", "Retail": 7.0, "DealerCost": 8.0, "Discount1": 9.0, "Discount2": 10.0, "Dealer": 11.0, "CustomerCost": 12.0, "CustomerExtended": 13.0, "DealerExtended": 14.0, "GPPercent": 15.0, "StockCode": "sample string 16", "ImportedDiscount1": true, "ImportedDiscount2": true, "InitialDealerCost": 19.0, "OrderLineGroupId": 20, "OrderLineGroupName": "sample string 21", "MinimumPrice": 22.0, "MaximumPrice": 23.0, "PromoCode": "sample string 24", "Notes": "sample string 25", "OrderLineSource": 1, "OrderLinePrintType": 1 }, { "OrderId": 1, "OrderLineId": 1, "LineNumber": 2, "Quantity": 3, "MfgId": 1, "MfgCode": "sample string 4", "PartNumber": "sample string 5", "Description": "sample string 6", "Retail": 7.0, "DealerCost": 8.0, "Discount1": 9.0, "Discount2": 10.0, "Dealer": 11.0, "CustomerCost": 12.0, "CustomerExtended": 13.0, "DealerExtended": 14.0, "GPPercent": 15.0, "StockCode": "sample string 16", "ImportedDiscount1": true, "ImportedDiscount2": true, "InitialDealerCost": 19.0, "OrderLineGroupId": 20, "OrderLineGroupName": "sample string 21", "MinimumPrice": 22.0, "MaximumPrice": 23.0, "PromoCode": "sample string 24", "Notes": "sample string 25", "OrderLineSource": 1, "OrderLinePrintType": 1 } ]
text/html, multipart/form-data, application/zip
Sample:
[{"OrderId":1,"OrderLineId":1,"LineNumber":2,"Quantity":3,"MfgId":1,"MfgCode":"sample string 4","PartNumber":"sample string 5","Description":"sample string 6","Retail":7.0,"DealerCost":8.0,"Discount1":9.0,"Discount2":10.0,"Dealer":11.0,"CustomerCost":12.0,"CustomerExtended":13.0,"DealerExtended":14.0,"GPPercent":15.0,"StockCode":"sample string 16","ImportedDiscount1":true,"ImportedDiscount2":true,"InitialDealerCost":19.0,"OrderLineGroupId":20,"OrderLineGroupName":"sample string 21","MinimumPrice":22.0,"MaximumPrice":23.0,"PromoCode":"sample string 24","Notes":"sample string 25","OrderLineSource":1,"OrderLinePrintType":1},{"OrderId":1,"OrderLineId":1,"LineNumber":2,"Quantity":3,"MfgId":1,"MfgCode":"sample string 4","PartNumber":"sample string 5","Description":"sample string 6","Retail":7.0,"DealerCost":8.0,"Discount1":9.0,"Discount2":10.0,"Dealer":11.0,"CustomerCost":12.0,"CustomerExtended":13.0,"DealerExtended":14.0,"GPPercent":15.0,"StockCode":"sample string 16","ImportedDiscount1":true,"ImportedDiscount2":true,"InitialDealerCost":19.0,"OrderLineGroupId":20,"OrderLineGroupName":"sample string 21","MinimumPrice":22.0,"MaximumPrice":23.0,"PromoCode":"sample string 24","Notes":"sample string 25","OrderLineSource":1,"OrderLinePrintType":1}]
application/xml, text/xml
Sample:
<ArrayOfOrderLineDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DentaCad.DTO"> <OrderLineDTO> <CustomerCost>12</CustomerCost> <CustomerExtended>13</CustomerExtended> <Dealer>11</Dealer> <DealerCost>8</DealerCost> <DealerExtended>14</DealerExtended> <Description>sample string 6</Description> <Discount1>9</Discount1> <Discount2>10</Discount2> <GPPercent>15</GPPercent> <ImportedDiscount1>true</ImportedDiscount1> <ImportedDiscount2>true</ImportedDiscount2> <InitialDealerCost>19</InitialDealerCost> <LineNumber>2</LineNumber> <MaximumPrice>23</MaximumPrice> <MfgCode>sample string 4</MfgCode> <MfgId>1</MfgId> <MinimumPrice>22</MinimumPrice> <Notes>sample string 25</Notes> <OrderId>1</OrderId> <OrderLineGroupId>20</OrderLineGroupId> <OrderLineGroupName>sample string 21</OrderLineGroupName> <OrderLineId>1</OrderLineId> <OrderLinePrintType>Normal</OrderLinePrintType> <OrderLineSource>ProductSearch</OrderLineSource> <PartNumber>sample string 5</PartNumber> <PromoCode>sample string 24</PromoCode> <Quantity>3</Quantity> <Retail>7</Retail> <StockCode>sample string 16</StockCode> </OrderLineDTO> <OrderLineDTO> <CustomerCost>12</CustomerCost> <CustomerExtended>13</CustomerExtended> <Dealer>11</Dealer> <DealerCost>8</DealerCost> <DealerExtended>14</DealerExtended> <Description>sample string 6</Description> <Discount1>9</Discount1> <Discount2>10</Discount2> <GPPercent>15</GPPercent> <ImportedDiscount1>true</ImportedDiscount1> <ImportedDiscount2>true</ImportedDiscount2> <InitialDealerCost>19</InitialDealerCost> <LineNumber>2</LineNumber> <MaximumPrice>23</MaximumPrice> <MfgCode>sample string 4</MfgCode> <MfgId>1</MfgId> <MinimumPrice>22</MinimumPrice> <Notes>sample string 25</Notes> <OrderId>1</OrderId> <OrderLineGroupId>20</OrderLineGroupId> <OrderLineGroupName>sample string 21</OrderLineGroupName> <OrderLineId>1</OrderLineId> <OrderLinePrintType>Normal</OrderLinePrintType> <OrderLineSource>ProductSearch</OrderLineSource> <PartNumber>sample string 5</PartNumber> <PromoCode>sample string 24</PromoCode> <Quantity>3</Quantity> <Retail>7</Retail> <StockCode>sample string 16</StockCode> </OrderLineDTO> </ArrayOfOrderLineDTO>