transferS7ConfigWithHttpInfo method
Transfers S7 configuration
Transfers an S7 configuration to the iot device
Note: This method returns the HTTP Response.
Parameters:
Implementation
Future<Response> transferS7ConfigWithHttpInfo(
String token,
S7Config s7Config,
) async {
// ignore: prefer_const_declarations
final path = r'/iots/{token}/transferS7Config'.replaceAll('{token}', token);
// ignore: prefer_final_locals
Object? postBody = s7Config;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}