Quantcast
Channel: Avid Community
Viewing all articles
Browse latest Browse all 30653

Setting and find JobURI for GetJobStatus (written in C#)

$
0
0

I'm having issues designating the specific Job URI I'm looking to check the status of.  When I make the new object, it only allow me to go to JobURIs, not the specific JobURI.  I'm wondering if I'm missing something.  I'm having a similar issue on the response as well.

//Call variables from InterplaySetup Class

                InterplaySetup transcodeInterplaySetup = new InterplaySetup();

 

 

                //credentials come from InterplaySetup Class

                //cts stands for "Check Transcode Status"; used for brevity

                JobsPortTypeClient ctsPort = new JobsPortTypeClient();

                UserCredentialsType ctsCreds = new UserCredentialsType();

                ctsCreds.Username = transcodeInterplaySetup.interplayUsername;

                ctsCreds.Password = transcodeInterplaySetup.interplayPassword;

 

                //Set job parameters

                //Job URI comes from Program class that was returned by Transcode class

 

Here's where I'm having the issue.

                GetJobStatusType ctsParam = new GetJobStatusType();

ctsParam.JobURIs ????

 

                //send request

                GetJobStatusRequest ctsRequest = new GetJobStatusRequest();

                ctsRequest.UserCredentials = ctsCreds;

                ctsRequest.GetJobStatus = ctsParam;

 

                //report response

                SubmitJobUsingParametersResponseType ctsResponse = new SubmitJobUsingParametersResponseType();

                Console.WriteLine(ctsResponse.JobURI);


Viewing all articles
Browse latest Browse all 30653

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>