POST api/draftorderv2/getdraftorderdetails
Request Information
URI Parameters
None.
Body Parameters
DraftOrderDetailsDomName | Description | Type | Additional information |
---|---|---|---|
ChannelOrderRef | string |
None. |
|
Line_No | integer |
None. |
|
StockCode | string |
None. |
|
Description | string |
None. |
|
LabelDescription | string |
None. |
|
ColourOnLabel | string |
None. |
|
SizeOnLabel | string |
None. |
|
Quantity | decimal number |
None. |
|
CurrentRetailPrice | decimal number |
None. |
|
FullRetailPrice | decimal number |
None. |
|
PriceToPay | decimal number |
None. |
|
LineDisc | decimal number |
None. |
|
DiscFromHeader | decimal number |
None. |
|
DiscPerc | decimal number |
None. |
|
PaidPrice | decimal number |
None. |
|
PaidPriceExVAT | decimal number |
None. |
|
VATCode | string |
None. |
|
VATAmount | decimal number |
None. |
|
ImageURL | string |
None. |
|
UpdatedBy | string |
None. |
|
StockInHand | decimal number |
None. |
|
DiscReason | string |
None. |
|
Reason | string |
None. |
|
IsPerc | boolean |
None. |
|
DisplayDisc | decimal number |
None. |
|
DiscGiven | decimal number |
None. |
|
RetailPrice | decimal number |
None. |
|
DiscInForce | decimal number |
None. |
|
ClientID | integer |
None. |
|
DiscPaidPrice | decimal number |
None. |
|
LatestCost | decimal number |
None. |
|
IsNewProduct | boolean |
None. |
|
VATPerc | decimal number |
None. |
|
Profit | decimal number |
None. |
|
StyleCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ChannelOrderRef": "sample string 1", "Line_No": 2, "StockCode": "sample string 3", "Description": "sample string 4", "LabelDescription": "sample string 5", "ColourOnLabel": "sample string 6", "SizeOnLabel": "sample string 7", "Quantity": 1.0, "CurrentRetailPrice": 1.0, "FullRetailPrice": 1.0, "PriceToPay": 1.0, "LineDisc": 1.0, "DiscFromHeader": 1.0, "DiscPerc": 1.0, "PaidPrice": 1.0, "PaidPriceExVAT": 1.0, "VATCode": "sample string 8", "VATAmount": 1.0, "ImageURL": "sample string 9", "UpdatedBy": "sample string 10", "StockInHand": 1.1, "DiscReason": "sample string 11", "Reason": "sample string 12", "IsPerc": true, "DisplayDisc": 1.0, "DiscGiven": 1.0, "RetailPrice": 1.0, "DiscInForce": 13.0, "ClientID": 14, "DiscPaidPrice": 1.0, "LatestCost": 1.0, "IsNewProduct": true, "VATPerc": 1.1, "Profit": 1.0, "StyleCode": "sample string 15" }
application/xml, text/xml
Sample:
<DraftOrderDetailsDom xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Modulusv4.Domain"> <ChannelOrderRef>sample string 1</ChannelOrderRef> <ClientID>14</ClientID> <ColourOnLabel>sample string 6</ColourOnLabel> <CurrentRetailPrice>1</CurrentRetailPrice> <Description>sample string 4</Description> <DiscFromHeader>1</DiscFromHeader> <DiscGiven>1</DiscGiven> <DiscInForce>13</DiscInForce> <DiscPaidPrice>1</DiscPaidPrice> <DiscPerc>1</DiscPerc> <DiscReason>sample string 11</DiscReason> <DisplayDisc>1</DisplayDisc> <FullRetailPrice>1</FullRetailPrice> <ImageURL>sample string 9</ImageURL> <IsNewProduct>true</IsNewProduct> <IsPerc>true</IsPerc> <LabelDescription>sample string 5</LabelDescription> <LatestCost>1</LatestCost> <LineDisc>1</LineDisc> <Line_No>2</Line_No> <PaidPrice>1</PaidPrice> <PaidPriceExVAT>1</PaidPriceExVAT> <PriceToPay>1</PriceToPay> <Profit>1</Profit> <Quantity>1</Quantity> <Reason>sample string 12</Reason> <RetailPrice>1</RetailPrice> <SizeOnLabel>sample string 7</SizeOnLabel> <StockCode>sample string 3</StockCode> <StockInHand>1.1</StockInHand> <StyleCode>sample string 15</StyleCode> <UpdatedBy>sample string 10</UpdatedBy> <VATAmount>1</VATAmount> <VATCode>sample string 8</VATCode> <VATPerc>1.1</VATPerc> </DraftOrderDetailsDom>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |