158 lines
4.2 KiB
HTTP
158 lines
4.2 KiB
HTTP
### user profile minimum
|
|
# @no-cookie-jar
|
|
GET {{base_url}}/api/userinfo
|
|
Accept: application/json
|
|
Authorization: Bearer {{$auth.token("oauth2_email")}}
|
|
|
|
### user profile full
|
|
# @no-cookie-jar
|
|
GET {{base_url}}/api/userinfo
|
|
Accept: application/json
|
|
Authorization: Bearer {{$auth.token("oauth2_profile")}}
|
|
|
|
### user crm attributes
|
|
# @no-cookie-jar
|
|
GET {{base_url}}/api/crm-attributes
|
|
Accept: application/json
|
|
Authorization: Bearer {{$auth.token("oauth2_profile")}}
|
|
|
|
### API last update at
|
|
# @no-cookie-jar
|
|
GET {{base_url}}/api/last-update
|
|
Accept: application/json
|
|
Authorization: Bearer {{$auth.token("oauth2_api")}}
|
|
|
|
### API countries
|
|
# @no-cookie-jar
|
|
GET {{base_url}}/api/countries
|
|
Accept: application/json
|
|
Authorization: Bearer {{$auth.token("oauth2_api")}}
|
|
|
|
### API hotels
|
|
# @no-cookie-jar
|
|
GET {{base_url}}/api/hotels
|
|
Accept: application/json
|
|
Authorization: Bearer {{$auth.token("oauth2_api")}}
|
|
|
|
### API hotel
|
|
# @no-cookie-jar
|
|
GET {{base_url}}/api/hotels/198924
|
|
Accept: application/json
|
|
Authorization: Bearer {{$auth.token("oauth2_api")}}
|
|
|
|
### API pickups
|
|
# @no-cookie-jar
|
|
GET {{base_url}}/api/pickups
|
|
Accept: application/json
|
|
Authorization: Bearer {{$auth.token("oauth2_api")}}
|
|
|
|
### API pickup
|
|
# @no-cookie-jar
|
|
GET {{base_url}}/api/pickups/1
|
|
Accept: application/json
|
|
Authorization: Bearer {{$auth.token("oauth2_api")}}
|
|
|
|
### API travels
|
|
# @no-cookie-jar
|
|
GET {{base_url}}/api/travels
|
|
Accept: application/json
|
|
Authorization: Bearer {{$auth.token("oauth2_api")}}
|
|
|
|
### API travel
|
|
# @no-cookie-jar
|
|
GET {{base_url}}/api/travels/DPWMP140326
|
|
Accept: application/json
|
|
Authorization: Bearer {{$auth.token("oauth2_api")}}
|
|
|
|
### API travel remote
|
|
# @no-cookie-jar
|
|
GET {{base_url}}/api/travels/11603
|
|
Accept: application/json
|
|
Authorization: Bearer {{$auth.token("oauth2_api")}}
|
|
|
|
### API hotel availability remote
|
|
# @no-cookie-jar
|
|
GET {{base_url}}/api/travels/11606/152546/2026-01-24/availability
|
|
Accept: application/json
|
|
Authorization: Bearer {{$auth.token("oauth2_api")}}
|
|
|
|
### API products remote
|
|
# @no-cookie-jar
|
|
GET {{base_url}}/api/products
|
|
Accept: application/json
|
|
Authorization: Bearer {{$auth.token("oauth2_api")}}
|
|
|
|
### API contact form
|
|
# @no-cookie-jar
|
|
POST {{base_url}}/api/contactform
|
|
Accept: application/json
|
|
Content-Type: application/json
|
|
Authorization: Bearer {{$auth.token("oauth2_api")}}
|
|
|
|
{
|
|
"lastName": "{{$random.name.lastName}}",
|
|
"firstName": "{{$random.name.firstName}}",
|
|
"gender": "d",
|
|
"street": "{{$random.address.streetAddress}}",
|
|
"zipCode": "{{$random.address.zipCode}}",
|
|
"city": "{{$random.address.city}}",
|
|
"email": "{{$random.email}}",
|
|
"phone": "{{$random.phoneNumber.cellPhone}}"
|
|
}
|
|
|
|
### API newsletter lists map
|
|
# @no-cookie-jar
|
|
GET {{base_url}}/api/newsletters
|
|
Accept: application/json
|
|
Content-Type: application/json
|
|
Authorization: Bearer {{$auth.token("oauth2_newsletter")}}
|
|
|
|
### API newsletter subscriptions
|
|
# @no-cookie-jar
|
|
POST {{base_url}}/api/newsletter-subscriptions
|
|
Accept: application/json
|
|
Content-Type: application/json
|
|
Authorization: Bearer {{$auth.token("oauth2_newsletter")}}
|
|
|
|
{
|
|
"email": "{{$random.email}}",
|
|
"listIds": [10321569]
|
|
}
|
|
|
|
### API pickups planning webhook
|
|
# @no-cookie-jar
|
|
POST {{base_url}}/api/pickups-planning
|
|
Accept: application/json
|
|
Content-Type: application/json
|
|
Authorization: Bearer {{$auth.token("oauth2_api")}}
|
|
|
|
< ./assets/json/zustiegplanung.json
|
|
|
|
### API pickups planning
|
|
# @no-cookie-jar
|
|
GET {{base_url}}/api/pickups-planning/DPWWTS191125
|
|
Accept: application/json
|
|
Content-Type: application/json
|
|
Authorization: Bearer {{$auth.token("oauth2_api")}}
|
|
|
|
### API contingents calendar (query refs)
|
|
# @no-cookie-jar
|
|
GET {{base_url}}/api/contingents/calendar?hotelRef=MVKGR2&dateFrom=2026-03-01&dateTo=2026-03-31
|
|
Accept: application/json
|
|
Content-Type: application/json
|
|
Authorization: Bearer {{$auth.token("oauth2_api")}}
|
|
|
|
### API contingents by date (query refs)
|
|
# @no-cookie-jar
|
|
GET {{base_url}}/api/contingents?hotelRef=L2ABDSFDOR&dateRef=SBW131225
|
|
Accept: application/json
|
|
Content-Type: application/json
|
|
Authorization: Bearer {{$auth.token("oauth2_api")}}
|
|
|
|
### API contingents rooms (query refs)
|
|
# @no-cookie-jar
|
|
GET {{base_url}}/api/contingents/rooms?hotelRef=L2ABDSFDOR&dateRef=SBW131225&dateFrom=2026-03-01&dateTo=2026-03-08
|
|
Accept: application/json
|
|
Content-Type: application/json
|
|
Authorization: Bearer {{$auth.token("oauth2_api")}}
|