HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/BoschPlaceOrderRequest HTTP/1.1
Host: s1-api.fource.nl
Content-Type: text/jsv
Content-Length: length
{
additionalText: String,
buyer:
{
buyerNo: String,
buyerLocationId: String,
buyerResponsiblePerson:
{
address: String,
email: String,
name: String,
phone: String
}
},
buyerOrderNumber: String,
erpSystemInfo:
{
erpSystemCode: String,
erpSystemUrl: String,
erpCertificateNr: String,
erpActions:
[
{
erpActionType: Availability,
erpActionName: String
}
],
password: String,
userName: String,
customerNumber: String
},
lines:
[
{
article:
{
vendorArticleNumber: String,
eanCodes:
[
String
],
make:
{
catalogOwnId: String,
name: String,
tecDocBrandNo: 0
},
manuArticleNumber: String,
tecDocArticleNo: String,
tecDocGenericArticleId: String
},
lineId: 0,
quantity:
{
count: 0,
uoM: String,
quantityPerUoM: 0
},
vehicle:
{
audatexId: String,
osVehiclekety: String,
catalogVehicleId: String,
tecRmiId: String,
datEuropacode: String,
eurotaxNatCode: String,
licenseNo: String,
tecDocId: String,
vin: String
}
}
],
vehicle:
{
audatexId: String,
osVehiclekety: String,
catalogVehicleId: String,
tecRmiId: String,
datEuropacode: String,
eurotaxNatCode: String,
licenseNo: String,
tecDocId: String,
vin: String
}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
buyerOrderNumber: String,
orderConfirmationUrl: String,
lines:
[
{
article:
{
vendorArticleNumber: String,
eanCodes:
[
String
],
make:
{
catalogOwnId: String,
name: String,
tecDocBrandNo: 0
},
manuArticleNumber: String,
tecDocArticleNo: String,
tecDocGenericArticleId: String
},
articlePrice:
{
additionalCosts:
{
currencyCodeIso: String,
value: 0
},
additionalDescriptions:
[
{
text: String,
languageCodeIso: String
}
],
grossPricePerPriceUnit:
{
currencyCodeIso: String,
value: 0
},
netPricePerPriceUnit:
{
currencyCodeIso: String,
value: 0
},
priceUnit:
{
count: 0,
uoM: String,
quantityPerUoM: 0
},
vatCode: 0,
vatPercent: 0
},
confirmedQuantity:
{
count: 0,
uoM: String,
quantityPerUoM: 0
},
deliveryMethod:
{
deliveryMethodText: String,
deliveryDateTime: 0001-01-01,
descriptions:
[
{
text: String,
languageCodeIso: String
}
],
shippingCost:
{
currencyCodeIso: String,
value: 0
}
},
lineId: 0,
descriptions:
[
{
text: String,
languageCodeIso: String
}
],
status: 0
}
],
sellerOrderNumber: String,
status: 0,
responseCode: Ok,
responseDescriptions:
[
{
text: String,
languageCodeIso: String
}
],
timeStamp: 0001-01-01
}