public Response PostAdvert([System.Xml.Serialization.XmlElementAttribute("PostAdvert", Namespace = "http://jobg8.com/messages")] PostAdvertRequest PostAdvert1) { object[] results = this.Invoke("PostAdvert", new object[] { PostAdvert1 }); return((Response)(results[0])); }
/// <remarks/> public void PostAdvertAsync(PostAdvertRequest PostAdvert1, object userState) { if ((this.PostAdvertOperationCompleted == null)) { this.PostAdvertOperationCompleted = new System.Threading.SendOrPostCallback(this.OnPostAdvertOperationCompleted); } this.InvokeAsync("PostAdvert", new object[] { PostAdvert1 }, this.PostAdvertOperationCompleted, userState); }
protected static void AssertJobAds(PostAdvertRequest request, IList <JobAd> jobAds) { Assert.AreEqual(request.Adverts.PostAdvert.Length, jobAds.Count); foreach (var advert in request.Adverts.PostAdvert) { var jobReference = advert.JobReference; var jobAd = (from j in jobAds where j.Integration.IntegratorReferenceId == jobReference select j).Single(); Assert.AreEqual(advert.ClientReference, jobAd.Integration.ExternalReferenceId); Assert.AreEqual(advert.Position, jobAd.Title); Assert.AreEqual(advert.RedirectionUrl, jobAd.Integration.ExternalApplyUrl); } }
/// <remarks/> public void PostAdvertAsync(PostAdvertRequest PostAdvert1) { this.PostAdvertAsync(PostAdvert1, null); }