/// <summary> /// Being a new asynchronous ListBulkJobsAdminRequest /// </summary> /// <param name="requestData"></param> /// <returns></returns> public async Task <ListBulkJobsAdminResponse> ListBulkJobsAdminRequestAsync(ListBulkJobsAdminRequest requestData) { var res = await Requestor.PostStringAsync(Urls.ListBulkJobsAdminRequest, JsonHelper.SerializeData(requestData)); return(JsonConvert.DeserializeObject <ListBulkJobsAdminResponse>(res.ResponseJson)); }
/// <summary> /// Begin a new ListBulkJobsAdminRequest /// </summary> /// <param name="requestData"></param> /// <returns></returns> public ListBulkJobsAdminResponse ListBulkJobsAdminRequest(ListBulkJobsAdminRequest requestData) { return(JsonConvert.DeserializeObject <ListBulkJobsAdminResponse>(Requestor.PostString(Urls.BatchAdminRequest, JsonHelper.SerializeData(requestData)).ResponseJson)); }