118 lines
2.8 KiB
HTTP
118 lines
2.8 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/SBW131225
|
|
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/11603/152546/2026-01-03/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": "Duschen",
|
|
"firstName": "Isolde",
|
|
"gender": "f",
|
|
"street": "Fooroad 1",
|
|
"zipCode": "12345",
|
|
"city": "Bartown",
|
|
"email": "[email protected]",
|
|
"phone": "12345"
|
|
}
|
|
|
|
### 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")}}
|