Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Situation

Available product

Code Block
languageyml
titleRequest
{
  "EAN": "9e789084999813",
  "ReadingMethod": "D",
  "Protection": "02",
  "RentalUnit": "DAG",
  "RentalNumberOfUnits": "21",
  "OrderReference": "123abc",
  "UserId": "XYZ"
}
Code Block
languageyml
titleResponse
{"placeOrder":
{   
 {
   "CbOrderReference": "1669231",
   

   "EAN": "9789084999813",
   

   "URL": "https://tstep2.eboekhuis.nl/wmDwld.php?uid=58403560d6961&ean=9789084999813&r=1"

}}

Situation

Unavailable product

Code Block
languageyml
titleRequest
{
  

  "EAN": "9999999999999",
  

  "ReadingMethod": "D",
  

  "Protection": "02",
  

  "RentalUnit": "DAG",
  

  "RentalNumberOfUnits": "21",
  

  "OrderReference": "123abc",
  

  "UserId": "XYZ"
}

}
Code Block
languageyml
titleResponse
{"Message":
{   
 {
   "MessageType": "E",
   

   "MessageCode": "EBS-10003",
   

   "MessageText": "A product with this EAN is not available."

}}









*********************************
For testing the following data is available (other data will result in an error response):

...