Skip to content

Create Review entity.

POST/api/reviews/
  • reservationnumberrequired
  • tokenstringrequired
  • organizationnumberrequired

    Organization ID

Required
No
Content type
  • application/json
  • scorenumberoptional
  • publicbooleanoptional
  • datestringoptional
  • titlestringoptional
  • namestringoptional
  • bodystringoptional
  • travelledAsstringoptional
    Allowed values: couple, family, friends, single, other
  • dateFromstringoptional
  • dateTostringoptional
  • localestringoptional
  • countrystringoptional
  • aspectScoresobject[]optional
    Show array — 2 properties
    • scorenumberoptional
    • aspectobjectoptional
      Show 1 property
      • idnumberoptional

Schema shown for 200 · application/json

  • idnumber
  • datestring
  • titlestringoptional
  • namestringoptional
  • bodystringoptional
  • feedbackstringoptional
  • scorestring
  • travelledAsstringoptional
    Allowed values: couple, family, friends, single, other
  • dateFromstringoptional
  • dateTostringoptional
  • localestring
  • countrystringoptional
  • publicbooleanoptional
    Default: true
  • createdstring
  • modifiedstringoptional
  • aspectScoresReviewAspectScore[]
    Show array — 4 properties
    • idnumber
    • scorestring
    • aspectone of 1 variantsoptional
      Show 1 variant
      • ReviewAspect
        Show 3 properties
        • idnumber
        • activeboolean
        • aspectSpecificationone of 1 variantsoptional
          Show 1 variant
          • ReviewAspectSpecification
    • aspectSpecificationone of 1 variantsoptional
      Show 1 variant
      • ReviewAspectSpecification
        Show 4 properties
        • idnumber
        • typestringoptional
          Allowed values: beach, child-friendly, hygiene, location, pool, value-for-money, sanitary, service, surroundings, restaurant, facilities, recommendation, accommodation, recreation-team, playground, terrain-maintenance, cleaning
        • namestringoptional
        • localestring
  • commentsReviewComment[]
    Show array — 7 properties
    • idnumber
    • bodystringoptional
    • sentstringoptional
    • publicbooleanoptional
      Default: true
    • createdstring
    • modifiedstringoptional
    • reviewobject
      Show 1 property
      • idnumberoptional
  • reservationobjectoptional
    Show 1 property
    • idnumberoptional
  • guestobjectoptional
    Show 1 property
    • idnumberoptional
  • accommodationAccommodation
    Show 35 properties
    • idnumber
    • titlestring
    • referencestringoptional
    • slugstring
    • addressstringoptional
    • postalCodestringoptional
    • localitystringoptional
    • municipalitynumberoptional
    • regionstringoptional
    • countrystringoptional
    • latitudestringoptional
    • longitudestringoptional
    • numOfBedroomsnumberoptional
    • numOfBedsnumberoptional
    • numOfBathroomsnumberoptional
    • minNumOfPersonsnumberoptional
    • maxNumOfPersonsnumberoptional
    • maxNumOfPetsnumberoptional
    • minNumOfDaysnumberoptional
    • maxNumOfDaysnumberoptional
    • areastringoptional
    • positionnumber
    • governmentRegistrationNumberstringoptional
    • regionalRegistrationNumberstringoptional
    • localestring
    • activebooleanoptional
    • publicbooleanoptional
    • featuredbooleanoptional
      Default: false
    • createdstringoptional
    • modifiedstringoptional
    • houseCodestringoptional
    • petsAllowedbooleanoptional
    • localityCategoryone of 1 variantsoptional
      Show 1 variant
      • LocalityCategory
        Show 18 properties
        • idnumber
        • namestring
        • excerptstringoptional
        • disclaimerstringoptional
        • descriptionstringoptional
        • addressstringoptional
        • postalCodestringoptional
        • localitystringoptional
        • municipalitynumberoptional
        • regionstringoptional
        • countrystringoptional
        • latitudestringoptional
        • longitudestringoptional
        • localestring
        • publicbooleanoptional
          Default: true
        • rootobjectoptional
          Show 1 property
          • idnumberoptional
        • parentobjectoptional
          Show 1 property
          • idnumberoptional
        • displayNamestring
    • categoryone of 1 variantsoptional
      Show 1 variant
      • AccommodationCategory
        Show 7 properties
        • idnumber
        • namestring
        • descriptionstringoptional
        • localestring
        • rootobjectoptional
          Show 1 property
          • idnumberoptional
        • parentobjectoptional
          Show 1 property
          • idnumberoptional
        • displayNamestring
    • contentAccommodationContent
      Show 11 properties
      • idnumber
      • titlestring

        Title shown to user

      • metaTitlestring

        Title used in the <meta> tag

      • subtitlestringoptional
      • excerptstringoptional
      • descriptionstringoptional
      • iframeUrlstringoptional
      • energyLabelEnabledbooleanoptional
      • energyLabelstringoptional
        Allowed values: A++++, A+++, A++, A+, A, B, C, D, E, F, G, N/A
      • customFacilitiesstring[]optional
      • localestring