skillsOrgsSkillsThresholdsCreateWithHttpInfo method
Future<Response>
skillsOrgsSkillsThresholdsCreateWithHttpInfo(
- String org,
- SkillThreshold skillThreshold
Performs an HTTP 'POST /api/skills/orgs/{org}/skills/thresholds/' operation and returns the Response.
Parameters:
-
String org (required):
-
SkillThreshold skillThreshold (required):
Implementation
Future<Response> skillsOrgsSkillsThresholdsCreateWithHttpInfo(String org, SkillThreshold skillThreshold,) async {
// ignore: prefer_const_declarations
final path = r'/api/skills/orgs/{org}/skills/thresholds/'
.replaceAll('{org}', org);
// ignore: prefer_final_locals
Object? postBody = skillThreshold;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}