Skip to end of metadata
Go to start of metadata
URLRequest MethodRequest ParameterResponse TypeResponse Data
https://www.incentiveholidays.com/api/booking/packagePOST /Raw Data

  
   "package":  
      "id":"26",
      "accomodationId":"1",
      "terms":"Y",
      "contactInfo":  
         "details":"",
         "firstName":"ra",
         "middleName":"rra",
         "passportNumber":"58777",
         "contactNumber":"12",
         "email":"ra@yopmail.com",
         "lastName":"ra"
      },
      "passenger":  
         "infant":"0",
         "adult":"1",
         "child":"0",
         "total":"1"
      },
      "arrival":"2015-09-06",
      "titleId":"1",
      "tripType":  
         "name":"Private",
         "tripId":"1"
      },
      "price":"0.00",
      "currencyId":"1",
      "departure":"2015-09-07",
      "referredBy":  
         "name":"Trip Advisor",
         "refererId":"3"
      },
      "name":"The Best of an Incentive Combo Holiday - 11 days"
   }
}

XML

<?xml version="1.0" encoding="utf-8"?>
<xml>
<status>SUCCESS</status>
<message>Package Successfully Booked</message>
<email>Email Successfully Sent</email>
<bookingId>619</bookingId>
<bookingCode/>
</xml>

   XML /ERROR

<?xml version="1.0" encoding="utf-8"?>
<xml>
<status>ERROR</status>
<errorCode>1003</errorCode>
<errorMessage>No id</errorMessage>
<errorDescription>id not found</errorDescription>
</xml>

     
  • No labels