OPERA Cloud APIs by Module-Profiles (CRM)-Profile Preferences

Number of APIs: 7

  1. get Preference for Profile GET {{HostName}}/crm/v1/profiles/{{ProfileId}}/preferences?hotelId={{HotelId}}&id=LAKE

  2. get Available Preference LOV For Profile GET {{HostName}}/crm/v1/profileListOfValues/availablePreferences?hotelId={{HotelId}}&maxFetchSize=10&id=POOL

  3. Get Profile -> fetchInstructions = Preference GET {{HostName}}/crm/v1/profiles/{{ProfileId}}?fetchInstructions=Preference

  4. post Preference (v0) (1 preference) POST {{HostName}}/crm/v1/profiles/{{ProfileId}}/preferences

  5. distribute Preference PUT {{HostName}}/crm/v1/profiles/{{ProfileId}}/preferences

  6. delete Global Preference DELETE {{HostName}}/crm/v1/profiles/{{ProfileId}}/preferenceType/{{PreferenceType}}/preferences/{{PreferenceCode}}

  7. delete Preference DELETE {{HostName}}/crm/v1/profiles/{{ProfileId}}/hotels/{{HotelId}}/preferenceType/{{PreferenceType}}/preferences/{{PreferenceCode}}