Skip to content

Latest commit

 

History

History
153 lines (89 loc) · 16.7 KB

File metadata and controls

153 lines (89 loc) · 16.7 KB
description Manage programs, certificates, and enrollments with the Program API.

Program API

The Program API provides secure endpoints for creating, retrieving, updating, and managing programs, certificates, and enrollments within the Marketplace Platform.

With this API, you can also perform additional operations, including:

  • Publish and unpublish programs.
  • Update program settings.
  • Manage program groups and parameters.
  • Create and manage program documents, media, and terms & conditions.
  • Create and manage program templates.
  • Submit and retrieve enrollment requests.
  • Validate enrollments in the draft and querying states.
  • Manage attachments associated with enrollments.
  • Process or fail enrollment requests.
  • Retrieve an enrollment's template.

Before you start

Review the shared API docs before you work with program resources.

Core resources

The Program API is built around the following core resources:

  • Certificate – Issued to a client or partner as confirmation that they meet a specific program's requirements.
  • Enrollment – Process through which a client formally registers or signs up to participate in a vendor program.
  • Program – Represents a set of requirements (parameters) that vendors ask their clients to meet.

Browse collections

The API is organized into collections, each containing a set of operations. Access to these operations varies by role, depending on whether you are a client, vendor, or operations user.

Use the following links to jump to the collection you need:

Certificate

View Certificate operations
OperationMethodDescriptionAccess
Create certificatePOSTMigrates a certificate.ops
List certificatesGETReturns a list of all certificates.vendor, client, ops
Get certificate by idGETReturns a certificate with the given id.vendor, client, ops
Update certificatePUTUpdates an existing certificate.vendor, client, ops
Terminate certificatePOSTTerminates an active certificate.vendor
Expire certificatePOSTExpires an active certificate.vendor
Get certificate templateGETGets a template for a certificate.vendor, client, ops

Enrollment

View Enrollment operations
OperationMethodDescriptionAccess
Create enrollmentPOSTCreates a new enrollment and certificate.client
Validate draft enrollmentPOSTValidates draft enrollment data.client
Validate enrollmentPOSTValidates enrollment state.vendor, client
Process enrollmentPOSTChanges enrollment status to processing.vendor, client
Query enrollmentPOSTChanges enrollment status to querying.vendor
Complete enrollmentPOSTChanges enrollment status to complete.vendor
Fail enrollmentPOSTChanges enrollment status to failed.vendor
Assign enrollmentPOSTAssigns a user to an enrollment.vendor
List enrollmentsGETLists enrollments visible to the user.vendor, client, ops
Get enrollment by idGETGets an enrollment by id.vendor, client, ops
Update enrollmentPUTUpdates some properties of an enrollment.vendor, client, ops
Delete enrollmentDELETEDeletes an enrollment.client
Render enrollment templateGETRenders the template for the given enrollment id.vendor, client, ops
List enrollment attachmentsGETGets a list of enrollment attachments.ops, client
Get enrollment attachment by idGETGets an enrollment attachment by id.ops, client
Create enrollment attachmentPOSTCreates a new enrollment attachment.ops, client
Update enrollment attachmentPUTUpdates an existing enrollment attachment.ops, client
Delete enrollment attachmentDELETEDeletes an existing enrollment attachment.ops, client

Program

View Program operations
OperationMethodDescriptionAccess
Create programPOSTCreates a new program.vendor
List programsGETFetches a list of programs.vendor, client, ops
Get program by idGETGets a program by id.vendor, client, ops
Update programPUTUpdates some properties of a program.vendor
Delete programDELETEDeletes a program.vendor
Publish programPOSTPublishes a program.vendor
Unpublish programPOSTUnpublishes a program.vendor
Update program settingsPUTUpdates a program’s settings.vendor

Program Parameter

View Program Parameter operations
OperationMethodDescriptionAccess
Create parameterPOSTCreates a program parameter.vendor
List parametersGETGets a list of parameters for a program.vendor, client, ops
Get parameter by idGETGets a program parameter definition.vendor, client, ops
Update parameterPUTUpdates a program parameter definition.vendor
Delete parameterDELETEDeletes a program parameter definition.vendor

Program Parameter Group

View Program Parameter Group operations
OperationMethodDescriptionAccess
Create parameter groupPOSTCreates a new parameter group for a program.vendor
List parameter groupsGETLists all parameter groups for a program based on filter criteria.vendor, client, ops
Get parameter group by idGETGets a parameter group by id for a program.vendor, client, ops
Update parameter groupPUTUpdates a parameter group for a program.vendor
Delete parameter groupDELETEDeletes a parameter group from a program.vendor

Program Document

View Program Document operations
OperationMethodDescriptionAccess
Create documentPOSTCreates a new document.vendor
List documentsGETLists all documents based on filter criteria.vendor, client, ops
Get document by idGETGets a document by id.vendor, client, ops
Update documentPUTUpdates a document.vendor
Delete documentDELETERemoves a document.vendor
Publish documentPOSTPublishes a document.vendor
Unpublish documentPOSTUnpublishes a document.vendor

Program Media

View Program Media operations
OperationMethodDescriptionAccess
Create program mediaPOSTCreates new media for a program.vendor
List program mediaGETGets a list of media for a program.vendor, client, ops
Get program media by idGETGets an item of media for a program.vendor, client, ops
Update program mediaPUTUpdates an item of media for a program.vendor
Publish program mediaPOSTPublishes an item of media for a program.vendor
Unpublish program mediaPOSTUnpublishes an item of media for a program.vendor
Delete program mediaDELETEDeletes an item of media for a program.vendor

Program Terms

View Program Terms operations
OperationMethodDescriptionAccess
Create termsPOSTCreates terms for a program.vendor
List termsGETGets a list of all terms for a program.vendor, client, ops
Get terms by idGETGets terms for a program by id.vendor, client, ops
Update termsPUTUpdates terms for a program.vendor
Delete termsDELETEDeletes terms for a program.vendor
Publish termsPOSTPublishes terms for a program.vendor
Unpublish termsPOSTUnpublishes terms for a program.vendor

Program Terms Variant

View Program Terms Variant operations
OperationMethodDescriptionAccess
Create variantPOSTCreates a variant for terms.vendor
List variantsGETGets a list of all variants for terms.vendor, client, ops
Get variant by idGETGets a variant for terms by id.vendor, client, ops
Update variantPUTUpdates a variant for terms for a program.vendor
Delete variantDELETEDeletes a variant for terms.vendor
Publish variantPOSTPublishes a variant for terms.vendor
Unpublish variantPOSTUnpublishes a variant for terms.vendor

Program Template

View Program Template operations
OperationMethodDescriptionAccess
Create program templatePOSTCreates a template for a program.vendor
List program templatesGETGets a list of templates for a program.vendor, client, ops
Get program template by idGETGets a template for a program.vendor, client, ops
Update program templatePUTUpdates a template for a program.vendor
Delete program templateDELETEDeletes a template for a program.vendor