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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /json/oneway/DocEntriesRequest HTTP/1.1 
Host: 5.172.198.40 
Content-Type: application/json
Content-Length: length

{"SPFactHeader":[{"Company":"String","Branch":"String","MoveTypeCode":"String","FactPrefixNum":"String","FactDate":"0001-01-01T00:00:00.0000000","FactTime":"0001-01-01T00:00:00.0000000","FactCanceled":0,"CancelMoveTypeCode":"String","CancelPrefixNum":0,"CancelDate":"0001-01-01T00:00:00.0000000","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-01T00:00:00.0000000"}]}],"SPFactPayment":[{"FactDetailLineNo":0,"PaymentCode":"String","PaymentValue":0,"CreditCard":"String","CreditCardBonusDescription":"String"}]}]}