HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/BoschProductAvailabilityRequest HTTP/1.1
Host: s1-api-tst.fource.nl
Content-Type: text/jsv
Content-Length: length
{
buyer:
{
buyerNo: String,
buyerLocationId: String,
buyerResponsiblePerson:
{
address: String,
email: String,
name: String,
phone: 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
},
dmsSessionId: String,
timeStamp: 0001-01-01,
authorizationToken: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
availabilityResponseLines:
[
{
alternativeArticle:
{
vendorArticleNumber: String,
eanCodes:
[
String
],
make:
{
catalogOwnId: String,
name: String,
tecDocBrandNo: 0
},
manuArticleNumber: String,
tecDocArticleNo: String,
tecDocGenericArticleId: String
},
article:
{
vendorArticleNumber: String,
eanCodes:
[
String
],
make:
{
catalogOwnId: String,
name: String,
tecDocBrandNo: 0
},
manuArticleNumber: String,
tecDocArticleNo: String,
tecDocGenericArticleId: String
},
articleAvailability:
[
{
additionalDescriptions:
[
{
text: String,
languageCodeIso: String
}
],
deliveryMethod:
{
deliveryMethodText: String,
deliveryDateTime: 0001-01-01,
descriptions:
[
{
text: String,
languageCodeIso: String
}
],
shippingCost:
{
currencyCodeIso: String,
value: 0
}
},
confirmedQuantity:
{
count: 0,
uoM: String,
quantityPerUoM: 0
}
}
],
lineId: 0,
requestedQuantity:
{
count: 0,
uoM: String,
quantityPerUoM: 0
},
status: 0
}
],
erpSystemInfo:
{
erpSystemCode: String,
erpSystemUrl: String,
erpCertificateNr: String,
erpActions:
[
{
erpActionType: Availability,
erpActionName: String
}
],
password: String,
userName: String,
customerNumber: String
},
responseCode: 0,
responseDescriptions:
[
{
text: String,
languageCodeIso: String
}
],
timeStamp: 0001-01-01
}