Required role: | Administrator |
All Verbs | /service/InsertInvoiceLineRDB |
---|
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 .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /service/InsertInvoiceLineRDB HTTP/1.1
Host: www.bernhardthospitality.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
invoiceNumber: String,
position: 0,
productId: String,
description: String,
qtyOrdered: 0,
qtyShipped: 0,
qtyBackordered: 0,
pricePaid: 0,
salesRep: String,
brandId: String,
listPrice: 0,
unitOfMeasure: String,
basePrice: 0,
superCategory: String,
manufacturerId: String,
trackingNumber: String,
custom1STR: String,
custom2STR: String,
custom3STR: String,
custom4STR: String,
custom5STR: String,
notes: String,
countName: String,
listId: String,
sent: False,
dateSent: 0001-01-01
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length 0