Method: AppEnrollmentsClient#create_app_enrollments

Defined in:
lib/lockstep_sdk/clients/app_enrollments_client.rb

#create_app_enrollments(start_sync:, body:) ⇒ Object

Creates one or more App Enrollments within this account and returns the records as created.

An App Enrollment represents an app that has been enrolled to the current account. When you sign up for an app using the Lockstep Platform, you obtain an enrollment record for that app. Example types of apps include connectors and feature enhancement apps. The App Enrollment object contains information about this app, its configuration, and settings.

See [Applications and Enrollments](developer.lockstep.io/docs/applications-and-enrollments) for more information.

Parameters:

  • start_sync (boolean)

    Option to start sync immediately after creation of app enrollments (default false)

  • body (AppEnrollmentModel)

    The App Enrollments to create



80
81
82
83
84
# File 'lib/lockstep_sdk/clients/app_enrollments_client.rb', line 80

def create_app_enrollments(start_sync:, body:)
    path = "/api/v1/AppEnrollments"
    params = {:startSync => start_sync}
    @connection.request(:post, path, body, params)
end