EMUN1 ASP.NET

<back to all web services

QueryInvoiceLines

QueryInvoiceLines Parameters:
NameParameterData TypeRequiredDescription
SearchquerystringNo
InvoiceNumberquerystringNo
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
InvoiceLineBase Parameters:
NameParameterData TypeRequiredDescription
InvoiceNumberformstringNo
PositionformintNo
ProductIdformstringNo
ProductformProductNo
DescriptionformstringNo
QtyOrderedformintNo
QtyShippedformintNo
QtyBackorderedformintNo
PriceformdecimalNo
ListPriceformdecimalNo
NotesformstringNo
UOMformstringNo
VendorIdformstringNo
LineTotalformdecimalNo
ExtendedTotalformdecimalNo
MetaformDictionary<string, string>No
Product Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
ProductLineIdformstringNo
ManufacturerNumberformstringNo
ShortDescriptionformstringNo
LongDescriptionformstringNo
AltDescriptionformstringNo
UpcCodeformstringNo
StatusformstringNo
PricingformIDictionary<int, double>No
ListPriceformdecimalNo
WholesalePriceformdecimalNo
RetailPriceformdecimal?No
RetailListPriceformdecimalNo
UnitsInStockformintNo
CategoryIdformstringNo
MinimumOrderQtyformdoubleNo
AvailableQtyformdoubleNo
AvailableOnformDateTime?No
IncomingQtyformdoubleNo
PurchaseIncrementformdoubleNo
OptionGroupformstringNo
OptionGroupListformstringNo
VendorIdformstringNo
ItemTypeformstringNo
ImageUrlformstringNo
OnDemandProductEuidformstringNo
KeywordsformstringNo
SuperCategoryformstringNo
IsNewformboolNo
IsRestrictedformboolNo
CreatedOnformDateTimeNo
WeightformdoubleNo
HeightformdecimalNo
LengthformdecimalNo
CubicVolumeformdoubleNo
CostformdecimalNo
UOMformstringNo
SubCategoryformstringNo
ShipOnformDateTime?No
FeaturedformintNo
QueryResponse<T> Parameters:
NameParameterData TypeRequiredDescription
OffsetformintNo
TotalformintNo
ResultsformList<T>No
MetaformDictionary<string, string>No
ResponseStatusformResponseStatusNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .soap11 suffix or ?format=soap11

HTTP + SOAP11

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /soap11 HTTP/1.1 
Host: www.bernhardt.com 
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: QueryInvoiceLines

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<QueryInvoiceLines xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emun.Orders">
  <Fields xmlns="http://schemas.servicestack.net/types">String</Fields>
  <Include xmlns="http://schemas.servicestack.net/types">String</Include>
  <Meta xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.servicestack.net/types">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>String</d2p1:Key>
      <d2p1:Value>String</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Meta>
  <OrderBy xmlns="http://schemas.servicestack.net/types">String</OrderBy>
  <OrderByDesc xmlns="http://schemas.servicestack.net/types">String</OrderByDesc>
  <Skip xmlns="http://schemas.servicestack.net/types">0</Skip>
  <Take xmlns="http://schemas.servicestack.net/types">0</Take>
  <InvoiceNumber>String</InvoiceNumber>
  <Search>String</Search>
</QueryInvoiceLines>

    </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<QueryResponseOfInvoiceLinezUfGIW9z xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
  <Offset>0</Offset>
  <Total>0</Total>
  <Results xmlns:d2p1="http://schemas.datacontract.org/2004/07/Emun.Orders">
    <d2p1:InvoiceLine>
      <d2p1:Description>String</d2p1:Description>
      <d2p1:InvoiceNumber>String</d2p1:InvoiceNumber>
      <d2p1:ListPrice>0</d2p1:ListPrice>
      <d2p1:Meta xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringstring>
          <d4p1:Key>String</d4p1:Key>
          <d4p1:Value>String</d4p1:Value>
        </d4p1:KeyValueOfstringstring>
      </d2p1:Meta>
      <d2p1:Notes>String</d2p1:Notes>
      <d2p1:Position>0</d2p1:Position>
      <d2p1:Price>0</d2p1:Price>
      <d2p1:Product>
        <d2p1:AltDescription>String</d2p1:AltDescription>
        <d2p1:AvailableOn>0001-01-01T00:00:00</d2p1:AvailableOn>
        <d2p1:AvailableQty>0</d2p1:AvailableQty>
        <d2p1:CategoryId>String</d2p1:CategoryId>
        <d2p1:Cost>0</d2p1:Cost>
        <d2p1:CreatedOn>0001-01-01T00:00:00</d2p1:CreatedOn>
        <d2p1:CubicVolume>0</d2p1:CubicVolume>
        <d2p1:Featured>0</d2p1:Featured>
        <d2p1:Height>0</d2p1:Height>
        <d2p1:Id>String</d2p1:Id>
        <d2p1:ImageUrl>String</d2p1:ImageUrl>
        <d2p1:IncomingQty>0</d2p1:IncomingQty>
        <d2p1:IsNew>false</d2p1:IsNew>
        <d2p1:IsRestricted>false</d2p1:IsRestricted>
        <d2p1:ItemType>String</d2p1:ItemType>
        <d2p1:Keywords>String</d2p1:Keywords>
        <d2p1:Length>0</d2p1:Length>
        <d2p1:ListPrice>0</d2p1:ListPrice>
        <d2p1:LongDescription>String</d2p1:LongDescription>
        <d2p1:ManufacturerNumber>String</d2p1:ManufacturerNumber>
        <d2p1:MinimumOrderQty>0</d2p1:MinimumOrderQty>
        <d2p1:OnDemandProductEuid>String</d2p1:OnDemandProductEuid>
        <d2p1:OptionGroup>String</d2p1:OptionGroup>
        <d2p1:OptionGroupList>String</d2p1:OptionGroupList>
        <d2p1:Pricing xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
        <d2p1:ProductLineId>String</d2p1:ProductLineId>
        <d2p1:PurchaseIncrement>0</d2p1:PurchaseIncrement>
        <d2p1:RetailListPrice>0</d2p1:RetailListPrice>
        <d2p1:RetailPrice>0</d2p1:RetailPrice>
        <d2p1:ShipOn>0001-01-01T00:00:00</d2p1:ShipOn>
        <d2p1:ShortDescription>String</d2p1:ShortDescription>
        <d2p1:Status>String</d2p1:Status>
        <d2p1:SubCategory>String</d2p1:SubCategory>
        <d2p1:SuperCategory>String</d2p1:SuperCategory>
        <d2p1:UOM>String</d2p1:UOM>
        <d2p1:UnitsInStock>0</d2p1:UnitsInStock>
        <d2p1:UpcCode>String</d2p1:UpcCode>
        <d2p1:VendorId>String</d2p1:VendorId>
        <d2p1:Weight>0</d2p1:Weight>
        <d2p1:WholesalePrice>0</d2p1:WholesalePrice>
      </d2p1:Product>
      <d2p1:ProductId>String</d2p1:ProductId>
      <d2p1:QtyBackordered>0</d2p1:QtyBackordered>
      <d2p1:QtyOrdered>0</d2p1:QtyOrdered>
      <d2p1:QtyShipped>0</d2p1:QtyShipped>
      <d2p1:UOM>String</d2p1:UOM>
      <d2p1:VendorId>String</d2p1:VendorId>
    </d2p1:InvoiceLine>
  </Results>
  <Meta xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>String</d2p1:Key>
      <d2p1:Value>String</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Meta>
  <ResponseStatus>
    <ErrorCode>String</ErrorCode>
    <Message>String</Message>
    <StackTrace>String</StackTrace>
    <Errors>
      <ResponseError>
        <ErrorCode>String</ErrorCode>
        <FieldName>String</FieldName>
        <Message>String</Message>
        <Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringstring>
            <d5p1:Key>String</d5p1:Key>
            <d5p1:Value>String</d5p1:Value>
          </d5p1:KeyValueOfstringstring>
        </Meta>
      </ResponseError>
    </Errors>
    <Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>String</d3p1:Key>
        <d3p1:Value>String</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </Meta>
  </ResponseStatus>
</QueryResponseOfInvoiceLinezUfGIW9z>

    </soap:Body>
</soap:Envelope>