Skip to content

Latest commit

 

History

History
59 lines (50 loc) · 1.78 KB

bulk-retrieve-team-member-booking-profiles-response.md

File metadata and controls

59 lines (50 loc) · 1.78 KB

Bulk Retrieve Team Member Booking Profiles Response

Response payload for the BulkRetrieveTeamMemberBookingProfiles endpoint.

Structure

Bulk Retrieve Team Member Booking Profiles Response

Fields

Name Type Tags Description
team_member_booking_profiles Hash String Retrieve Team Member Booking Profile Response Hash Optional The returned team members' booking profiles, as a map with team_member_id as the key and TeamMemberBookingProfile the value.
errors Array<Error Hash> Optional Errors that occurred during the request.

Example (as JSON)

{
  "errors": [],
  "team_member_booking_profiles": {
    "TMXUrsBWWcHTt79t": {
      "errors": [
        {
          "category": "INVALID_REQUEST_ERROR",
          "code": "NOT_FOUND",
          "detail": "Resource not found.",
          "field": "field4"
        }
      ],
      "team_member_booking_profile": {
        "team_member_id": "team_member_id2",
        "description": "description2",
        "display_name": "display_name2",
        "is_bookable": false,
        "profile_image_url": "profile_image_url8"
      }
    },
    "TMaJcbiRqPIGZuS9": {
      "errors": [],
      "team_member_booking_profile": {
        "display_name": "Sandbox Staff 1",
        "is_bookable": true,
        "team_member_id": "TMaJcbiRqPIGZuS9"
      }
    },
    "TMtdegug1fqni3wh": {
      "errors": [],
      "team_member_booking_profile": {
        "display_name": "Sandbox Staff 2",
        "is_bookable": true,
        "team_member_id": "TMtdegug1fqni3wh"
      }
    }
  }
}