setmore_client 1.0.0

SDKdartflutter
Platformandroidioswindowslinuxmacosweb

Setmore OpenAPI client

setmore_client (EXPERIMENTAL)

This is a simple API

This Dart package is automatically generated by the OpenAPI Generator project:

  • API version: 1.0.0
  • Generator version: 7.14.0
  • Build package: org.openapitools.codegen.languages.DartDioClientCodegen

Requirements

Installation & Usage

pub.dev

To use the package from pub.dev, please include the following in pubspec.yaml

dependencies:
  setmore_client: 3.0.0

Github

If this Dart package is published to Github, please include the following in pubspec.yaml

dependencies:
  setmore_client:
    git:
      url: https://github.com/GIT_USER_ID/GIT_REPO_ID.git
      #ref: main

Local development

To use the package from your local drive, please include the following in pubspec.yaml

dependencies:
  setmore_client:
    path: /path/to/setmore_client

Getting Started

Please follow the installation procedure and then run the following:

import 'package:setmore_client/setmore_client.dart';


final api = SetmoreClient().getAppointmentsApi();
final CreateAppointmentRequestDto createAppointmentRequestDto = ; // CreateAppointmentRequestDto | 

try {
    final response = await api.bookingapiAppointmentCreatePost(createAppointmentRequestDto);
    print(response);
} catch on DioException (e) {
    print("Exception when calling AppointmentsApi->bookingapiAppointmentCreatePost: $e\n");
}

Documentation for API Endpoints

All URIs are relative to https://virtserver.swaggerhub.com/AHALMEHULGITHUB/Setmore/1.0.0

ClassMethodHTTP requestDescription
AppointmentsApibookingapiAppointmentCreatePostPOST /bookingapi/appointment/createCreate an appointment
AppointmentsApibookingapiAppointmentsAppointmentKeyLabelPutPUT /bookingapi/appointments/{appointmentKey}/labelUpdate an appointment label
AppointmentsApibookingapiAppointmentsGetGET /bookingapi/appointmentsFetch appointments by date range
AppointmentsApibookingapiUntestedAttributesForFetchingAppointmentsGetGET /bookingapi/untested-attributes-for-fetching-appointmentsFetch appointments by date range
AuthApioOauth2TokenGetGET /o/oauth2/tokenSwap refresh token for access token
CustomersApibookingapiCustomerCreatePostPOST /bookingapi/customer/createCreate a customer
CustomersApibookingapiCustomerGetGET /bookingapi/customerGet customer details
SevicesApibookingapiServicesCategoriesCategoryKeyGetGET /bookingapi/services/categories/{categoryKey}Fetch Service by Category Key
SevicesApibookingapiServicesCategoriesGetGET /bookingapi/services/categoriesFetch Service Categories
SevicesApibookingapiServicesGetGET /bookingapi/servicesFetch all services
StaffApibookingapiStaffsGetGET /bookingapi/staffsFetch all staff
TimeSlotsApibookingapiSlotsPostPOST /bookingapi/slotsGet all available time slots

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

BearerAuth

  • Type: HTTP Bearer Token authentication (JWT)

Author

you@your-company.com