POST api/SalesEOD

Request Information

URI Parameters

None.

Body Parameters

Collection of salesinvoice
NameDescriptionTypeAdditional information
OrderNumber

string

None.

OrderType

string

None.

ORDER_TYPE

string

None.

LPONumber

string

None.

CustomerRefCode

string

None.

DeliveryType

string

None.

SALESMANNAME

string

None.

SITE_NUMBER

string

None.

BLASE_ORDER_STATUS

string

None.

CREATED_BY

string

None.

PRESELLERSIGNATURE

string

None.

CUSTOMERSIGNATURE

string

None.

IsDiscounted

boolean

None.

AppOrderId

string

None.

IsTele

integer

None.

AppliedType

string

None.

SHIP_TO_PO_NUMBER

string

None.

IsWipedOut

decimal number

None.

WipeOutReason

string

None.

ReferenceInvNo

string

None.

itemline

integer

None.

ITEM_CODE

string

None.

ORDER_QUANTITY

decimal number

None.

RECOMMENDED_QTY

decimal number

None.

DISCOUNT

decimal number

None.

RETURNREASON

string

None.

SECONDARY_QUANTITY

decimal number

None.

INVENTORY_QUANTITY

decimal number

None.

INVOICE_AMOUNT

decimal number

None.

ItemType

string

None.

RSP

string

None.

RSPUpdated

string

None.

RSPUOM

string

None.

UNIT_SELLING_PRICE

decimal number

None.

UNIT_LIST_PRICE

decimal number

None.

IsFOC

integer

None.

ITEM_DESCRIPTION

string

None.

SALES_UOM

string

None.

SECONDARY_UOM

string

None.

OfferType

integer

None.

OfferIndex

integer

None.

UNIT_LIST_PRICE_ACT

decimal number

None.

CURRENCY_CODE

string

None.

CUSTOMERPRICECLASS

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "OrderNumber": "sample string 1",
    "OrderType": "sample string 2",
    "ORDER_TYPE": "sample string 3",
    "LPONumber": "sample string 4",
    "CustomerRefCode": "sample string 5",
    "DeliveryType": "sample string 6",
    "SALESMANNAME": "sample string 7",
    "SITE_NUMBER": "sample string 8",
    "BLASE_ORDER_STATUS": "sample string 9",
    "CREATED_BY": "sample string 10",
    "PRESELLERSIGNATURE": "sample string 11",
    "CUSTOMERSIGNATURE": "sample string 12",
    "IsDiscounted": true,
    "AppOrderId": "sample string 14",
    "IsTele": 15,
    "AppliedType": "sample string 16",
    "SHIP_TO_PO_NUMBER": "sample string 17",
    "IsWipedOut": 18.1,
    "WipeOutReason": "sample string 19",
    "ReferenceInvNo": "sample string 20",
    "itemline": 21,
    "ITEM_CODE": "sample string 22",
    "ORDER_QUANTITY": 23.0,
    "RECOMMENDED_QTY": 24.0,
    "DISCOUNT": 25.0,
    "RETURNREASON": "sample string 26",
    "SECONDARY_QUANTITY": 27.0,
    "INVENTORY_QUANTITY": 28.0,
    "INVOICE_AMOUNT": 29.0,
    "ItemType": "sample string 30",
    "RSP": "sample string 31",
    "RSPUpdated": "sample string 32",
    "RSPUOM": "sample string 33",
    "UNIT_SELLING_PRICE": 34.0,
    "UNIT_LIST_PRICE": 35.0,
    "IsFOC": 36,
    "ITEM_DESCRIPTION": "sample string 37",
    "SALES_UOM": "sample string 38",
    "SECONDARY_UOM": "sample string 39",
    "OfferType": 40,
    "OfferIndex": 41,
    "UNIT_LIST_PRICE_ACT": 42.0,
    "CURRENCY_CODE": "sample string 43",
    "CUSTOMERPRICECLASS": "sample string 44"
  },
  {
    "OrderNumber": "sample string 1",
    "OrderType": "sample string 2",
    "ORDER_TYPE": "sample string 3",
    "LPONumber": "sample string 4",
    "CustomerRefCode": "sample string 5",
    "DeliveryType": "sample string 6",
    "SALESMANNAME": "sample string 7",
    "SITE_NUMBER": "sample string 8",
    "BLASE_ORDER_STATUS": "sample string 9",
    "CREATED_BY": "sample string 10",
    "PRESELLERSIGNATURE": "sample string 11",
    "CUSTOMERSIGNATURE": "sample string 12",
    "IsDiscounted": true,
    "AppOrderId": "sample string 14",
    "IsTele": 15,
    "AppliedType": "sample string 16",
    "SHIP_TO_PO_NUMBER": "sample string 17",
    "IsWipedOut": 18.1,
    "WipeOutReason": "sample string 19",
    "ReferenceInvNo": "sample string 20",
    "itemline": 21,
    "ITEM_CODE": "sample string 22",
    "ORDER_QUANTITY": 23.0,
    "RECOMMENDED_QTY": 24.0,
    "DISCOUNT": 25.0,
    "RETURNREASON": "sample string 26",
    "SECONDARY_QUANTITY": 27.0,
    "INVENTORY_QUANTITY": 28.0,
    "INVOICE_AMOUNT": 29.0,
    "ItemType": "sample string 30",
    "RSP": "sample string 31",
    "RSPUpdated": "sample string 32",
    "RSPUOM": "sample string 33",
    "UNIT_SELLING_PRICE": 34.0,
    "UNIT_LIST_PRICE": 35.0,
    "IsFOC": 36,
    "ITEM_DESCRIPTION": "sample string 37",
    "SALES_UOM": "sample string 38",
    "SECONDARY_UOM": "sample string 39",
    "OfferType": 40,
    "OfferIndex": 41,
    "UNIT_LIST_PRICE_ACT": 42.0,
    "CURRENCY_CODE": "sample string 43",
    "CUSTOMERPRICECLASS": "sample string 44"
  }
]

application/xml, text/xml

Sample:
<ArrayOfsalesinvoice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WEBAPIDEMO">
  <salesinvoice>
    <AppOrderId>sample string 14</AppOrderId>
    <AppliedType>sample string 16</AppliedType>
    <BLASE_ORDER_STATUS>sample string 9</BLASE_ORDER_STATUS>
    <CREATED_BY>sample string 10</CREATED_BY>
    <CURRENCY_CODE>sample string 43</CURRENCY_CODE>
    <CUSTOMERPRICECLASS>sample string 44</CUSTOMERPRICECLASS>
    <CUSTOMERSIGNATURE>sample string 12</CUSTOMERSIGNATURE>
    <CustomerRefCode>sample string 5</CustomerRefCode>
    <DISCOUNT>25</DISCOUNT>
    <DeliveryType>sample string 6</DeliveryType>
    <INVENTORY_QUANTITY>28</INVENTORY_QUANTITY>
    <INVOICE_AMOUNT>29</INVOICE_AMOUNT>
    <ITEM_CODE>sample string 22</ITEM_CODE>
    <ITEM_DESCRIPTION>sample string 37</ITEM_DESCRIPTION>
    <IsDiscounted>true</IsDiscounted>
    <IsFOC>36</IsFOC>
    <IsTele>15</IsTele>
    <IsWipedOut>18.1</IsWipedOut>
    <ItemType>sample string 30</ItemType>
    <LPONumber>sample string 4</LPONumber>
    <ORDER_QUANTITY>23</ORDER_QUANTITY>
    <ORDER_TYPE>sample string 3</ORDER_TYPE>
    <OfferIndex>41</OfferIndex>
    <OfferType>40</OfferType>
    <OrderNumber>sample string 1</OrderNumber>
    <OrderType>sample string 2</OrderType>
    <PRESELLERSIGNATURE>sample string 11</PRESELLERSIGNATURE>
    <RECOMMENDED_QTY>24</RECOMMENDED_QTY>
    <RETURNREASON>sample string 26</RETURNREASON>
    <RSP>sample string 31</RSP>
    <RSPUOM>sample string 33</RSPUOM>
    <RSPUpdated>sample string 32</RSPUpdated>
    <ReferenceInvNo>sample string 20</ReferenceInvNo>
    <SALESMANNAME>sample string 7</SALESMANNAME>
    <SALES_UOM>sample string 38</SALES_UOM>
    <SECONDARY_QUANTITY>27</SECONDARY_QUANTITY>
    <SECONDARY_UOM>sample string 39</SECONDARY_UOM>
    <SHIP_TO_PO_NUMBER>sample string 17</SHIP_TO_PO_NUMBER>
    <SITE_NUMBER>sample string 8</SITE_NUMBER>
    <UNIT_LIST_PRICE>35</UNIT_LIST_PRICE>
    <UNIT_LIST_PRICE_ACT>42</UNIT_LIST_PRICE_ACT>
    <UNIT_SELLING_PRICE>34</UNIT_SELLING_PRICE>
    <WipeOutReason>sample string 19</WipeOutReason>
    <itemline>21</itemline>
  </salesinvoice>
  <salesinvoice>
    <AppOrderId>sample string 14</AppOrderId>
    <AppliedType>sample string 16</AppliedType>
    <BLASE_ORDER_STATUS>sample string 9</BLASE_ORDER_STATUS>
    <CREATED_BY>sample string 10</CREATED_BY>
    <CURRENCY_CODE>sample string 43</CURRENCY_CODE>
    <CUSTOMERPRICECLASS>sample string 44</CUSTOMERPRICECLASS>
    <CUSTOMERSIGNATURE>sample string 12</CUSTOMERSIGNATURE>
    <CustomerRefCode>sample string 5</CustomerRefCode>
    <DISCOUNT>25</DISCOUNT>
    <DeliveryType>sample string 6</DeliveryType>
    <INVENTORY_QUANTITY>28</INVENTORY_QUANTITY>
    <INVOICE_AMOUNT>29</INVOICE_AMOUNT>
    <ITEM_CODE>sample string 22</ITEM_CODE>
    <ITEM_DESCRIPTION>sample string 37</ITEM_DESCRIPTION>
    <IsDiscounted>true</IsDiscounted>
    <IsFOC>36</IsFOC>
    <IsTele>15</IsTele>
    <IsWipedOut>18.1</IsWipedOut>
    <ItemType>sample string 30</ItemType>
    <LPONumber>sample string 4</LPONumber>
    <ORDER_QUANTITY>23</ORDER_QUANTITY>
    <ORDER_TYPE>sample string 3</ORDER_TYPE>
    <OfferIndex>41</OfferIndex>
    <OfferType>40</OfferType>
    <OrderNumber>sample string 1</OrderNumber>
    <OrderType>sample string 2</OrderType>
    <PRESELLERSIGNATURE>sample string 11</PRESELLERSIGNATURE>
    <RECOMMENDED_QTY>24</RECOMMENDED_QTY>
    <RETURNREASON>sample string 26</RETURNREASON>
    <RSP>sample string 31</RSP>
    <RSPUOM>sample string 33</RSPUOM>
    <RSPUpdated>sample string 32</RSPUpdated>
    <ReferenceInvNo>sample string 20</ReferenceInvNo>
    <SALESMANNAME>sample string 7</SALESMANNAME>
    <SALES_UOM>sample string 38</SALES_UOM>
    <SECONDARY_QUANTITY>27</SECONDARY_QUANTITY>
    <SECONDARY_UOM>sample string 39</SECONDARY_UOM>
    <SHIP_TO_PO_NUMBER>sample string 17</SHIP_TO_PO_NUMBER>
    <SITE_NUMBER>sample string 8</SITE_NUMBER>
    <UNIT_LIST_PRICE>35</UNIT_LIST_PRICE>
    <UNIT_LIST_PRICE_ACT>42</UNIT_LIST_PRICE_ACT>
    <UNIT_SELLING_PRICE>34</UNIT_SELLING_PRICE>
    <WipeOutReason>sample string 19</WipeOutReason>
    <itemline>21</itemline>
  </salesinvoice>
</ArrayOfsalesinvoice>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'salesinvoice[]'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.