getRecruitmentThreadSummaries static method

Future<CEListOfForumRecruitmentDetailResponse> getRecruitmentThreadSummaries(
  1. HttpClient client,
  2. List<String> body
)

Allows the caller to get a list of to 25 recruitment thread summary information objects.

Implementation

static Future<CEListOfForumRecruitmentDetailResponse> getRecruitmentThreadSummaries (
    HttpClient client,
    List<String> body
) async {
    final Map<String, dynamic> params = Map<String, dynamic>();
    final HttpClientConfig config = HttpClientConfig('POST', '/Forum/Recruit/Summaries/', params);
    config.body = body;
    config.bodyContentType = 'application/json';
    final HttpResponse response = await client.request(config);
    if(response.statusCode == 200) {
        return CEListOfForumRecruitmentDetailResponse.asyncFromJson(response.mappedBody);
    }
    throw Exception(response.mappedBody);
}