getAssetPriceHistoryByIdAssetsPricesWithHttpInfo method
Get single price history record by ID
Note: This method returns the HTTP Response.
Parameters:
Implementation
Future<Response> getAssetPriceHistoryByIdAssetsPricesWithHttpInfo(String companyId, String assetId, String aphId,) async {
// ignore: prefer_const_declarations
final path = r'/companies/{company_id}/assets/{asset_id}/prices/{aph_id}'
.replaceAll('{company_id}', companyId)
.replaceAll('{asset_id}', assetId)
.replaceAll('{aph_id}', aphId);
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}