IProgramsService.Programs

Collection of functions to interact with the Programs API endpoint.

All URI’s are relative to the VTN URL configured.

Method
HTTP request
Description

POST /programs

Create a program

DELETE /programs/{programID}

Delete a program

GET /programs

Searches all programs

GET /programs/{programID}

Searches programs by program ID

PUT /programs/{programID}

Update a program

CreateProgramAsync

Task<Program> CreateProgramAsync(
    Program program,
    RequestOptions? options = default,
    CancellationToken cancellationToken = default)

Create a new program in the server.

DeleteProgramAsync

Task<Program> DeleteProgramAsync(
    string programId,
    RequestOptions? options = default,
    CancellationToken cancellationToken = default)

Delete an existing program with the program ID.

SearchProgramsAsync

Searches all programs known to the server. Use skip and pagination query params to limit response size.

FindProgramByIdAsync

Find program associated by the program ID.

UpdateProgramAsync

Update an existing program with specified program ID.

Last updated

Was this helpful?