Required role: | Administrator |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
InvoiceNumber | form | string | No | |
Position | form | int | No | |
ProductId | form | string | No | |
Description | form | string | No | |
QtyOrdered | form | double | No | |
QtyShipped | form | double | No | |
QtyBackordered | form | double | No | |
PricePaid | form | double | No | |
SalesRep | form | string | No | |
BrandId | form | string | No | |
ListPrice | form | double | No | |
UnitOfMeasure | form | string | No | |
BasePrice | form | double | No | |
SuperCategory | form | string | No | |
ManufacturerId | form | string | No | |
TrackingNumber | form | string | No | |
Custom1STR | form | string | No | |
Custom2STR | form | string | No | |
Custom3STR | form | string | No | |
Custom4STR | form | string | No | |
Custom5STR | form | string | No | |
Notes | form | string | No | |
CountName | form | string | No | |
ListId | form | string | No | |
Sent | form | bool | No | |
DateSent | form | DateTime | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .soap11 suffix or ?format=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>