getTarificationWithPartsWithHttpInfo method

Future<Response> getTarificationWithPartsWithHttpInfo(
  1. String type,
  2. String tarification,
  3. String version
)

Get a tarification

Get a tarification based on ID or (tarification,type,version) as query strings. (tarification,type,version) is unique.

Note: This method returns the HTTP Response.

Parameters:

  • String type (required): Tarification type

  • String tarification (required): Tarification tarification

  • String version (required): Tarification version

Implementation

Future<Response> getTarificationWithPartsWithHttpInfo(String type, String tarification, String version,) async {
  // ignore: prefer_const_declarations
  final path = r'/rest/v1/tarification/{type}/{tarification}/{version}'
      .replaceAll('{type}', type)
      .replaceAll('{tarification}', tarification)
      .replaceAll('{version}', version);

  // ignore: prefer_final_locals
  Object? postBody;

  final queryParams = <QueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

  const authNames = <String>[r'basicSchema'];
  const contentTypes = <String>[];


  return apiClient.invokeAPI(
    path,
    'GET',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
    authNames,
  );
}