EMUN1 ASP.NET

<back to all web services

InsertInvoiceLineRDB

Requires Authentication
Required role:Administrator
InvoiceLineRDB Parameters:
NameParameterData TypeRequiredDescription
InvoiceNumberformstringNo
PositionformintNo
ProductIdformstringNo
DescriptionformstringNo
QtyOrderedformdoubleNo
QtyShippedformdoubleNo
QtyBackorderedformdoubleNo
PricePaidformdoubleNo
SalesRepformstringNo
BrandIdformstringNo
ListPriceformdoubleNo
UnitOfMeasureformstringNo
BasePriceformdoubleNo
SuperCategoryformstringNo
ManufacturerIdformstringNo
TrackingNumberformstringNo
Custom1STRformstringNo
Custom2STRformstringNo
Custom3STRformstringNo
Custom4STRformstringNo
Custom5STRformstringNo
NotesformstringNo
CountNameformstringNo
ListIdformstringNo
SentformboolNo
DateSentformDateTimeNo

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.bernhardthospitality.com 
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: InsertInvoiceLineRDB

<?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>

<InsertInvoiceLineRDB xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emun.RestDb">
  <BasePrice>0</BasePrice>
  <BrandId>String</BrandId>
  <CountName>String</CountName>
  <Custom1STR>String</Custom1STR>
  <Custom2STR>String</Custom2STR>
  <Custom3STR>String</Custom3STR>
  <Custom4STR>String</Custom4STR>
  <Custom5STR>String</Custom5STR>
  <DateSent>0001-01-01T00:00:00</DateSent>
  <Description>String</Description>
  <InvoiceNumber>String</InvoiceNumber>
  <ListId>String</ListId>
  <ListPrice>0</ListPrice>
  <ManufacturerId>String</ManufacturerId>
  <Notes>String</Notes>
  <Position>0</Position>
  <PricePaid>0</PricePaid>
  <ProductId>String</ProductId>
  <QtyBackordered>0</QtyBackordered>
  <QtyOrdered>0</QtyOrdered>
  <QtyShipped>0</QtyShipped>
  <SalesRep>String</SalesRep>
  <Sent>false</Sent>
  <SuperCategory>String</SuperCategory>
  <TrackingNumber>String</TrackingNumber>
  <UnitOfMeasure>String</UnitOfMeasure>
</InsertInvoiceLineRDB>

    </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>

<long xmlns="http://schemas.microsoft.com/2003/10/Serialization/">0</long>

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