72 lines
1.7 KiB
HTTP
72 lines
1.7 KiB
HTTP
### user profile minimum
|
|
GET {{base_url}}/api/userinfo
|
|
Accept: application/json
|
|
Authorization: Bearer {{$auth.token("oauth2_email")}}
|
|
|
|
### user profile full
|
|
GET {{base_url}}/api/userinfo
|
|
Accept: application/json
|
|
Authorization: Bearer {{$auth.token("oauth2_profile")}}
|
|
|
|
### user crm attributes
|
|
GET {{base_url}}/api/crm-attributes
|
|
Accept: application/json
|
|
Authorization: Bearer {{$auth.token("oauth2_profile")}}
|
|
|
|
### API last update at
|
|
GET {{base_url}}/api/last-update
|
|
Accept: application/json
|
|
Authorization: Bearer {{$auth.token("oauth2_api")}}
|
|
|
|
### API countries
|
|
GET {{base_url}}/api/countries
|
|
Accept: application/json
|
|
Authorization: Bearer {{$auth.token("oauth2_api")}}
|
|
|
|
### API hotels
|
|
GET {{base_url}}/api/hotels
|
|
Accept: application/json
|
|
Authorization: Bearer {{$auth.token("oauth2_api")}}
|
|
|
|
### API hotel
|
|
GET {{base_url}}/api/hotels/198924
|
|
Accept: application/json
|
|
Authorization: Bearer {{$auth.token("oauth2_api")}}
|
|
|
|
### API pickups
|
|
GET {{base_url}}/api/pickups
|
|
Accept: application/json
|
|
Authorization: Bearer {{$auth.token("oauth2_api")}}
|
|
|
|
### API pickup
|
|
GET {{base_url}}/api/pickups/1
|
|
Accept: application/json
|
|
Authorization: Bearer {{$auth.token("oauth2_api")}}
|
|
|
|
### API travels
|
|
GET {{base_url}}/api/travels
|
|
Accept: application/json
|
|
Authorization: Bearer {{$auth.token("oauth2_api")}}
|
|
|
|
### API travel
|
|
GET {{base_url}}/api/travels/DWWWE211125
|
|
Accept: application/json
|
|
Authorization: Bearer {{$auth.token("oauth2_api")}}
|
|
|
|
### API contact form
|
|
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"
|
|
}
|