Do you have c# sample how to get JobListRequest by jobid, all I could find is by date, I neded to retrive JobList by jobid.
You would use the JobIdFilter. In that you can specify the MRN and XDN.
I know this but I need a sample to see how it is done.
When I try:
JobList_Filter[0] = new JobListRequestJobIdFilter(); JobIdType _JobIdType = new JobIdType(); _JobIdType.MRN = "1234"; _JobIdType.XDN = "sxsi";
JobList_Filter[0].JobId=_JobIdType;
I am getting error
What is the error?
System.Web.Services.Protocols.SoapException = {"Error in parsing"}
This is why i ask for sample!
And the request is like this:
<?xml version="1.0" ?> - <JobListRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <SubmitId xmlns="http://ws.easylink.com/JobList/2011/01">GBP7LG269N123/3/2016 8:50:02 AM</SubmitId> <JobListOptions xmlns="http://ws.easylink.com/JobList/2011/01" /> </JobListRequest>
This is what it should look like.
<ns1:JobListRequest><ns1:JobId><ns1:XDN>test2</ns1:XDN><ns1:MRN>1234567890</ns1:MRN></ns1:JobId> </ns1:JobListRequest>
I do not understand why you are using JobList. That is usually used to get a list of the XDN/MRN.