Get the G.O list

  • Product information
  • GO
  • 1 route
How do I retrieve the G.O list of a resort?

This scenario explains how to retrieve the G.O list of a Club Med village from its identifier.

The response can feed a local directory, an operations tool, or a contextual display in resort interfaces.

Overview

Use this scenario to retrieve the list of G.O.s attached to a Club Med resort from its identifier. The response can feed a local directory, an operations tool, or a contextual display in resort interfaces.

Prerequisites

  • Have a resort identifier that is valid for the route.
  • Send x-api-key and, when relevant in your context, accept-language.
1

Retrieve information about the G.O.s of a village

Mandatory

This route returns the list of G.O. members associated with a resort together with their main information.

Prerequisites

Use the product identifier that matches the resort. Use the right locale if you want localized labels.

Calling CURL

curl -X GET \
  -H "x-api-key: $API_KEY" \
  -H "accept-language: en-US" \
  "https://api.clubmed.com/v0/products/{product_id}/go_staff"

Example answer

[
  {
    "id": "go-1",
    "label": "Chef de village",
    "description": "Responsable du resort",
    "picture": "https://example.com/go.jpg",
    "first_name": "Camille",
    "job": "Chef de village",
    "categories": [
      "management"
    ]
  }
]

info: The payload can be used to enrich a resort page with highlighted staff profiles.


Response codes

  • 200 OK: the G.O. list is returned.
  • 400 Bad Request: invalid parameters.
  • 404 Not Found: unknown product.
GET/v0/products/{product_id}/go_staff
See more