The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/oneway/DocEntriesRequest HTTP/1.1
Host: 5.172.198.40
Content-Type: text/jsv
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
}
]
}
]
}