rawGetServicesLinkedToWithHttpInfo method
Future<Response>
rawGetServicesLinkedToWithHttpInfo(
- ListOfIdsDto listOfIdsDto, {
- String? linkType,
List services linked to provided ids
Returns a list of services
Note: This method returns the HTTP Response
.
Parameters:
-
ListOfIdsDto listOfIdsDto (required):
-
String linkType: The type of the link
Implementation
Future<Response> rawGetServicesLinkedToWithHttpInfo(ListOfIdsDto listOfIdsDto, { String? linkType, }) async {
// ignore: prefer_const_declarations
final path = r'/rest/v1/contact/service/linkedTo';
// ignore: prefer_final_locals
Object? postBody = listOfIdsDto;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
if (linkType != null) {
queryParams.addAll(_queryParams('', 'linkType', linkType));
}
const authNames = <String>[r'basicSchema'];
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
authNames,
);
}