AdministrationClientSelectProgram Method |
Select the Program details from the submitted Program RSN.
The Program RSN can be fetched from the Web Service Method: SelectProgramList
public ResultOfProgram SelectProgram( ManagementGroupRequestOfguid request )
using (var svc = new AdministrationService.AdministrationClient()) { var request = new AdministrationService.ManagementGroupRequestOfguid(); request.Token = "Token";//Required - Token returned from AccountService.ManagementGroupLogin request.ManagementGroup = "Management group";//Required - ManagementGroup supplied when calling AccountService.ManagementGroupLogin request.Value = new Guid("5351691f-cc5c-468f-9404-392a1b2170fe");; //Required - RSN of program AdministrationService.ResultOfProgram result = svc.SelectProgram(request); if (result.FaultCode == 0) { //Request succeeded } else { //Request failed throw new Exception(result.FaultDescription); } }