GetProgramById

Gets a program by id

This method retrieves a program by its ID.

SOAP action: http://apiconnector.com/v2/ApiService/GetProgramById

📘

Input and output parameters

The input and output parameters for this method are:

Input parameters

  • Program ID - required; integer

Output parameters

  • GetProgramByIdResult
    • Program
    • Id - integer
    • Name - string
    • Status - string ('Draft', 'Deactivated', 'Active', 'ReadOnly')
    • DataCreated - dateTime

Example

using (var client = new ApiServiceClient())
{
	client.ClientCredentials.UserName.UserName = "username";
	client.ClientCredentials.UserName.Password = "password";

	var programId = 1;
	var program = client.GetProgramById(programId);
}