SLnet.WebExtApi

<back to all web services

DocEntriesRequest

The following routes are available for this service:
POST/api/glx/services/retailstudio/postdocentries

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

HTTP + CSV

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

POST /csv/oneway/DocEntriesRequest HTTP/1.1 
Host: 5.172.198.40 
Content-Type: text/csv
Content-Length: length

SPFactHeader
"[{Company:String,Branch:String,MoveTypeCode:String,FactPrefixNum:String,FactDate:0001-01-01,FactTime:0001-01-01,FactCanceled:0,CancelMoveTypeCode:String,CancelPrefixNum:0,CancelDate:0001-01-01,CancelFiscalYear:0,ShortDocID:String,CustomerAddressCode:String,DocID:String,CustomerCode:String,MovePrefix:String,Comments1:String,SPFactDetail:[{FactDetailLineNo:0,ItemCode:String,Quantity:0,UnitPrice:0,DiscountValue:0,DiscountValue1:0,DiscountValue2:0,DiscountValue3:0,NetValue:0,TaxCode:String,TaxValue:0,TaxPCD:0,VatCode:String,VatValue:0,Value:0,PriceListType:0,UserInput:String,SPFactDetailDim:[{ItemColorCode:String,ItemSizeCode:String,Quantity:0,LastUser:String,LastDate:0001-01-01}]}],SPFactPayment:[{FactDetailLineNo:0,PaymentCode:String,PaymentValue:0,CreditCard:String,CreditCardBonusDescription:String}]}]"