{"swagger":"2.0","info":{"version":"v1","title":"NexPort Web API","description":"The NexPort Open Web API allows NexPort Campus Organizations to integrate, programatically, with remote systems. This is achieved by exposing most of the administrative features of Nexport through a JSON based, RPC style Web API.","contact":{"url":"https://www.nexportsolutions.com/contact.html","email":"support@nexportcampus.com"}},"host":"www.nexportcampus.com","schemes":["https"],"paths":{"/api/v1/AdminApi/Authenticate":{"post":{"tags":["AdminApi"],"summary":"Used to retrieve an authentication token for NexPort API Requests.","description":"Used to retrieve an authentication token for NexPort API Requests.\r\nWill not work for system operators or users with the customer service role.\r\nThe client makes a request to the token endpoint by adding the\r\nfollowing parameters using the \"application/x-www-form-urlencoded\"\r\nformat per Appendix B with a character encoding of UTF-8 in the HTTP\r\nrequest entity-body.","operationId":"AdminApi_Authenticate","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"request","in":"body","description":"Contains user's NexPort login credentials","required":true,"schema":{"$ref":"#/definitions/AuthenticationTokenRequest"}}],"responses":{"200":{"description":"Authentication Token Information","schema":{"$ref":"#/definitions/AuthenticationTokenResponse"}},"403":{"description":"Unable to authenticate","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/AdminApi/ValidateAccessToken":{"get":{"tags":["AdminApi"],"summary":"Used to determine whether an access token is valid or not. Returns either the expiration date or\r\na message describing why the token is invalid. If there is no expiration on the token, then\r\nit will just return the generic api_error_entity with the no error error code.","operationId":"AdminApi_ValidateAccessToken","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"access_token","in":"query","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"Validation results","schema":{"$ref":"#/definitions/ValidateAccessTokenResponse"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/AdminApi/CreateUser":{"post":{"tags":["AdminApi"],"summary":"Creates a user with the information specified by request. Requires the Create Users permission\r\nin the specified owner org or any ancestors.","operationId":"AdminApi_CreateUser","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"request","in":"body","description":"This holds all the user information (name, email, etc.) for the new user","required":true,"schema":{"$ref":"#/definitions/CreateUserRequest"}},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Id of created user","schema":{"$ref":"#/definitions/CreateUserResponse"}},"403":{"description":"Not authorized to create a user","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found or duplicate login","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/AdminApi/GetUser":{"get":{"tags":["AdminApi"],"summary":"Gets a user based on login string OR user id. Requires the View Users permission in either the user's\r\nowner org, its ancestors, or any of the user's subscription organizations, or their ancestors.","operationId":"AdminApi_GetUser","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"login","in":"query","description":"Login of the user to get","required":false,"type":"string"},{"name":"user_id","in":"query","required":false,"type":"string","format":"uuid"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"User information","schema":{"$ref":"#/definitions/GetUserResponse"}},"403":{"description":"Not authorized to view users","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/AdminApi/AuthenticateUser":{"get":{"tags":["AdminApi"],"summary":"Validates a user's login/password combination and returns a user response. The calling account must have the view users permision in the user's owner org or one of their subscription orgs.","operationId":"AdminApi_AuthenticateUser","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"login","in":"query","description":"User's nexport username","required":true,"type":"string"},{"name":"password","in":"query","description":"User's password","required":true,"type":"string"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"User information","schema":{"$ref":"#/definitions/GetUserResponse"}},"403":{"description":"Not authorized to view users","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/AdminApi/GetUsers":{"get":{"tags":["AdminApi"],"summary":"Returns all the users with at least a partial match to the search term as part of their login,\r\nfirst name, last name, or email. Sorted by last name, first name, then login, in alphabetical order.\r\nThis will only search in organizations in which the method caller has the appropriate permissions.\r\nRequires the View Users permission.","operationId":"AdminApi_GetUsers","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"search_term","in":"query","required":false,"type":"string"},{"name":"page","in":"query","description":"Which page of results to start on","required":false,"type":"integer","format":"int32"},{"name":"per_page","in":"query","required":false,"type":"integer","format":"int32"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"List of users","schema":{"type":"array","items":{"$ref":"#/definitions/GetUserResponse"}}},"403":{"description":"Not authorized to view users","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/AdminApi/GetUserContactInformation":{"get":{"tags":["AdminApi"],"summary":"Get contact information for a user based on their user id or their login. Throws a ValidationException\r\nif both user_id and login fields are present.\r\nRequires the View User Profiles permission in either the user's owner org, its ancestors, or any of the\r\nuser's subscription organizations, or their ancestors.","operationId":"AdminApi_GetUserContactInformation","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"user_id","in":"query","required":false,"type":"string","format":"uuid"},{"name":"login","in":"query","description":"Login of the user to get the contact information for","required":false,"type":"string"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Address and contact information","schema":{"$ref":"#/definitions/UserContactInfoResponse"}},"403":{"description":"Not authorized to view user contact information","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/AdminApi/CreateGroup":{"post":{"tags":["AdminApi"],"summary":"Creates a group under the given parent group or organization. Requires the AddGroup permission\r\nin the specified parent or one of it's ancestors.","operationId":"AdminApi_CreateGroup","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"request","in":"body","description":"Contains the new group information (Group name, short name, billing, description, and the parent group/org ID)","required":true,"schema":{"$ref":"#/definitions/CreateGroupRequest"}},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Id of created group","schema":{"$ref":"#/definitions/CreateGroupResponse"}},"403":{"description":"Not authorized to create a group in the given parent","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found or duplicate login","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/AdminApi/CreateMembership":{"post":{"tags":["AdminApi"],"summary":"Creates memberships in each of the given groups. This call is atomic. If one membership creation fails then they will all fail. Requires the AddMembership permission\r\nin the specified group or one of it's ancestors.","operationId":"AdminApi_CreateMembership","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"request","in":"body","description":"Contains the user ID and the list of group IDs that will be used to give that particular user the membership in","required":true,"schema":{"$ref":"#/definitions/CreateMembershipRequest"}},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Memberships were successfully created","schema":{"$ref":"#/definitions/CreateMembershipResponse"}},"403":{"description":"Not authorized to add memberships to the given group","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found or duplicate login","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/AdminApi/RemoveMembership":{"post":{"tags":["AdminApi"],"summary":"Remove memberships in each of the given groups. This call is atomic. If one membership removal fails then they will all fail.","description":"Requires either a user Id and the list of group Ids OR the list of membership Ids.\r\n\r\n###Permission requirements\r\nRequires the RemoveMemberships permission in the specified group or one of it's ancestors.","operationId":"AdminApi_RemoveMembership","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"request","in":"body","description":"Contains the user Id and the list of group Ids that will be used to remove the memberships for the user","required":true,"schema":{"$ref":"#/definitions/RemoveMembershipRequest"}},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Memberships were successfully removed","schema":{"$ref":"#/definitions/RemoveMembershipResponse"}},"403":{"description":"Not authorized to remove memberships from the given group","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found or duplicate login","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/AdminApi/EditUser":{"post":{"tags":["AdminApi"],"summary":"Edits user information","description":"Edits user information (including contact information) based on given input. Use either user_id OR login\r\nto specify the user to edit. If a field is not passed in, the value will remain unchanged.\r\n###Permission requirements\r\n\r\nFor editing your own profile:\r\n- Editing contact information requires the Edit User Profile permission.\r\n\r\nFor editing another profile:\r\n- Requires the View User Profiles permission.\r\n- Editing basic information (primary email, prefix title, nickname) requires the Edit User Profile permission.\r\n- Editing name (first, middle, last) requires the Edit User Profile permission AND the target user's owner organization must have Allow Admin User Edit set to true.\r\n- Editing contact information requires the Edit User Profile permission.","operationId":"AdminApi_EditUser","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"request","in":"body","description":"Contains fields to specify the user to edit as well as the fields that are being edited","required":true,"schema":{"$ref":"#/definitions/EditUserRequest"}},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Edited user information","schema":{"$ref":"#/definitions/EditUserResponse"}},"403":{"description":"Not authorized to view/edit users","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/AdminApi/CreateSubscription":{"post":{"tags":["AdminApi"],"summary":"Creates a subscription with the information specified by request. Requires the Add Subscriptions permission.","operationId":"AdminApi_CreateSubscription","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"request","in":"body","description":"This holds all the subscription information (userid, orgid, etc.) for the new subscription","required":true,"schema":{"$ref":"#/definitions/CreateSubscriptionRequest"}},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Id of created subscription","schema":{"$ref":"#/definitions/CreateSubscriptionResponse"}},"403":{"description":"Not authorized to create a subscription","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found or duplicate subscription","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/AdminApi/GetSubscription":{"get":{"tags":["AdminApi"],"summary":"Gets subscription information for the user in the organization.","description":"Gets subscription information for the user in the organization.\r\nValid parameter combinations are:\r\n- user_id and org_short_name\r\n- user_id and org_id\r\n- subscription_id\r\n\r\n###Permissions\r\nRequires the View User Subscriptions permission in the subscription organization or an ancestor.","operationId":"AdminApi_GetSubscription","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"user_id","in":"query","required":false,"type":"string","format":"uuid"},{"name":"org_short_name","in":"query","required":false,"type":"string"},{"name":"org_id","in":"query","required":false,"type":"string","format":"uuid"},{"name":"subscription_id","in":"query","required":false,"type":"string","format":"uuid"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Subscription information","schema":{"$ref":"#/definitions/SubscriptionResponse"}},"403":{"description":"Not authorized to view subscriptions","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/AdminApi/GetSubscriptions":{"get":{"tags":["AdminApi"],"summary":"Get subscription information for a user or an organization.","description":"Use either user_id OR login OR org_id.\r\nIf searching by user, results will be ordered by the subscription UtcExpirationDate from earliest to latest.\r\nIf searching by org, results will be ordered by the subscription user last name then first name in alphabetical order.\r\nRequires the View User Subscriptions permission in the target user's organization if viewing\r\nuser subscriptions and the Add, Remove, or Update Subscriptions permission in the given organization\r\nif viewing organization subscriptions.","operationId":"AdminApi_GetSubscriptions","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"user_id","in":"query","required":false,"type":"string","format":"uuid"},{"name":"login","in":"query","description":"Login of the user to get subscriptions for","required":false,"type":"string"},{"name":"org_id","in":"query","required":false,"type":"string","format":"uuid"},{"name":"page","in":"query","description":"Which page of results to start on","required":false,"type":"integer","format":"int32"},{"name":"per_page","in":"query","required":false,"type":"integer","format":"int32"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"List of subscriptions","schema":{"type":"array","items":{"$ref":"#/definitions/SubscriptionResponse"}}},"403":{"description":"Not authorized to view subscriptions","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception","schema":{"$ref":"#/definitions/ApiResponseBase"}}},"deprecated":true}},"/api/v1/AdminApi/SearchSubscriptions":{"post":{"tags":["AdminApi"],"summary":"Search subscription information for a user or an organization.","description":"At least one user id OR one org id must be specified.\r\n\r\nResults will be ordered by the subscription Creation Date from earliest to latest.\r\n###Permissions\r\nRequires the View User Subscriptions permission in the target user's organization if viewing\r\nuser subscriptions and the Add, Remove, or Update Subscriptions permission in the given organization\r\nif viewing organization subscriptions.","operationId":"AdminApi_SearchSubscriptions","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"subscriptionSearchRequest","in":"body","description":"Filter for subscriptions","required":true,"schema":{"$ref":"#/definitions/SubscriptionSearchFilter"}},{"name":"page","in":"query","description":"The request page of results","required":false,"type":"integer","format":"int32"},{"name":"per_page","in":"query","description":"Number of results to return on each page","required":false,"type":"integer","format":"int32"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Subscription search results successfully returned","schema":{"$ref":"#/definitions/SubscriptionSearchResponse"}},"403":{"description":"Not authorized to view subscriptions","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/AdminApi/DisableSubscription":{"post":{"tags":["AdminApi"],"summary":"Enables or disables a subscription. Requires the Update Subscriptions permission in the subscription\r\norganization or an ancestor.","operationId":"AdminApi_DisableSubscription","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"request","in":"body","description":"Contains subscription id and enable/disable flag","required":true,"schema":{"$ref":"#/definitions/DisableSubscriptionRequest"}},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Whether the subscription is disabled after the method call","schema":{"$ref":"#/definitions/DisableSubscriptionResponse"}},"403":{"description":"Not authorized to update subscriptions","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/AdminApi/SetSubscriptionStatus":{"post":{"tags":["AdminApi"],"summary":"Sets the Subscription Status on the Subscription.","description":"Sets the subscription status for the supplied subscriber. Subscription status name is case sensitive and must be a pre existing status. This action will not create a status that does not exist.\r\nYou can send an empty string for the subscription status if you want to set it back to the default subscription status.\r\n###Permissions Requirements\r\nRequires the Update Subscriptions permission in the specified org or an ancestor.","operationId":"AdminApi_SetSubscriptionStatus","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"request","in":"body","description":"Contains subscription id and subscription status name","required":true,"schema":{"$ref":"#/definitions/SetSubscriptionStatusRequest"}},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Subscription Id, Current Subscription Status, Previous Subscription Status, and the date the new Subscription Status was set","schema":{"$ref":"#/definitions/SetSubscriptionStatusResponse"}},"403":{"description":"Not authorized to update subscriptions","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Subscription or Subscription Status not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/AdminApi/GetCustomProfileFields":{"get":{"tags":["AdminApi"],"summary":"Gets all the custom profile fields available to an organization, or a field matching an id in a given org.","description":"Will throw a CustomFieldNotFound exception if no custom profile field exists with the given field id.","operationId":"AdminApi_GetCustomProfileFields","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"org_id","in":"query","required":true,"type":"string","format":"uuid"},{"name":"field_id","in":"query","required":false,"type":"string","format":"uuid"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"List of custom profile fields","schema":{"type":"array","items":{"$ref":"#/definitions/GetCustomProfileFieldsResponse"}}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/AdminApi/GetCustomProfileFieldValues":{"get":{"tags":["AdminApi"],"summary":"Gets the custom profile field values based on the given criteria, with DateTime fields being in UTC.","description":"Valid argument combinations are:\r\nsubscriber_id;\r\nuser_id and org_id;\r\nsubscriber_id and key;\r\nuser_id, org_id, and key.\r\nRequires the View User Profiles permission for the subscription organization or an ancestor.","operationId":"AdminApi_GetCustomProfileFieldValues","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"subscriber_id","in":"query","required":false,"type":"string","format":"uuid"},{"name":"user_id","in":"query","required":false,"type":"string","format":"uuid"},{"name":"org_id","in":"query","required":false,"type":"string","format":"uuid"},{"name":"key","in":"query","description":"Key of the custom profile field to get the value for","required":false,"type":"string"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"List of custom profile field values","schema":{"type":"array","items":{"$ref":"#/definitions/GetCustomProfileFieldValuesResponse"}}},"403":{"description":"Not authorized to view user profiles","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/AdminApi/SetCustomProfileFieldValues":{"post":{"tags":["AdminApi"],"summary":"Sets the custom profile field values for a subscription based on\r\nthe subscriber id and key/value pairs in the request.","description":"All fields that can be set will be set and any fields that are not found will be ignored. Warnings will be added to the {Nexport.WebApi.Model.v1.ApiErrorEntity}\r\nproperty's warnings collection and the ItemNotFound error code set.\r\n###Permissions\r\nThis method requires the Edit User Profile permission in the subscription organization or an ancestor.","operationId":"AdminApi_SetCustomProfileFieldValues","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"request","in":"body","description":"Contains subscriber id and dictionary of key/value pairs","required":true,"schema":{"$ref":"#/definitions/SetCustomProfileFieldValuesRequest"}},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Error information","schema":{"$ref":"#/definitions/SetCustomProfileFieldValuesResponse"}},"403":{"description":"Not authorized to edit profiles","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/AdminApi/SearchDirectory":{"get":{"tags":["AdminApi"],"summary":"Returns a list of organizations and groups that matches the search term with their name or short name. Each item in the list will contain\r\nthe id of the organization/group, name, short name and the type.\r\nResults are in alphabetical order by name followed by the short name.","operationId":"AdminApi_SearchDirectory","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"search_operator","in":"query","description":"0 = Disjunction, 1 = Conjunction","required":true,"type":"integer","format":"int32","enum":[0,1]},{"name":"base_org_id","in":"query","required":true,"type":"string","format":"uuid"},{"name":"name","in":"query","description":"The organization/group name","required":false,"type":"string"},{"name":"short_name","in":"query","required":false,"type":"string"},{"name":"page","in":"query","description":"Which page of results to start on","required":false,"type":"integer","format":"int32"},{"name":"per_page","in":"query","required":false,"type":"integer","format":"int32"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"List of organizations and groups","schema":{"type":"array","items":{"$ref":"#/definitions/DirectoryResponseItem"}}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/AdminApi/GetOrganizations":{"get":{"tags":["AdminApi"],"summary":"Returns a list of sub organizations (as well as the parent organization)\r\ncorresponding to the given id or short name. Each item in the list will contain\r\nthe org id, org name, and org short name.\r\nResults are in alphabetical order by org name.","operationId":"AdminApi_GetOrganizations","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"org_id","in":"query","required":false,"type":"string","format":"uuid"},{"name":"org_short_name","in":"query","required":false,"type":"string"},{"name":"page","in":"query","description":"Which page of results to start on","required":false,"type":"integer","format":"int32"},{"name":"per_page","in":"query","required":false,"type":"integer","format":"int32"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"List of organizations","schema":{"type":"array","items":{"$ref":"#/definitions/OrganizationResponseItem"}}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/AdminApi/HasGroupPermission":{"post":{"tags":["AdminApi"],"summary":"Checks if the given user has permission on a group.","operationId":"AdminApi_HasGroupPermission","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"request","in":"body","description":"The Request model","required":true,"schema":{"$ref":"#/definitions/HasGroupPermissionRequest"}},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Is Permitted","schema":{"$ref":"#/definitions/HasGroupPermissionResponse"}},"403":{"description":"Not authorized to view groups","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/AdminApi/SearchGroupsForPermission":{"post":{"tags":["AdminApi"],"summary":"Searches for groups on which the given user has permission.","operationId":"AdminApi_SearchGroupsForPermission","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"request","in":"body","required":true,"schema":{"$ref":"#/definitions/SearchGroupsForPermissionRequest"}},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"List of organizations and groups","schema":{"$ref":"#/definitions/SearchGroupsForPermissionResponse"}},"403":{"description":"Not authorized to search for groups","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/AssessmentApi/GetTestAttempts":{"get":{"tags":["AssessmentApi"],"summary":"Gets a list of test attempts for the given section enrollment and assignment.\r\nResults are ordered by attempt index from highest (most recent attempt) to lowest (least recent attempt).\r\nRequires at least one of the following:\r\nUser has View Section Enrollments permission in enrollment organization or an ancestor\r\nOR\r\nUser has Update Section Enrollments permission in enrollment organization or an ancestor\r\nOR\r\nUser is an instructor for the section that the assignment is in.","operationId":"AssessmentApi_GetTestAttempts","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"enrollment_id","in":"query","required":true,"type":"string","format":"uuid"},{"name":"assignment_id","in":"query","required":true,"type":"string","format":"uuid"},{"name":"page","in":"query","description":"Which page of results to start on","required":false,"type":"integer","format":"int32"},{"name":"per_page","in":"query","required":false,"type":"integer","format":"int32"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"List of test attempts","schema":{"type":"array","items":{"$ref":"#/definitions/TestAttemptResponseItem"}}},"403":{"description":"Not authorized to view test attempts","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/AssessmentApi/GetTestSurveyResults":{"get":{"tags":["AssessmentApi"],"summary":"Gets a list of student responses for a test or survey assignment. To get results for a test attempt,\r\nuse test_attempt_id. For a survey, use assignment_status_id OR assignment_id+enrollment_id.\r\nResults are arranged by answer display order.\r\nRequires the View Users and View Section Enrollments permission in the enrollment org or an ancestor.","operationId":"AssessmentApi_GetTestSurveyResults","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"test_attempt_id","in":"query","required":false,"type":"string","format":"uuid"},{"name":"assignment_status_id","in":"query","required":false,"type":"string","format":"uuid"},{"name":"assignment_id","in":"query","required":false,"type":"string","format":"uuid"},{"name":"enrollment_id","in":"query","required":false,"type":"string","format":"uuid"},{"name":"page","in":"query","description":"Which page of results to start on","required":false,"type":"integer","format":"int32"},{"name":"per_page","in":"query","required":false,"type":"integer","format":"int32"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"List of student responses","schema":{"$ref":"#/definitions/TestSurveyResultsResponse"}},"403":{"description":"Not authorized to view student responses","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/AssessmentApi/GetQuestion":{"get":{"tags":["AssessmentApi"],"summary":"Gets the text for a test question, as well as the type of question that it is.\r\nRequires the View Users and View Section Enrollments permissions in the org or ancestor in which\r\nthe question bank containing the question exists, or, if enrollment_id is passed in,\r\nit requires the aforementioned permissions in the enrollment organization.\r\nThe question must exist in a question bank that a test in the enrollment section utilizes.","operationId":"AssessmentApi_GetQuestion","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"question_id","in":"query","required":true,"type":"string","format":"uuid"},{"name":"enrollment_id","in":"query","required":false,"type":"string","format":"uuid"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Question text and type","schema":{"$ref":"#/definitions/QuestionResponse"}},"403":{"description":"Not authorized to view test/survey questions","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/AssessmentApi/GetQuestionOption":{"get":{"tags":["AssessmentApi"],"summary":"Get text for a particular test or survey question option, as well as whether it is correct or not.\r\nRequires the View Users and View Section Enrollments permissions in the org or ancestor in which\r\nthe question bank containing the question and option exists, or, if enrollment_id is passed in,\r\nit requires the aforementioned permissions in the enrollment organization.\r\nThe question option must exist in a question bank that a test in the enrollment section utilizes.","operationId":"AssessmentApi_GetQuestionOption","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"question_option_id","in":"query","required":true,"type":"string","format":"uuid"},{"name":"enrollment_id","in":"query","required":false,"type":"string","format":"uuid"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Question option text and if it is correct","schema":{"$ref":"#/definitions/QuestionOptionResponse"}},"403":{"description":"Not authorized to view question options","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/AssessmentApi/GetQuestionIds":{"get":{"tags":["AssessmentApi"],"summary":"Get ids for all test questions tied to a given test or survey assignment.\r\nRequires the View Users and View Section Enrollments permissions in the organization (or ancestor)\r\nthat the assignment exists in.","operationId":"AssessmentApi_GetQuestionIds","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"assignment_id","in":"query","required":true,"type":"string","format":"uuid"},{"name":"page","in":"query","description":"Which page of results to start on","required":false,"type":"integer","format":"int32"},{"name":"per_page","in":"query","required":false,"type":"integer","format":"int32"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"List of question ids","schema":{"$ref":"#/definitions/QuestionIdsResponse"}},"403":{"description":"Not authorized to view question ids","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/AssessmentApi/GetStudentResponses":{"get":{"tags":["AssessmentApi"],"summary":"Get question text and all responses for that question, as well as the date that the answer was created\r\n(which is based off the test attempt start date for that question or the assignment status creation date if\r\nthe test attempt start date is null for whatever reason).\r\nResults are ordered by answer creation date.\r\nRequires the View Users and View Section Enrollments permissions in the organization (or ancestor) that the\r\nquestion bank containing the question exists in.","operationId":"AssessmentApi_GetStudentResponses","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"question_id","in":"query","required":true,"type":"string","format":"uuid"},{"name":"utc_start_date","in":"query","required":false,"type":"string","format":"date-time"},{"name":"utc_finish_date","in":"query","required":false,"type":"string","format":"date-time"},{"name":"page","in":"query","description":"Which page of results to start on","required":false,"type":"integer","format":"int32"},{"name":"per_page","in":"query","required":false,"type":"integer","format":"int32"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Question text and list of student responses","schema":{"$ref":"#/definitions/StudentResponses"}},"403":{"description":"Not authorized to view student responses","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/LearningApi/SearchEnrollments":{"post":{"tags":["LearningApi"],"summary":"Search for enrollments by filtering on specific properties","description":"At least one user id or org id is required. The two can be mixed. In addition to userid and orgid search results can be filtered by\r\nother fields including the date enrolled and date completed. Please look at the model spec for the filter.\r\n\r\nResults will be ordered by the enrollment date ({Nexport.WebApi.Model.v1.ApiEnrollmentItem.EnrollmentDate} from earliest to latest.\r\n###Permissions\r\nRequires the View Section Enrollments and View Training Plan Enrollments Permission in the target user's owner organization or\r\nin the organization the enrollment belongs to. If a list of organizations is specified in the filter then you must have these permissions in all\r\nof the specified organizations.","operationId":"LearningApi_SearchEnrollments","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"filter","in":"body","description":"Filter for subscriptions","required":true,"schema":{"$ref":"#/definitions/EnrollmentSearchFilter"}},{"name":"page","in":"query","description":"The request page of results","required":false,"type":"integer","format":"int32"},{"name":"paer_page","in":"query","description":"(OBSOLETE) Left here for backwards compatibility please use the per_page parameter","required":false,"type":"integer","format":"int32"},{"name":"per_page","in":"query","description":"Number of results to return on each page. If less than 1 or null the value will be reset to 30. If greater than 1000 then the the value will be reset to 1000","required":false,"type":"integer","format":"int32"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Enrollment search results successfully returned","schema":{"$ref":"#/definitions/EnrollmentSearchResponse"}},"403":{"description":"Not authorized to view subscriptions","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/LearningApi/GetSectionEnrollments":{"get":{"tags":["LearningApi"],"summary":"Returns a list of section enrollments based on the supplied search criteria.","description":"Returns a list of section enrollments based on the supplied search criteria.\r\nMust supply method with at least one of:  \r\n\r\n- subscriber_id\r\n- syllabus_id\r\n- enrollment_id \r\n- syllabus_unique_name\r\n\r\nIf *syllabus_id* or *enrollment_id* is supplied, then *org_id* must also be supplied.\r\nResults are ordered by enrollment date from most recent to least recent.\r\n###Permissions Requirements\r\nRequires the View Section Enrollments permission in the specified org or an ancestor, or\r\nthe specified subscription org or an ancestor, or the enrollment subscription org or an ancestor.","operationId":"LearningApi_GetSectionEnrollments","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"org_id","in":"query","description":"Id of the organization to check permissions in for syllabus options","required":false,"type":"string","format":"uuid"},{"name":"subscriber_id","in":"query","description":"Id of the subscription that the section enrollments belong to","required":false,"type":"string","format":"uuid"},{"name":"user_id","in":"query","description":"If provided then subscriber ID must not be sent","required":false,"type":"string","format":"uuid"},{"name":"syllabus_id","in":"query","description":"Id of a syllabus that belongs to the enrollments","required":false,"type":"string","format":"uuid"},{"name":"enrollment_id","in":"query","description":"Id of a particular section enrollment","required":false,"type":"string","format":"uuid"},{"name":"syllabus_unique_name","in":"query","description":"Unique name of a syllabus that belongs to the enrollment","required":false,"type":"string"},{"name":"page","in":"query","description":"Which page of results to start on","required":false,"type":"integer","format":"int32"},{"name":"per_page","in":"query","description":"How many results to show per page","required":false,"type":"integer","format":"int32"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"List of section enrollments","schema":{"type":"array","items":{"$ref":"#/definitions/SectionEnrollmentsResponse"}}},"403":{"description":"Not authorized to view section enrollments","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"If a required field is missing OR both userid AND subscriberid are provided","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/LearningApi/GetTrainingPlanEnrollments":{"get":{"tags":["LearningApi"],"summary":"Returns a list of training plan enrollments","description":"Returns a list of training plan enrollments based on the supplied search criteria.\r\nMust supply method with at least one of:\r\n- subscriber_id\r\n- user_id\r\n- syllabus_id\r\n- enrollment_id\r\n- syllabus_unique_name\r\nIf syllabus_id or enrollment_id is supplied, then org_id must also be supplied.\r\nResults are ordered by enrollment date from most recent to least recent.\r\nRequires the View Training Plan Enrollments permission in the specified org or an ancestor, or\r\nthe specified subscription org or an ancestor, or the enrollment subscription org or an ancestor.\r\n###Permissions Requirements\r\nRequires the View Training Plan Enrollments permission in the specified org or an ancestor, or\r\nthe specified subscription org or an ancestor, or the enrollment subscription org or an ancestor.","operationId":"LearningApi_GetTrainingPlanEnrollments","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"org_id","in":"query","description":"Id of the organization to check permissions in for syllabus options","required":false,"type":"string","format":"uuid"},{"name":"subscriber_id","in":"query","description":"Id of the subscription that the training plan enrollments belong to","required":false,"type":"string","format":"uuid"},{"name":"user_id","in":"query","required":false,"type":"string","format":"uuid"},{"name":"syllabus_id","in":"query","description":"Id of a syllabus that belongs to the enrollments","required":false,"type":"string","format":"uuid"},{"name":"enrollment_id","in":"query","description":"Id of a particular training plan enrollment","required":false,"type":"string","format":"uuid"},{"name":"syllabus_unique_name","in":"query","description":"Unique name of a syllabus that belongs to the enrollment","required":false,"type":"string"},{"name":"page","in":"query","description":"Which page of results to start on","required":false,"type":"integer","format":"int32"},{"name":"per_page","in":"query","description":"How many results to show per page","required":false,"type":"integer","format":"int32"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"List of training plan enrollments","schema":{"type":"array","items":{"$ref":"#/definitions/TrainingPlanEnrollmentsResponse"}}},"403":{"description":"Not authorized to view training plan enrollments","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/LearningApi/GetCustomEnrollmentFields":{"get":{"tags":["LearningApi"],"summary":"Gets all the custom enrollment fields available to an organization, or a field matching an id\r\nin a given org. Will throw a CustomFieldNotFound exception if no custom profile field exists\r\nwith the given field id.","operationId":"LearningApi_GetCustomEnrollmentFields","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"org_id","in":"query","description":"Id of the organization to get the custom enrollment fields for","required":true,"type":"string","format":"uuid"},{"name":"field_id","in":"query","description":"Optional field id to filter by","required":false,"type":"string","format":"uuid"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"List of custom enrollment fields","schema":{"type":"array","items":{"$ref":"#/definitions/GetCustomEnrollmentFieldsResponse"}}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/LearningApi/GetDefaultCustomEnrollmentFieldSetting":{"get":{"tags":["LearningApi"],"summary":"Gets the default custom enrollment field","description":"Gets the default custom enrollment field setting for the given organization and field, and optionally\r\nfilters by syllabus. Will throw a CustomFieldNotFound exception if no custom profile field exists\r\nwith the given field id. Returns null if no default setting is found.","operationId":"LearningApi_GetDefaultCustomEnrollmentFieldSetting","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"org_id","in":"query","description":"Id of an organization that the field is in","required":true,"type":"string","format":"uuid"},{"name":"field_id","in":"query","description":"Id of the custom enrollment field","required":true,"type":"string","format":"uuid"},{"name":"syllabus_id","in":"query","description":"Optional id of the syllabus to get the default field setting for","required":false,"type":"string","format":"uuid"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Custom enrollment field and default setting","schema":{"$ref":"#/definitions/GetDefaultCustomEnrollmentFieldSettingResponse"}},"409":{"description":"Profile Field was not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/LearningApi/GetCustomEnrollmentFieldValues":{"get":{"tags":["LearningApi"],"summary":"Gets all custom enrollment field values based on the given criteria","description":"Gets all custom enrollment field values based on the given criteria, with DateTime fields being in UTC.\r\nValid argument combinations are:  \r\n- enrollment_id\r\n- subscriber_id and syllabus_id\r\n- enrollment_id and key\r\n- subscriber_id, syllabus_id, and key.\r\n###Permissions Requirements\r\nRequires the View Section Enrollments permission in the enrollment organization.","operationId":"LearningApi_GetCustomEnrollmentFieldValues","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"enrollment_id","in":"query","description":"Id of the enrollment to get the custom enrollment field values for","required":false,"type":"string","format":"uuid"},{"name":"subscriber_id","in":"query","description":"Id of the subscription to get the custom enrollment field values for","required":false,"type":"string","format":"uuid"},{"name":"syllabus_id","in":"query","description":"Id of the section or training plan to get the custom enrollment field values for","required":false,"type":"string","format":"uuid"},{"name":"key","in":"query","description":"Key of the custom enrollment field to get the value for","required":false,"type":"string"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"List of custom enrollment field values","schema":{"type":"array","items":{"$ref":"#/definitions/GetCustomEnrollmentFieldValuesResponse"}}},"403":{"description":"Not authorized to view section enrollments","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/LearningApi/SetCustomEnrollmentFieldValues":{"post":{"tags":["LearningApi"],"summary":"Sets the custom enrollment field values for a subscription","description":"Sets the custom enrollment field values for a subscription based on\r\nthe enrollment id and key/value pairs in the request.\r\n###Permissions\r\nRequires the Update Section Enrollments permission in the enrollment subscription organization.","operationId":"LearningApi_SetCustomEnrollmentFieldValues","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"request","in":"body","description":"Contains enrollment id and dictionary of key/value pairs","required":true,"schema":{"$ref":"#/definitions/SetCustomEnrollmentFieldValuesRequest"}},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Information about whether an error occurred (in the case of a nonexistent field being passed in, not an exception)","schema":{"$ref":"#/definitions/SetCustomEnrollmentFieldValuesResponse"}},"403":{"description":"Not authorized to update section enrollments","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/LearningApi/DropEnrollment":{"get":{"tags":["LearningApi"],"summary":"Drop an enrollment.","description":"Allows a user to drop an enrollment. Will create a drop record on the user's transcript.\r\nRequires either the Drop Section Enrollments or Drop Training Plan Enrollments permission in the\r\nenrollment organization or an ancestor.","operationId":"LearningApi_DropEnrollment","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"enrollment_id","in":"query","description":"Id of the enrollment to drop","required":true,"type":"string","format":"uuid"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Enrollment id and whether the enrollment has been dropped","schema":{"$ref":"#/definitions/DropDeleteEnrollmentResponse"}},"403":{"description":"Not authorized to drop enrollments, or enrollment does not allow drops","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/LearningApi/DeleteEnrollment":{"get":{"tags":["LearningApi"],"summary":"Allows a user to delete an enrollment.","description":"Deleted Enrollments Will no longer be visible on the user's transcript, but will create\r\na deleted record visible to admins.\r\n###Permissions\r\nRequires either the Delete Section Enrollments or Drop Training Plan Enrollments permission in the\r\nenrollment organization or an ancestor.\r\nCustomer service can delete section enrollments and system operators can delete training plan enrollments.","operationId":"LearningApi_DeleteEnrollment","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"enrollment_id","in":"query","description":"Id of the enrollment to delete","required":true,"type":"string","format":"uuid"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Enrollment id and whether it has been deleted","schema":{"$ref":"#/definitions/DropDeleteEnrollmentResponse"}},"403":{"description":"Not authorized to delete enrollments","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/LearningApi/CreateEnrollment":{"post":{"tags":["LearningApi"],"summary":"Creates a enrollment with the information specified by request.","description":"Creates a enrollment with the information specified by request. \r\n###Permissions\r\nRequires the Update Section Enrollments or Update Training Plan Enrollments permission\r\nbased on the specified syllabus in the specified org or any ancestors. Also requires the Add Subscriptions and Add Memberships permissions if there\r\nis no pre-existing subscription or memberships. A membership is required in the syllabus organization or in an organization to which the catalog is shared.","operationId":"LearningApi_CreateEnrollment","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"request","in":"body","description":"This holds all the enrollment information (userid, syllabusid, etc.) for the new enrollment","required":true,"schema":{"$ref":"#/definitions/CreateEnrollmentRequest"}},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Id of created enrollment","schema":{"$ref":"#/definitions/CreateEnrollmentResponse"}},"403":{"description":"Not authorized to create an enrollment","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found or duplicate enrollment","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/LearningApi/GetAssignmentStatuses":{"get":{"tags":["LearningApi"],"summary":"Gets assignment statuses for a section enrollment.","description":"Use either enrollment_id OR both subscription_id and section_id.\r\nCan optionally filter by a specific assignment.\r\n\r\nResults are ordered by assignment status creation date from most recent to least recent.\r\n###Permissions\r\nRequires the View Enrollments permission in the enrollment/subscription org or an ancestor.","operationId":"LearningApi_GetAssignmentStatuses","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"enrollment_id","in":"query","description":"Section enrollment to get statuses for","required":false,"type":"string","format":"uuid"},{"name":"subscription_id","in":"query","description":"Id of the subscription for a section enrollment","required":false,"type":"string","format":"uuid"},{"name":"section_id","in":"query","description":"Id of the section for a section enrollment","required":false,"type":"string","format":"uuid"},{"name":"assignment_id","in":"query","description":"Optional assignment to filter by","required":false,"type":"string","format":"uuid"},{"name":"page","in":"query","description":"Which page of results to start on","required":false,"type":"integer","format":"int32"},{"name":"per_page","in":"query","description":"How many results to show per page","required":false,"type":"integer","format":"int32"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"List of assignment statuses","schema":{"type":"array","items":{"$ref":"#/definitions/AssignmentStatusResponseItem"}}},"403":{"description":"Not authorized to view section enrollments","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/LearningApi/GetCertificateUrl":{"get":{"tags":["LearningApi"],"summary":"Gets the url for a completed certificate for a given enrollment.","description":"Gets the url for a completed certificate for a given enrollment. If the enrollment has been deleted,\r\nit will attempt to get the certificate based on the transcript record for that enrollment.","operationId":"LearningApi_GetCertificateUrl","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"enrollment_id","in":"query","description":"Id of the enrollment","required":true,"type":"string","format":"uuid"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Url of completed certificate file","schema":{"$ref":"#/definitions/CertificateUrlResponse"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/LearningApi/GetSection":{"get":{"tags":["LearningApi"],"summary":"Gets relevant section information for a given syllabus.","description":"Either a productid or a syllabus ID must be given but not both.","operationId":"LearningApi_GetSection","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"syllabus_id","in":"query","description":"Id of the syllabus","required":false,"type":"string","format":"uuid"},{"name":"product_id","in":"query","description":"The Product ID from a catalog","required":false,"type":"string","format":"uuid"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Section information","schema":{"$ref":"#/definitions/SectionResponse"}},"409":{"description":"Section or Product ID is not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/LearningApi/GetSections":{"post":{"tags":["LearningApi"],"summary":"Gets a list of sections.","description":"Gets a list of sections that matches the list of section IDs provided.\r\n\r\nThe number of returned sections may not match the number requested. If the list contains duplicates only one entry will be returned.","operationId":"LearningApi_GetSections","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"request","in":"body","required":true,"schema":{"$ref":"#/definitions/GetSectionsRequest"}},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"List of Sections","schema":{"$ref":"#/definitions/GetSectionsResponse"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"List of IDs is empty\nList contains null oe empty value\nThe list contains more than 1000 entries\nOne or more Sections could not be found.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/LearningApi/GetSectionDescription":{"get":{"tags":["LearningApi"],"summary":"Returns the description for a given section","operationId":"LearningApi_GetSectionDescription","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"section_id","in":"query","description":"Id of the section","required":true,"type":"string","format":"uuid"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Section description","schema":{"$ref":"#/definitions/GetDescriptionResponse"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/LearningApi/GetSectionObjectives":{"get":{"tags":["LearningApi"],"summary":"Returns the objectives for a given section","operationId":"LearningApi_GetSectionObjectives","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"section_id","in":"query","description":"Id of the section","required":true,"type":"string","format":"uuid"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Section objectives","schema":{"$ref":"#/definitions/GetObjectivesResponse"}},"409":{"description":"Section not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/LearningApi/GetStudentSessions":{"post":{"tags":["LearningApi"],"summary":"Student sessions in assignments","description":"Returns the student sessions in section assignments.\r\n\r\nAn Assignment Session accounts for the time a student spends in an assignment.\r\nIf a student is in an assignment and is inactive for more than 10 minutes then a new session will be recording on their next activity.\r\n\r\n###Permissions\r\nThe API user must have the \"Can View Enrollments\" permission on the given org.","operationId":"LearningApi_GetStudentSessions","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"request","in":"body","required":true,"schema":{"$ref":"#/definitions/GetStudentSessionsRequest"}},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Successfully returned the requested sessions","schema":{"$ref":"#/definitions/AssignmentSessionsResponse"}},"409":{"description":"The user or organization were not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/LearningApi/GetTrainingPlan":{"get":{"tags":["LearningApi"],"summary":"Gets relevant training plan information for a given training plan id.","operationId":"LearningApi_GetTrainingPlan","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"training_plan_id","in":"query","description":"Id of the training plan","required":false,"type":"string","format":"uuid"},{"name":"product_id","in":"query","description":"A product id from any catalog this training plan is in","required":false,"type":"string","format":"uuid"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Training plan information","schema":{"$ref":"#/definitions/TrainingPlanResponse"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/LearningApi/GetTrainingPlanDescription":{"get":{"tags":["LearningApi"],"summary":"Returns the description for a given training plan","operationId":"LearningApi_GetTrainingPlanDescription","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"training_plan_id","in":"query","required":true,"type":"string","format":"uuid"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Training plan description","schema":{"$ref":"#/definitions/GetDescriptionResponse"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/LearningApi/GetAssignments":{"get":{"tags":["LearningApi"],"summary":"Gets a list of assignments for the corresponding section.\r\nAssignments are sorted first by display order from lowest to highest,\r\nthen by the date they were added from most least recent to most recent.","operationId":"LearningApi_GetAssignments","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"section_id","in":"query","required":true,"type":"string","format":"uuid"},{"name":"page","in":"query","description":"Which page of results to start on","required":false,"type":"integer","format":"int32"},{"name":"per_page","in":"query","required":false,"type":"integer","format":"int32"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"List of assignments","schema":{"type":"array","items":{"$ref":"#/definitions/AssignmentResponse"}}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/LearningApi/GetAssignment":{"get":{"tags":["LearningApi"],"summary":"Gets the details of an assignment based on its Id","operationId":"LearningApi_GetAssignment","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"assignment_id","in":"query","required":true,"type":"string","format":"uuid"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Assignment information","schema":{"$ref":"#/definitions/AssignmentResponse"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/LearningApi/GetAssignmentInstructions":{"get":{"tags":["LearningApi"],"summary":"Returns instructions for a given assignment.\r\nThe text for the instructions will be the raw VTL template.","operationId":"LearningApi_GetAssignmentInstructions","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"assignment_id","in":"query","required":true,"type":"string","format":"uuid"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Assignment instructions","schema":{"$ref":"#/definitions/GetAssignmentInstructionsResponse"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/LearningApi/GetOrganizations":{"get":{"tags":["LearningApi"],"summary":"OBSOLETE\r\nUse AdminApi/GetOrganizations instead\r\nReturns a list of sub organizations (as well as the parent organization)\r\ncorresponding to the given id or short name. Each item in the list will contain\r\nthe org id, org name, and org short name.\r\nResults are in alphabetical order by org name.","operationId":"LearningApi_GetOrganizations","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"org_id","in":"query","required":false,"type":"string","format":"uuid"},{"name":"org_short_name","in":"query","required":false,"type":"string"},{"name":"page","in":"query","description":"Which page of results to start on","required":false,"type":"integer","format":"int32"},{"name":"per_page","in":"query","required":false,"type":"integer","format":"int32"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"List of organizations","schema":{"type":"array","items":{"$ref":"#/definitions/OrganizationResponseItem"}}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception","schema":{"$ref":"#/definitions/ApiResponseBase"}}},"deprecated":true}},"/api/v1/LearningApi/GetCatalogs":{"post":{"tags":["LearningApi"],"summary":"Returns information about catalogs matching the specified search criteria.\r\nResults are ordered alphabetically by catalog name.","operationId":"LearningApi_GetCatalogs","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"request","in":"body","description":"Search criteria","required":true,"schema":{"$ref":"#/definitions/CatalogRequest"}},{"name":"page","in":"query","description":"Which page of results to start on","required":false,"type":"integer","format":"int32"},{"name":"per_page","in":"query","required":false,"type":"integer","format":"int32"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Response containing list of catalogs","schema":{"$ref":"#/definitions/CatalogResponse"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/LearningApi/GetCatalog":{"get":{"tags":["LearningApi"],"summary":"Returns details for the given catalog","operationId":"LearningApi_GetCatalog","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"catalog_id","in":"query","required":true,"type":"string","format":"uuid"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Catalog information","schema":{"$ref":"#/definitions/CatalogResponseItem"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/LearningApi/GetCatalogDescription":{"get":{"tags":["LearningApi"],"summary":"Returns the description for a given catalog","operationId":"LearningApi_GetCatalogDescription","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"catalog_id","in":"query","required":true,"type":"string","format":"uuid"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Description of the catalog","schema":{"$ref":"#/definitions/GetDescriptionResponse"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/LearningApi/GetCatalogCreditHours":{"get":{"tags":["LearningApi"],"summary":"Returns the credit hours for a given catalog","operationId":"LearningApi_GetCatalogCreditHours","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"catalog_id","in":"query","required":true,"type":"string","format":"uuid"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Credit hours of the catalog","schema":{"$ref":"#/definitions/GetCatalogCreditHoursResponse"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/LearningApi/GetCategories":{"get":{"tags":["LearningApi"],"summary":"Returns a list of categories for a given catalog.\r\nResults are ordered by the category creation date from most recent to least recent.","operationId":"LearningApi_GetCategories","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"catalog_id","in":"query","required":true,"type":"string","format":"uuid"},{"name":"page","in":"query","description":"Which page of results to start on","required":false,"type":"integer","format":"int32"},{"name":"per_page","in":"query","required":false,"type":"integer","format":"int32"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"List of categories","schema":{"type":"array","items":{"$ref":"#/definitions/CategoryResponseItem"}}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/LearningApi/GetCatalogSyllabi":{"get":{"tags":["LearningApi"],"summary":"Gets a list of syllabus ids, names, and types for syllabi that belong to the catalog.\r\nResults are ordered alphabetically by syllabus title.","operationId":"LearningApi_GetCatalogSyllabi","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"catalog_id","in":"query","required":true,"type":"string","format":"uuid"},{"name":"page","in":"query","description":"Which page of results to start on","required":false,"type":"integer","format":"int32"},{"name":"per_page","in":"query","required":false,"type":"integer","format":"int32"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"List of syllabi","schema":{"type":"array","items":{"$ref":"#/definitions/GetSyllabiResponseItem"}}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/LearningApi/GetCategorySyllabi":{"get":{"tags":["LearningApi"],"summary":"Gets syllabi in a category","description":"Gets a list of syllabus ids, names, and types for syllabi that belong to the given category.\r\nResults are ordered alphabetically by syllabus title.","operationId":"LearningApi_GetCategorySyllabi","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"category_id","in":"query","required":true,"type":"string","format":"uuid"},{"name":"page","in":"query","description":"Which page of results to start on","required":false,"type":"integer","format":"int32"},{"name":"per_page","in":"query","required":false,"type":"integer","format":"int32"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"List of syllabi","schema":{"type":"array","items":{"$ref":"#/definitions/GetSyllabiResponseItem"}}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/LearningApi/GetTestAttempts":{"get":{"tags":["LearningApi"],"summary":"OBSOLETE\r\nUse AssessmentApi/GetTestAttempts instead\r\nGets a list of test attempts for the given section enrollment and assignment.\r\nResults are ordered by attempt index from highest (most recent attempt) to lowest (least recent attempt).\r\nRequires at least one of the following:\r\nUser has View Section Enrollments permission in enrollment organization or an ancestor\r\nOR\r\nUser has Update Section Enrollments permission in enrollment organization or an ancestor\r\nOR\r\nUser is an instructor for the section that the assignment is in.","operationId":"LearningApi_GetTestAttempts","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"enrollment_id","in":"query","required":true,"type":"string","format":"uuid"},{"name":"assignment_id","in":"query","required":true,"type":"string","format":"uuid"},{"name":"page","in":"query","description":"Which page of results to start on","required":false,"type":"integer","format":"int32"},{"name":"per_page","in":"query","required":false,"type":"integer","format":"int32"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"List of test attempts","schema":{"type":"array","items":{"$ref":"#/definitions/TestAttemptResponseItem"}}},"403":{"description":"Not authorized to view test attempts","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}},"deprecated":true}},"/api/v1/LearningApi/GetCmiData":{"post":{"tags":["LearningApi"],"summary":"OBSOLETE\r\nUse ScormApi/GetCmiData instead\r\nGets data for the specified SCORM CMI fields based on the element names.\r\nResults are ordered alphabetically by SCO ID.\r\nRequires the View Section Enrollments permission in the enrollment organization or an ancestor.","operationId":"LearningApi_GetCmiData","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"request","in":"body","description":"Contains list of CMI element names","required":true,"schema":{"$ref":"#/definitions/GetCmiDataRequest"}},{"name":"page","in":"query","description":"Which page of results to start on","required":false,"type":"integer","format":"int32"},{"name":"per_page","in":"query","required":false,"type":"integer","format":"int32"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"List of SCOs and corresponding CMI data","schema":{"type":"array","items":{"$ref":"#/definitions/GetCmiDataResponseItem"}}},"403":{"description":"Not authorized to view section enrollments","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}},"deprecated":true}},"/api/v1/PointOfSaleApi/BeginInvoiceTransaction":{"post":{"tags":["PointOfSaleApi"],"summary":"Begins a new invoice.","description":"Use the invoice id returned to start adding invoice items with the {M:NexportVirtualCampus.WebApi.v1.PointOfSaleApiController.AddInvoiceItem(Nexport.WebApi.Model.v1.CreateInvoiceItemRequest)} method.\r\nOnce all items and payments are recorded use the {M:NexportVirtualCampus.WebApi.v1.PointOfSaleApiController.CommitInvoiceTransaction(Nexport.WebApi.Model.v1.CommitInvoiceRequest)} method to complete this invoice.\r\n###Permissions\r\nRequires the Manage Invoices permission in the\r\ngiven organization or an ancestor.\r\nIf a purchasing group is specified, the purchasing agent must have the Group Purchasing Agent permission in the given group or an ancestor.","operationId":"PointOfSaleApi_BeginInvoiceTransaction","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"request","in":"body","description":"Contains purchasing user id, organization short name, and note","required":true,"schema":{"$ref":"#/definitions/CreateInvoiceMessageRequest"}},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Id of the created invoice","schema":{"$ref":"#/definitions/BeginInvoiceTransactionResponse"}},"403":{"description":"Not authorized to manage invoices","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/PointOfSaleApi/GetInvoice":{"post":{"tags":["PointOfSaleApi"],"summary":"Gets an invoice and it's list of invoice items'.","operationId":"PointOfSaleApi_GetInvoice","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"invoice_id","in":"query","description":"","required":true,"type":"string","format":"uuid"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Id of the created invoice","schema":{"$ref":"#/definitions/GetInvoiceResponse"}},"403":{"description":"Not authorized to manage invoices","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiNotFoundResponse"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/PointOfSaleApi/GetInvoiceItem":{"post":{"tags":["PointOfSaleApi"],"summary":"Gets the invoice item referenced by the provided invoice item id","description":"Will returns the invioce item and its redemption\r\n###Permissions\r\nRequires current user to be sales agent on the associated invoice\r\nOR current user to be purchasing agent on the invoice OR\r\nthe Manage Invoices permission in the invoice item's invoice organization or an ancestor.","operationId":"PointOfSaleApi_GetInvoiceItem","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"invoice_item_id","in":"query","description":"ID of the invoice item to retrieve.","required":true,"type":"string","format":"uuid"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Id of the created invoice","schema":{"$ref":"#/definitions/GetInvoiceItemResponse"}},"403":{"description":"Not authorized to manage invoices","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Invoice item or Invoice were not found","schema":{"$ref":"#/definitions/ApiNotFoundResponse"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/PointOfSaleApi/AddInvoiceItem":{"post":{"tags":["PointOfSaleApi"],"summary":"Creates a new invoice item and saves it to the database.","description":"###Permissions\r\nRequires the current user\r\nto be the sales agent on the invoice. Also requires the current user to have the Add Subscriptions permission.\r\nIf a purchasing group is specified, the purchasing agent must have the Group Purchasing Agent permission in the given group or an ancestor.","operationId":"PointOfSaleApi_AddInvoiceItem","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"request","in":"body","description":"Contains relevant invoice item information","required":true,"schema":{"$ref":"#/definitions/CreateInvoiceItemRequest"}},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"The id of the newly created invoice item","schema":{"$ref":"#/definitions/AddInvoiceItemResponse"}},"403":{"description":"Current user must be invoice sales agent","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/PointOfSaleApi/AddInvoiceItems":{"post":{"tags":["PointOfSaleApi"],"summary":"Creates new invoice items of the given quantity and saves them to the database.","description":"###Permissions\r\nRequires the current user\r\nto be the sales agent on the invoice. Also requires the current user to have the Add Subscriptions permission.\r\nIf a purchasing group is specified, the purchasing agent must have the Group Purchasing Agent permission in the given group or an ancestor.","operationId":"PointOfSaleApi_AddInvoiceItems","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"request","in":"body","description":"Contains relevant invoice item information","required":true,"schema":{"$ref":"#/definitions/CreateInvoiceItemsRequest"}},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"The list of ids for the newly created invoice items","schema":{"$ref":"#/definitions/AddInvoiceItemsResponse"}},"403":{"description":"Current user must be invoice sales agent","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/PointOfSaleApi/AddInvoicePayment":{"post":{"tags":["PointOfSaleApi"],"summary":"Creates a new invoice payment and adds it to the database. Requires the\r\ncurrent user to be the sales agent on the invoice.","operationId":"PointOfSaleApi_AddInvoicePayment","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"request","in":"body","description":"Contains relevant invoice payment information","required":true,"schema":{"$ref":"#/definitions/InvoicePaymentRequest"}},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Id of the created invoice payment","schema":{"$ref":"#/definitions/AddInvoicePaymentResponse"}},"403":{"description":"Current user must be invoice sales agent","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/PointOfSaleApi/AddInvoiceScheduledPayment":{"post":{"tags":["PointOfSaleApi"],"summary":"Creates a new invoice scheduled payment and adds it to the database. Requires the\r\ncurrent user to be the sales agent on the invoice.","operationId":"PointOfSaleApi_AddInvoiceScheduledPayment","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"request","in":"body","description":"Contains relevant invoice scheduled payment information","required":true,"schema":{"$ref":"#/definitions/InvoiceScheduledPaymentRequest"}},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Id of the created invoice scheduled payment","schema":{"$ref":"#/definitions/AddInvoiceScheduledPaymentResponse"}},"403":{"description":"Current user must be invoice sales agent","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/PointOfSaleApi/CommitInvoiceTransaction":{"post":{"tags":["PointOfSaleApi"],"summary":"This method is used to complete an invoice transaction that was started using {M:NexportVirtualCampus.WebApi.v1.PointOfSaleApiController.BeginInvoiceTransaction(Nexport.WebApi.Model.v1.CreateInvoiceMessageRequest)}.","description":"This method is used to complete an invoice transaction that was started using {M:NexportVirtualCampus.WebApi.v1.PointOfSaleApiController.BeginInvoiceTransaction(Nexport.WebApi.Model.v1.CreateInvoiceMessageRequest)}.\r\nNOTE: the auto_redeem functionality has been superceded by the RedeemInvoiceItem method.\r\nUse that method instead of setting auto_redeem to true.\r\n###Permissions\r\nRequires current user to be the sales agent on the invoice\r\nAND the Manage Invoices permission in the invoice organization or an ancestor.","operationId":"PointOfSaleApi_CommitInvoiceTransaction","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"request","in":"body","description":"Contains relevant invoice information","required":true,"schema":{"$ref":"#/definitions/CommitInvoiceRequest"}},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Invoice number and redemption codes","schema":{"$ref":"#/definitions/CommitInvoiceResponse"}},"403":{"description":"Not authorized to manage invoices","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/PointOfSaleApi/UpdateInvoiceItem":{"post":{"tags":["PointOfSaleApi"],"summary":"Updates the invoice item associated with the invoice item id","description":"###Permissions\r\nRequires current user to be sales agent on the associated invoice OR  current user to have the Manage Invoices permission in the invoice\r\norganization or an ancestor thereof.","operationId":"PointOfSaleApi_UpdateInvoiceItem","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"request","in":"body","description":"Contains fields for updating the invoice item","required":true,"schema":{"$ref":"#/definitions/UpdateInvoiceItemRequest"}},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Invoice redemption information","schema":{"$ref":"#/definitions/UpdateInvoiceItemResponse"}},"403":{"description":"Not authorized to manage invoices","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/PointOfSaleApi/RedeemInvoiceItem":{"post":{"tags":["PointOfSaleApi"],"summary":"Redeems the invoice item associated with the invoice item id or redemption id/code.","description":"###Permissions\r\nRequires current user to be sales agent on the invoice OR current user to be\r\npurchasing agent on the invoice OR current user to have the Manage Invoices permission in the invoice\r\norganization or an ancestor thereof.\r\nIn order to use the {M:NexportVirtualCampus.WebApi.v1.PointOfSaleApiController.ApplyInvoiceItemUpdates(Nexport.Models.PointOfSale.InvoiceItem,Nexport.WebApi.Model.v1.UpdatedInvoiceFields)} field the current user must be a sales gent or have manage invoices on the org. Purchasing agents can not update the invoice after the fact.","operationId":"PointOfSaleApi_RedeemInvoiceItem","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"request","in":"body","description":"Contains fields for redeeming the invoice item","required":true,"schema":{"$ref":"#/definitions/RedeemInvoiceItemRequest"}},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Invoice redemption information","schema":{"$ref":"#/definitions/InvoiceRedemptionResponse"}},"403":{"description":"Not authorized to manage invoices","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/PointOfSaleApi/ResetInvoiceRedemption":{"post":{"tags":["PointOfSaleApi"],"summary":"Resets the redemption and related enrollments on an Invoice Item","description":"Deletes any existing redemption for an Invoice Item and creates a new one\r\nAny enrollments associated with the previous redemption will be expired. This includes enrollments\r\nmade via catalog based invoice items.\r\n###Permissions\r\nYou must be the purchasing agent or the sales agent on the associated invoice OR you must have the manage invoices permission on the organization that owns this invoice.","operationId":"PointOfSaleApi_ResetInvoiceRedemption","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"request","in":"body","required":true,"schema":{"$ref":"#/definitions/ResetInvoiceRedemptionRequest"}},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Redemption Successfully Deleted","schema":{"$ref":"#/definitions/ResetInvoiceRedemptionResponse"}},"403":{"description":"Not authorized to manage invoices","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Invoice item was not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/PointOfSaleApi/GetInvoiceRedemption":{"get":{"tags":["PointOfSaleApi"],"summary":"Gets the invoice redemption information corresponding to the given id.","description":"Gets the invoice redemption information corresponding to the given\r\ninvoice item.\r\n###Permissions\r\nRequires current user to be sales agent on the invoice\r\nOR current user to be purchasing agent on the invoice OR\r\nthe Manage Invoices permission in the invoice item's invoice organization or an ancestor.","operationId":"PointOfSaleApi_GetInvoiceRedemption","consumes":[],"produces":["application/json","text/json"],"parameters":[{"name":"invoice_item_id","in":"query","required":true,"type":"string","format":"uuid"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Invoice redemption information","schema":{"$ref":"#/definitions/InvoiceRedemptionResponse"}},"403":{"description":"Not authorized to manage invoices","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/PostmanApi/GetPostmanCollection":{"get":{"tags":["PostmanApi"],"summary":"Get a postman collection of all visible Api\r\n(Get the [POSTMAN](http://www.getpostman.com) chrome extension)","description":"Get a postman collection of all visible api","operationId":"PostmanApi_GetPostmanCollection","consumes":[],"produces":["application/json","text/json"],"parameters":[],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/PostmanCollectionGet"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/ScormApi/GetCmiData":{"post":{"tags":["ScormApi"],"summary":"Gets data for the specified SCORM CMI fields based on the element names.\r\nResults are ordered alphabetically by SCO ID.\r\nRequires the View Section Enrollments permission in the enrollment organization or an ancestor.","operationId":"ScormApi_GetCmiData","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"request","in":"body","description":"Contains list of CMI element names","required":true,"schema":{"$ref":"#/definitions/GetCmiDataRequest"}},{"name":"page","in":"query","description":"Which page of results to start on","required":false,"type":"integer","format":"int32"},{"name":"per_page","in":"query","required":false,"type":"integer","format":"int32"},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"List of SCOs and corresponding CMI data","schema":{"type":"array","items":{"$ref":"#/definitions/GetCmiDataResponseItem"}}},"403":{"description":"Not authorized to view CMI data","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/ScormApi/EditScormData":{"post":{"tags":["ScormApi"],"summary":"Edits data for a student's SCORM courseware attempt and corresponding history (if applicable)\r\nbased on the supplied assignment status id and SCO id.\r\nIf a field is not passed in, the value will remain unchanged.\r\nRequires the Update Section Enrollments permission in the assignment status enrollment\r\norganization or an ancestor.","operationId":"ScormApi_EditScormData","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"request","in":"body","description":"Contains assignment status id, sco id, and relevant fields to edit","required":true,"schema":{"$ref":"#/definitions/EditScormDataRequest"}},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Base error response","schema":{"$ref":"#/definitions/EditScormDataResponse"}},"403":{"description":"Not authorized to edit SCORM data","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/SsoApi/SignIn":{"post":{"tags":["SsoApi"],"summary":"Automatically log users into Nexport with out requiring their login credentials. Can also create\r\na redirect entity to attach to the subscription of the user in the organization which will cause them to\r\nbe redirected upon logging out, using an expired token, or using an invalid token (if those urls are set).\r\nCan use either user_id and org_id OR just subscription_id.\r\nRequires the Use SSO API permission in the subscription organization or an ancestor.","operationId":"SsoApi_SignIn","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"ssoRequest","in":"body","description":"Request information","required":true,"schema":{"$ref":"#/definitions/SsoRequest"}},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Sign on url and authentication token information","schema":{"$ref":"#/definitions/SsoResponse"}},"403":{"description":"Not authorized to use SSO Api","schema":{"$ref":"#/definitions/ApiResponseBase"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}},"/api/v1/SsoApi/Classroom":{"post":{"tags":["SsoApi"],"summary":"Retrieves url of classroom student view for a particular enrollment. Can also create\r\na redirect entity to attach to the subscription of the enrollment which will cause the subscribed user to\r\nbe redirected upon logging out, using an expired token, or using an invalid token (if those urls are set).\r\nRequires the Use SSO API permission in the enrollment subscription organization or an ancestor.","operationId":"SsoApi_Classroom","consumes":["application/json","text/json"],"produces":["application/json","text/json"],"parameters":[{"name":"classroomSsoRequest","in":"body","description":"Contains option for chrome/nochrome and enrollment id","required":true,"schema":{"$ref":"#/definitions/ClassroomSsoRequest"}},{"name":"access_token","in":"query","description":"Use the AdminApi Authenticate method to get the access_token","required":true,"type":"string"}],"responses":{"200":{"description":"Classroom url and authentication token information","schema":{"$ref":"#/definitions/SsoResponse"}},"409":{"description":"Entity not found","schema":{"$ref":"#/definitions/ApiResponseBase"}},"422":{"description":"Validation exception. See response body for more info.","schema":{"$ref":"#/definitions/ApiResponseBase"}}}}}},"definitions":{"AuthenticationTokenRequest":{"description":"Contains information for obtaining an authentication token","default":{"username":"username","password":"password","grant_type":"password","scope":"unused","utc_expiration_date":"2026-11-25T06:03:27.1365947Z"},"required":["username","password","grant_type"],"type":"object","properties":{"username":{"description":"Username for user requesting token","type":"string"},"password":{"description":"Password for user requesting token","type":"string"},"grant_type":{"description":"Only \"password\" is supported currently","type":"string"},"scope":{"description":"Scope of the access request","type":"string"},"utc_expiration_date":{"format":"date-time","description":"Optional expiration date for the token (set to null for no expiration)","type":"string"}}},"AuthenticationTokenResponse":{"title":"AuthenticationTokenResponse","description":" Should conform to RFC 6750 Section 4 https://tools.ietf.org/html/rfc6750#section-4\r\n and https://tools.ietf.org/html/rfc6749#section-4.2.2\r\n If the resource owner grants the access request, the authorization\r\n server issues an access token and delivers it to the client by adding\r\nthe following parameters to the fragment component of the redirection\r\nURI using the \"application/x-www-form-urlencoded\" format, per\r\nAppendix B:","default":{"access_token":"12345678-1234-5678-9abc-123456789abc","token_type":"bearer","expires_in":3600,"api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["access_token","token_type","api_error_entity"],"type":"object","properties":{"access_token":{"format":"uuid","description":"REQUIRED.  The access token issued by the authorization server.","type":"string","example":"00000000-0000-0000-0000-000000000000"},"token_type":{"description":"  REQUIRED.  The type of the token issued as described in\r\nSection 7.1.  Value is case insensitive.","type":"string"},"expires_in":{"format":"int32","description":" RECOMMENDED.  The lifetime in seconds of the access token.  For\r\nexample, the value \"3600\" denotes that the access token will\r\nexpire in one hour from the time the response was generated.\r\nIf omitted, the authorization server SHOULD provide the\r\nexpiration time via other means or document the default value.\r\nThis field will be excluded from the response if the client provides\r\na specific expiration date in the request.","type":"integer"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"ApiErrorEntity":{"description":"Model used to determine what, if anything, went wrong with an api request","required":["error_code"],"type":"object","properties":{"error_code":{"format":"int32","description":"Used to denote the kind of error that occurred, if any.\r\nNoError=0;\r\nUnknownError=1;\r\nValidationError=2;\r\nItemNotFound=3;\r\nAuthenticationError=4;\r\nAuthorizationError=5;0 = No Error, 1 = Unknown Error, 2 = Validation Error, 3 = Item Not Found, 4 = Authentication Error, 5 = Authorization Error, 6 = Subscription Not Found, 7 = Enrollment Already Exists, 8 = Subscription Already Exists","enum":[0,1,2,3,4,5,6,7,8],"type":"integer"},"error_message":{"description":"Message describing what caused the error to occur","type":"string"},"warning_messages":{"description":"Warning messages describing any  potential problems with the request that do not cause the request to fail","type":"array","items":{"type":"string"},"readOnly":true}}},"ApiResponseBase":{"title":"NexPort API Response","description":"Base class for api responses","default":{"api_error_entity":{"error_code":3,"error_message":"No entity found matching id in request","warning_messages":[]}},"required":["api_error_entity"],"type":"object","properties":{"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"ValidateAccessTokenResponse":{"title":"ValidateAccessTokenResponse","description":"Contains token expiration date or error message if the token is expired or invalid","default":{"utc_expiration_date":"2015-12-25T19:25:24.731+00:00","error_message":"Token expired","api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["api_error_entity"],"type":"object","properties":{"utc_expiration_date":{"format":"date-time","description":"When the token expires or null if it is already expired or invalid\r\n(or if the token never expires, in which case ErrorMessage will also be empty)","type":"string"},"error_message":{"description":"Message describing why the token cannot be used, if applicable","type":"string"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"CreateUserRequest":{"description":"Contains fields for creating a new user","required":["owner_org_id","login","password","first_name","last_name"],"type":"object","properties":{"owner_org_id":{"format":"uuid","description":"Id of the user's owner organization","type":"string","example":"00000000-0000-0000-0000-000000000000"},"login":{"description":"The login for this account","type":"string"},"password":{"description":"The password for this account","type":"string"},"first_name":{"description":"First name of the user","type":"string"},"middle_name":{"description":"Middle name of the user","type":"string"},"last_name":{"description":"Last name of the user","type":"string"},"email":{"description":"Email address of the user","type":"string"},"title":{"description":"User's title prefix","type":"string"},"nickname":{"description":"User's nickname","type":"string"},"contact_info":{"$ref":"#/definitions/UserContactInfoRequest","description":"User's contact info"}}},"UserContactInfoRequest":{"description":"Inherits all fields from UserContactInfoBase, used in EditUser api method.","required":["api_error_entity"],"type":"object","properties":{"address_line_1":{"description":"First line of user's address","type":"string"},"address_line_2":{"description":"Second line of user's address","type":"string"},"city":{"description":"User's city","type":"string"},"state":{"description":"User's state","type":"string"},"country":{"description":"User's country","type":"string"},"postal_code":{"description":"User's postal code","type":"string"},"phone":{"description":"User's phone number","type":"string"},"mobile":{"description":"User's mobile phone number","type":"string"},"fax":{"description":"User's fax number","type":"string"},"caption":{"description":"Caption","type":"string"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"CreateUserResponse":{"title":"CreateUserResponse","description":"Contains the id of the user created by the CreateUser web api method","default":{"user_id":"12345678-1234-5678-9abc-123456789abc","api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["user_id","api_error_entity"],"type":"object","properties":{"user_id":{"format":"uuid","description":"Id of the created user","type":"string","example":"00000000-0000-0000-0000-000000000000"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"GetUserResponse":{"title":"GetUserResponse","description":"Contains user information","default":{"id":"12345678-1234-5678-9abc-123456789abc","user_id":"12345678-1234-5678-9abc-123456789abc","owner_org_id":"12345678-1234-5678-9abc-123456789abc","owner_org_short_name":"testorg","last_name":"lname","middle_name":"mname","first_name":"fname","email":"email@test.com","internal-email":"email@test.com","title":"Mr.","nickname":"Bobby","api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["user_id","last_name","first_name","api_error_entity"],"type":"object","properties":{"user_id":{"format":"uuid","description":"Id of the user","type":"string","example":"00000000-0000-0000-0000-000000000000"},"owner_org_id":{"format":"uuid","description":"Id of the user's owner organization","type":"string","example":"00000000-0000-0000-0000-000000000000"},"owner_org_short_name":{"description":"Short name of the user's owner organization","type":"string"},"last_name":{"description":"Last name of the user","type":"string"},"middle_name":{"description":"Middle name of the user","type":"string"},"first_name":{"description":"First name of the user","type":"string"},"email":{"description":"Email address of the user","type":"string"},"internal-email":{"description":"Email address used for internal communications within NexPort Campus","type":"string"},"title":{"description":"User's title prefix","type":"string"},"nickname":{"description":"User's nickname","type":"string"},"owner_org_name":{"description":"Full name of the owner org","type":"string"},"owner_org":{"$ref":"#/definitions/OrganizationResponseItem","description":"User's Owner Organization"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"OrganizationResponseItem":{"title":"OrganizationResponseItem","description":"Contains organization name, short name, and custom fields","default":{"id":"12345678-1234-5678-9abc-123456789abc","org_id":"12345678-1234-5678-9abc-123456789abc","name":"Test Organization","short_name":"testorg","api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["org_id","name","short_name","api_error_entity"],"type":"object","properties":{"org_id":{"format":"uuid","description":"Id of the organization","type":"string","example":"00000000-0000-0000-0000-000000000000"},"name":{"description":"Name of the organization","type":"string"},"short_name":{"description":"Short name of the organization","type":"string"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"UserContactInfoResponse":{"title":"UserContactInfoResponse","description":"Inherits all fields from UserContactInfoBase, used in GetUserContactInfo api method.","default":{"user_id":"12345678-1234-5678-9abc-123456789abc","address_line_1":"1234 Wherever St","address_line_2":"Apt 1234","city":"Anytown","state":"Alabama","country":"USA","postal_code":"12345","phone":"(123) 456-7890","mobile":"(098) 765-4321","fax":"(111) 222-3333","caption":"Sample caption","api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["user_id","api_error_entity"],"type":"object","properties":{"user_id":{"format":"uuid","description":"Id of the user this contact information belongs to","type":"string","example":"00000000-0000-0000-0000-000000000000"},"address_line_1":{"description":"First line of user's address","type":"string"},"address_line_2":{"description":"Second line of user's address","type":"string"},"city":{"description":"User's city","type":"string"},"state":{"description":"User's state","type":"string"},"country":{"description":"User's country","type":"string"},"postal_code":{"description":"User's postal code","type":"string"},"phone":{"description":"User's phone number","type":"string"},"mobile":{"description":"User's mobile phone number","type":"string"},"fax":{"description":"User's fax number","type":"string"},"caption":{"description":"Caption","type":"string"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"CreateGroupRequest":{"title":"CreateGroupRequest","description":"","default":{"name":"English Students","short_name":"eng-students","billing_code":"NMX-120345-5","description":"Description of the group","parent_id":"6c3d9498-bda3-4a63-8bf9-5ee4276d88f5"},"required":["name","short_name","billing_code","description","parent_id"],"type":"object","properties":{"name":{"description":"The name of the new group","type":"string"},"short_name":{"description":"Short name must be unique within the system...if any other groups have the same group name then an error will be thrown","type":"string"},"billing_code":{"description":"Any string value that can be used for tracking groups later","type":"string"},"description":{"description":"Description of the group","type":"string"},"parent_id":{"format":"uuid","description":"ID of the group or organization that this new group will be created under.","type":"string","example":"00000000-0000-0000-0000-000000000000"}}},"CreateGroupResponse":{"description":"","default":{"group_id":"e62019af-48b9-4fdf-971f-e78cc5f4df54","api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["group_id","api_error_entity"],"type":"object","properties":{"group_id":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"CreateMembershipRequest":{"title":"CreateMembershipRequest","description":"Create membership request object","default":{"groups":["e9c36bd7-d481-4274-b659-c7160c9d0090","0bac262e-0bd6-4b45-8425-f3a16301f86e","13ea5923-1367-409a-8014-24ca05a6ecf1"],"user_id":"6e6e9558-0361-4ae8-94d2-f48e39e98e45"},"required":["groups","user_id"],"type":"object","properties":{"groups":{"description":"The the groups to give the user a membership in","type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"user_id":{"format":"uuid","description":"ID of the user to give memberships in each of the listed groups. The user must have subscriptions in the orgs that the groups belong to.","type":"string","example":"00000000-0000-0000-0000-000000000000"}}},"CreateMembershipResponse":{"description":"Create membership response object","default":{"memberships":[{"membership_id":"c9d45105-3346-4945-8ab7-e54699ce0790","group_id":"90e89638-1da1-4751-9123-4e2324d5a802"},{"membership_id":"c9d45105-3346-4945-8ab7-e54699ce0790","group_id":"90e89638-1da1-4751-9123-4e2324d5a802"},{"membership_id":"c9d45105-3346-4945-8ab7-e54699ce0790","group_id":"90e89638-1da1-4751-9123-4e2324d5a802"}],"api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["memberships","api_error_entity"],"type":"object","properties":{"memberships":{"description":"List of membership Ids created","type":"array","items":{"$ref":"#/definitions/MemberShipInfo"}},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"MemberShipInfo":{"description":"New membership info object","required":["membership_id","group_id"],"type":"object","properties":{"membership_id":{"format":"uuid","description":"The Id of the membership","type":"string","example":"00000000-0000-0000-0000-000000000000"},"group_id":{"format":"uuid","description":"The group Id that the membership belong to","type":"string","example":"00000000-0000-0000-0000-000000000000"}}},"RemoveMembershipRequest":{"title":"RemoveMembershipRequest","description":"Remove membership request object","default":{"groups":["f086bce0-42fd-4afe-9109-4f89719579cd","e709f5b2-233f-4650-93c4-f3f9c0fa1de2","33e6e8cf-ba61-4454-9514-d11e8dc78c32"],"user_id":"43ab4d4b-4156-4929-a58e-986ca03bac3d","memberships":["06d9f4ed-b821-4db6-9853-a321a1f60612","7ba3fd38-7066-454f-87e1-014e0cbd3c04","72fc5861-493e-4f4a-9be1-bacd207c92ae"]},"type":"object","properties":{"groups":{"description":"The list of membership group Ids to be removed","type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"user_id":{"format":"uuid","description":"The user Id that will be used to remove the group membership(s)","type":"string","example":"00000000-0000-0000-0000-000000000000"},"memberships":{"description":"The list of membership Ids to be removed","type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}}}},"RemoveMembershipResponse":{"title":"RemoveMembershipResponse","description":"Remove membership response object","default":{"memberships":[{"membership_id":"b0c1929c-a86d-4602-87c1-a4d13230323b","group_id":"529c5fae-5454-4bcd-94e2-a618d5857dda"}],"api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["memberships","api_error_entity"],"type":"object","properties":{"memberships":{"description":"List of removed membership Ids","type":"array","items":{"$ref":"#/definitions/RemovedMembershipInfo"}},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"RemovedMembershipInfo":{"description":"Removed membership info","required":["membership_id","group_id"],"type":"object","properties":{"membership_id":{"format":"uuid","description":"The Id of the membership that has been removed","type":"string","example":"00000000-0000-0000-0000-000000000000"},"group_id":{"format":"uuid","description":"The Id of the group that the membership has been removed from","type":"string","example":"00000000-0000-0000-0000-000000000000"}}},"EditUserRequest":{"description":"Contains fields for editing a user's profile","type":"object","properties":{"user_id":{"format":"uuid","description":"Id of the user whose information is being edited. Use either this OR login.","type":"string","example":"00000000-0000-0000-0000-000000000000"},"login":{"description":"Login of the user whose information is being edited. User either this OR user_id.","type":"string"},"first_name":{"description":"First name of the user","type":"string"},"middle_name":{"description":"Middle name of the user","type":"string"},"last_name":{"description":"Last name of the user","type":"string"},"email":{"description":"User's email address","type":"string"},"title":{"description":"User's title prefix","type":"string"},"nickname":{"description":"User's nickname","type":"string"},"contact_info":{"$ref":"#/definitions/UserContactInfoRequest","description":"Other contact information about the user"}}},"EditUserResponse":{"title":"EditUserResponse","description":"Contains information about the edited user","default":{"user_id":"12345678-1234-5678-9abc-123456789abc","api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["user_id","api_error_entity"],"type":"object","properties":{"user_id":{"format":"uuid","description":"Id of the edited user","type":"string","example":"00000000-0000-0000-0000-000000000000"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"CreateSubscriptionRequest":{"description":"Contains fields for creating a new subscription","required":["org_id","user_id"],"type":"object","properties":{"org_id":{"format":"uuid","description":"Id of the subscription's organization","type":"string","example":"00000000-0000-0000-0000-000000000000"},"user_id":{"format":"uuid","description":"The user id to create the subscription for","type":"string","example":"00000000-0000-0000-0000-000000000000"}}},"CreateSubscriptionResponse":{"title":"CreateSubscriptionResponse","description":"Contains the id of the enrollment created by the CreateEnrollment web api method","default":{"subscription_id":"12345678-1234-5678-9abc-123456789abc","api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["subscription_id","api_error_entity"],"type":"object","properties":{"subscription_id":{"format":"uuid","description":"Id of the created subscription","type":"string","example":"00000000-0000-0000-0000-000000000000"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"SubscriptionResponse":{"title":"SubscriptionResponse","description":"Contains relevant details about a user subscription","default":{"id":"12345678-1234-5678-9abc-123456789abc","subscription_id":"12345678-1234-5678-9abc-123456789abc","user_id":"12345678-1234-5678-9abc-123456789abc","org_id":"12345678-1234-5678-9abc-123456789abc","org_name":"Test Organization","org_shortname":"testorg","utc_date_created":"2015-12-25T19:25:24.731+00:00","utc_date_updated":"2015-12-25T19:25:24.731+00:00","billing_code":"Sample billing code","utc_expiration_date":"2015-12-25T19:25:24.731+00:00","is_disabled":false,"subscription_status":{"current_status_name":"Resubscribed","previous_status_name":"Withdrawn","status_date_set":"2015-12-25T19:25:24.731+00:00"},"api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["subscription_id","user_id","org_id","utc_date_created","billing_code","utc_expiration_date","is_disabled","api_error_entity"],"type":"object","properties":{"subscription_id":{"format":"uuid","description":"Id of the subscription","type":"string","example":"00000000-0000-0000-0000-000000000000"},"user_id":{"format":"uuid","description":"Id of the user this subscription belongs to","type":"string","example":"00000000-0000-0000-0000-000000000000"},"org_id":{"format":"uuid","description":"Id of the organization this subscription belongs to","type":"string","example":"00000000-0000-0000-0000-000000000000"},"org_name":{"description":"Name of the organization this subscription belongs to","type":"string"},"org_shortname":{"description":"Short name of the organization this subscription belongs to","type":"string"},"utc_date_created":{"format":"date-time","description":"When this subscription was created","type":"string"},"utc_date_updated":{"format":"date-time","description":"When this subscription was last updated","type":"string"},"billing_code":{"description":"The billing code for this subscription","type":"string"},"utc_expiration_date":{"format":"date-time","description":"When this subscription expires","type":"string"},"is_disabled":{"description":"True if disabled, false if not disabled","type":"boolean"},"subscription_status":{"$ref":"#/definitions/SubscriptionResponseStatus","description":"The status of this subscription (if applicable)"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"SubscriptionResponseStatus":{"title":"SubscriptionResponseStatus","description":"Contains information about current and previous subscription status","default":{"current_status_name":"Resubscribed","previous_status_name":"Withdrawn","status_date_set":"2015-12-25T19:25:24.731+00:00"},"required":["current_status_name","status_date_set"],"type":"object","properties":{"current_status_name":{"description":"The name of the current status","type":"string"},"previous_status_name":{"description":"The name of the previous status","type":"string"},"status_date_set":{"format":"date-time","description":"When this status was set","type":"string"}}},"SubscriptionSearchFilter":{"type":"object","properties":{"user_ids":{"description":"Limit the results to only subscriptions for these users","type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"org_ids":{"description":"Limit the results to only subscriptions to these organizations","type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"utc_expires_before":{"format":"date-time","description":"Only return subscriptions expiring before this date","type":"string"},"utc_expires_after":{"format":"date-time","description":"Only return subscriptions expiring after this date","type":"string"},"utc_create_before":{"format":"date-time","description":"Only return subscriptions createa before this date","type":"string"},"utc_create_after":{"format":"date-time","description":"Only return subscriptions created AFTER this date","type":"string"}},"example":{"user_ids":["381e7e93-44c3-4321-a491-cd844343645b","7886761d-8013-4bee-aa86-7e8aeddd57e6"],"org_ids":["735122ab-896a-447d-9b99-2ddf8a913499","be84ed47-ff24-41e9-b817-783dc494eddd"],"utc_expires_before":"2026-11-24T06:03:27.2815764Z","utc_expires_after":"2028-11-24T06:03:27.2815764Z","utc_create_before":"2026-11-23T06:03:27.2815764Z","utc_create_after":"2026-11-04T06:03:27.2815764Z"}},"SubscriptionSearchResponse":{"description":"Results of a subscription search call","required":["page","page_size","total_count","api_error_entity"],"type":"object","properties":{"subscriptions":{"type":"array","items":{"$ref":"#/definitions/SubscriptionResponse"}},"page":{"format":"int32","description":"The one based index of the current page","type":"integer"},"page_size":{"format":"int32","description":"Requested page size","type":"integer"},"total_count":{"format":"int32","description":"Number of records across ALL pages","type":"integer"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}},"example":{"subscriptions":[{"id":"00000000-0000-0000-0000-000000000000","subscription_id":"00000000-0000-0000-0000-000000000000","user_id":"00000000-0000-0000-0000-000000000000","org_id":"00000000-0000-0000-0000-000000000000","org_name":"Test Organization","org_shortname":"testorg","utc_date_created":"0001-01-01T00:00:00","is_disabled":false,"api_error_entity":{"error_code":0,"warning_messages":[]}}],"page":5,"page_size":15,"total_count":28,"api_error_entity":{"error_code":0,"warning_messages":[]}}},"DisableSubscriptionRequest":{"description":"Contains information for enabling or disabling a subscription","required":["subscription_id"],"type":"object","properties":{"subscription_id":{"format":"uuid","description":"Id of the subscription to enable or disable","type":"string","example":"00000000-0000-0000-0000-000000000000"},"disable":{"description":"Enable or disable this subscription. Setting this to false enables the subscription.\r\nSetting it to true will disable it.","type":"boolean"}}},"DisableSubscriptionResponse":{"title":"DisableSubscriptionResponse","description":"Contains information about the subscription that was enabled/disabled. You can use this to verify\r\nthat the call to DisableSubscription had the intended effect on the subscription if no errors are thrown.","default":{"subscription_id":"12345678-1234-5678-9abc-123456789abc","disabled":true,"api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["subscription_id","disabled","api_error_entity"],"type":"object","properties":{"subscription_id":{"format":"uuid","description":"Id of the subscription that was enabled/disabled","type":"string","example":"00000000-0000-0000-0000-000000000000"},"disabled":{"description":"True if subscription is disabled, false otherwise","type":"boolean"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"SetSubscriptionStatusRequest":{"title":"SetSubscriptionStatusRequest","default":{"subscription_id":"12345678-1234-5678-9abc-123456789abc","subscription_status":"New Status or empty string for default"},"required":["subscription_id","subscription_status"],"type":"object","properties":{"subscription_id":{"format":"uuid","description":"The Subscription Id","type":"string","example":"00000000-0000-0000-0000-000000000000"},"subscription_status":{"description":"The status that should be set on this subscription. Use empty string to set the subscription status to the default subscription status.","type":"string"}}},"SetSubscriptionStatusResponse":{"title":"SetSubscriptionStatusResponse","default":{"subscription_id":"12345678-1234-5678-9abc-123456789abc","current_subscription_status":"Resubscribed","previous_scubscription_status":"Withdrawn","status_date_set":"2015-12-25T19:25:24.731+00:00","api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["subscription_id","current_subscription_status","previous_scubscription_status","status_date_set","api_error_entity"],"type":"object","properties":{"subscription_id":{"format":"uuid","description":"Id of the Subscription","type":"string","example":"00000000-0000-0000-0000-000000000000"},"current_subscription_status":{"description":"The current subscription status","type":"string"},"previous_scubscription_status":{"description":"The previous subscription status","type":"string"},"status_date_set":{"format":"date-time","description":"The datetime the status was last changed","type":"string"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"GetCustomProfileFieldsResponse":{"title":"GetCustomProfileFieldsResponse","description":"Contains information for a single custom profile field","default":{"field_id":"12345678-1234-5678-9abc-123456789abc","name":"Sample name","key":"Sample key","description":"Sample description","type":1,"org_id":"12345678-1234-5678-9abc-123456789abc","org_short_name":"testorg","api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["field_id","name","key","description","type","org_id","org_short_name","api_error_entity"],"type":"object","properties":{"field_id":{"format":"uuid","description":"Id of the custom profile field","type":"string","example":"00000000-0000-0000-0000-000000000000"},"name":{"description":"Represents the name of the custom profile field","type":"string"},"key":{"description":"Key of the custom profile field","type":"string"},"description":{"description":"Description of the custom profile field","type":"string"},"type":{"format":"int32","description":"Type of custom profile field.\r\nNone=0;\r\nText=1;\r\nDateTime=2;\r\nBoolean=3;\r\nNumeric=4;\r\nEmail=5;\r\nSelectDropDown=6;\r\nDateOnly=7;\r\nSelectCheckbox=8;0 = None, 1 = Text Field, 2 = Date/Time Field, 3 = YES/NO Field, 4 = Number Field, 5 = Email Field, 6 = Select Dropdown Field, 7 = Date Field, 8 = Select Checkbox Field","enum":[0,1,2,3,4,5,6,7,8],"type":"integer"},"org_id":{"format":"uuid","description":"Id of the organization this custom profile field belongs to","type":"string","example":"00000000-0000-0000-0000-000000000000"},"org_short_name":{"description":"Short name of the organization this custom profile field belongs to","type":"string"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"GetCustomProfileFieldValuesResponse":{"title":"GetCustomProfileFieldValuesResponse","description":"Contains information for a single custom profile field value","default":{"name":"Sample name","key":"Sample key","value":"Sample string value","org_id":"12345678-1234-5678-9abc-123456789abc","org_short_name":"testorg","field_id":"12345678-1234-5678-9abc-123456789abc","type":1,"utc_date_modified":"2026-11-24T06:03:27.3165787Z","api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["name","key","value","org_id","org_short_name","field_id","type","utc_date_modified","api_error_entity"],"type":"object","properties":{"name":{"description":"Represents the name of the custom field","type":"string"},"key":{"description":"Key of the custom field","type":"string"},"value":{"description":"Custom field value","type":"string"},"org_id":{"format":"uuid","description":"Id of the subscription organization this custom profile field value belongs to","type":"string","example":"00000000-0000-0000-0000-000000000000"},"org_short_name":{"description":"Short name of the subscription organization this custom profile field value belongs to","type":"string"},"field_id":{"format":"uuid","description":"Id of the field this custom profile field value corresponds to","type":"string","example":"00000000-0000-0000-0000-000000000000"},"type":{"format":"int32","description":"Type of custom profile field this value belongs to.\r\nNone=0;\r\nText=1;\r\nDateTime=2;\r\nBoolean=3;\r\nNumeric=4;\r\nEmail=5;\r\nSelectDropDown=6;\r\nDateOnly=7;\r\nSelectCheckbox=8;0 = None, 1 = Text Field, 2 = Date/Time Field, 3 = YES/NO Field, 4 = Number Field, 5 = Email Field, 6 = Select Dropdown Field, 7 = Date Field, 8 = Select Checkbox Field","enum":[0,1,2,3,4,5,6,7,8],"type":"integer"},"utc_date_modified":{"format":"date-time","description":"Date/Time that the value was last modified","type":"string"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"SetCustomProfileFieldValuesRequest":{"description":"Contains id of the subscription and the custom fields/values to set","required":["subscriber_id","custom_profile_field_values"],"type":"object","properties":{"subscriber_id":{"format":"uuid","description":"Id of the subscription to set the custom values for","type":"string","example":"00000000-0000-0000-0000-000000000000"},"subscriber_pair":{"$ref":"#/definitions/UserOrgPair","description":"User id and Org id of the subscription being searched for"},"custom_profile_field_values":{"description":"Custom profile field key/value pairs. The key should be the key given to the field NOT THE NAME.","type":"object","additionalProperties":{"type":"string"}}},"example":{"subscriber_id":"ed97292b-dd49-49d9-bb58-e3e8190c014d","subscriber_pair":{"user_id":"bb6921dc-9f71-4572-9e9f-615cb91fc7a0","org_id":"d046cf7b-2430-44c4-9623-1d219f9fea39"},"custom_profile_field_values":{"gender":"male","badge_number":"5434533"}}},"UserOrgPair":{"type":"object","properties":{"user_id":{"format":"uuid","description":"A user id","type":"string","example":"00000000-0000-0000-0000-000000000000"},"org_id":{"format":"uuid","description":"Organization ID","type":"string","example":"00000000-0000-0000-0000-000000000000"}}},"SetCustomProfileFieldValuesResponse":{"title":"SetCustomProfileFieldValuesResponse","description":"Used to inform the method caller if any of the passed in fields are invalid.\r\nMessage may contain additional error information.","default":{"error":true,"message":"Sample error","api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["error","api_error_entity"],"type":"object","properties":{"message":{"description":"Contains additional information about the type of error that occurred","type":"string"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"DirectoryResponseItem":{"title":"DirectoryResponseItem","description":"Contains organization/group name, short name","default":{"id":"12345678-1234-5678-9abc-123456789abc","parent_org_id":"12345678-1234-5678-9abc-123456789abc","name":"Test Organization","short_name":"testorg","type":0,"api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["id","parent_org_id","name","short_name","api_error_entity"],"type":"object","properties":{"id":{"format":"uuid","description":"Id of an organization or a group","type":"string","example":"00000000-0000-0000-0000-000000000000"},"parent_org_id":{"format":"uuid","description":"Id of the parent organization (if existed)","type":"string","example":"00000000-0000-0000-0000-000000000000"},"name":{"description":"Name of the organization or the group","type":"string"},"short_name":{"description":"Short name of the organization or the group","type":"string"},"type":{"format":"int32","description":"Type of the directory, either an organization or a group","type":"integer"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"HasGroupPermissionRequest":{"description":"Model used for Request","default":{"user_id":"1658cf61-159d-4565-802a-196038b49c6c","group_id":"8735fc09-63a6-4210-8b87-58cebe6963b7","permission":"AddGroup"},"required":["user_id","group_id","permission"],"type":"object","properties":{"user_id":{"format":"uuid","description":"The User Id","type":"string","example":"00000000-0000-0000-0000-000000000000"},"group_id":{"format":"uuid","description":"The Group Id","type":"string","example":"00000000-0000-0000-0000-000000000000"},"permission":{"description":"The Permission.  From PermissionAttribute on Role Properties.","type":"string"}}},"HasGroupPermissionResponse":{"default":{"is_permitted":true,"api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["is_permitted","api_error_entity"],"type":"object","properties":{"is_permitted":{"type":"boolean"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"SearchGroupsForPermissionRequest":{"description":"The Request object used for AdminApiController.SearchGroupsForPermission","default":{"user_id":"1503f19d-43eb-4952-aff3-a991718a4eb6","org_id":"eb265614-1691-40c0-90e6-a9cdb17e97ee","permission":"AddGroup","page":1,"per_page":15},"required":["user_id","org_id","permission"],"type":"object","properties":{"user_id":{"format":"uuid","description":"The User Id","type":"string","example":"00000000-0000-0000-0000-000000000000"},"org_id":{"format":"uuid","description":"The Organization Id to look for permissions under.","type":"string","example":"00000000-0000-0000-0000-000000000000"},"permission":{"description":"The Permission Attribute Name Value from the Role class","type":"string"},"page":{"format":"int32","description":"The page to return","type":"integer"},"per_page":{"format":"int32","description":"The number of items per page","type":"integer"}}},"SearchGroupsForPermissionResponse":{"description":"The Request object used for AdminApiController.SearchGroupsForPermission","default":{"groups":[{"id":"e890bd4f-caee-4710-8f14-086290f35128","parent_org_id":"f61a9f25-79f3-43ab-a817-ae34fbaf144f","name":"TheName_1","short_name":"TheShortName_1","type":0,"api_error_entity":{"error_code":0,"warning_messages":[]}},{"id":"0b440644-8639-4029-a247-780d22a090e2","parent_org_id":"9e21ed62-3653-4a20-8fab-3993b3ebd266","name":"TheName_A","short_name":"TheShortName_A","type":1,"api_error_entity":{"error_code":0,"warning_messages":[]}}],"page":1,"page_size":15,"total_count":0,"api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["groups","page","page_size","total_count","api_error_entity"],"type":"object","properties":{"groups":{"description":"Groups where the user has permission","type":"array","items":{"$ref":"#/definitions/DirectoryResponseItem"}},"page":{"format":"int32","description":"The one based index of the current page","type":"integer"},"page_size":{"format":"int32","description":"Requested page size","type":"integer"},"total_count":{"format":"int32","description":"Number of records across ALL pages","type":"integer"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"TestAttemptResponseItem":{"title":"TestAttemptResponseItem","description":"Contains details of a test attempt","default":{"attempt_id":"12345678-1234-5678-9abc-123456789abc","attempt_index":6,"start_date":"2015-12-25T19:25:24.731+00:00","last_time_left_update":"2015-12-25T19:25:24.731+00:00","finish_date":"2015-12-25T19:25:24.731+00:00","allow_relaunch":false,"time_left":"1.02:30:45","num_questions":10,"is_complete":true,"score":90.0,"comments":"Question 10 was way too difficult","api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["attempt_id","attempt_index","allow_relaunch","num_questions","is_complete","api_error_entity"],"type":"object","properties":{"attempt_id":{"format":"uuid","description":"Id of this test attempt","type":"string","example":"00000000-0000-0000-0000-000000000000"},"attempt_index":{"format":"int32","description":"Which attempt number this is. Index is ZERO BASED.","type":"integer"},"start_date":{"format":"date-time","description":"When the student started this attempt (in UTC)","type":"string"},"last_time_left_update":{"format":"date-time","description":"When the TimeLeft field was last modified","type":"string"},"finish_date":{"format":"date-time","description":"When the student completed this attempt (in UTC)","type":"string"},"allow_relaunch":{"description":"Whether or not the student can relaunch the test after exiting without finishing","type":"boolean"},"time_left":{"description":"How much time the student has remaining to complete this attempt","type":"string"},"num_questions":{"format":"int32","description":"The number of questions that this attempt was created with","type":"integer"},"is_complete":{"description":"Has this attempt been submitted?","type":"boolean"},"score":{"format":"double","description":"The score for this attempt or null if is_complete is set to false","type":"number"},"comments":{"description":"Any additional comments from the student for this test attempt.","type":"string"},"proctor_response_item":{"$ref":"#/definitions/ProctorResponseItem","description":"Additional infomation about the proctor or null if not proctored"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"ProctorResponseItem":{"description":"Contains information related to the proctor for an assignment","required":["proctor_id","proctor_user_id","proctor_code","proctor_first_name","proctor_last_name","organization_access_code_id","access_code","date_proctored","api_error_entity"],"type":"object","properties":{"proctor_id":{"format":"uuid","description":"Id of the Proctor","type":"string","example":"00000000-0000-0000-0000-000000000000"},"proctor_user_id":{"format":"uuid","description":"User Id of the Proctor","type":"string","example":"00000000-0000-0000-0000-000000000000"},"proctor_code":{"description":"Code assigned to the proctor","type":"string"},"proctor_first_name":{"description":"The first name of the proctor","type":"string"},"proctor_last_name":{"description":"The last name of the proctor","type":"string"},"organization_access_code_id":{"format":"uuid","description":"The Id of the Access Code","type":"string","example":"00000000-0000-0000-0000-000000000000"},"access_code":{"description":"The Access Code used","type":"string"},"date_proctored":{"format":"date-time","description":"When the proctor unlocked the assignment (in UTC)","type":"string"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"TestSurveyResultsResponse":{"title":"TestSurveyResultsResponse","description":"Contains a list of responses for a particular student for a given test/survey assignment","default":{"test_survey_results":[{"option_ids":["12345678-1234-5678-9abc-123456789abc","1234abcd-1234-abcd-1234-123456abcdef"],"question_id":"12345678-1234-5678-9abc-123456789abc","answer_id":"12345678-1234-5678-9abc-123456789abc","is_answered":true,"is_skipped":false,"is_bookmarked":true,"display_order":2,"open_ended_answer":"Sample open ended answer","chosen_option_ids":["1234abcd-1234-abcd-1234-123456abcdef"]}],"api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["test_survey_results","api_error_entity"],"type":"object","properties":{"test_survey_results":{"description":"Student responses for this assignment and associated information","type":"array","items":{"$ref":"#/definitions/TestSurveyResultsResponseItem"}},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"TestSurveyResultsResponseItem":{"description":"This represents a test/survey question and a student response","required":["question_id","answer_id","is_answered","is_skipped","is_bookmarked","utc_date_created"],"type":"object","properties":{"option_ids":{"description":"List of ids for possible options on this question (if it is not strictly open ended). Match these ids up\r\nwith the option ids from GetQuestionOption to get the option text.","type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"question_id":{"format":"uuid","description":"Id of the question on the test/survey. Use this to get the question text and text for the different options\r\nfrom the GetTestQuestion method.","type":"string","example":"00000000-0000-0000-0000-000000000000"},"answer_id":{"format":"uuid","description":"Id of the student's answer on this test/survey","type":"string","example":"00000000-0000-0000-0000-000000000000"},"is_answered":{"description":"Whether or not the student has answered this question","type":"boolean"},"is_skipped":{"description":"Whether or not the student has skipped this question","type":"boolean"},"is_bookmarked":{"description":"Whether or not the student has bookmarked this question","type":"boolean"},"display_order":{"format":"int32","description":"Used for determining the order by which the answers are displayed. Zero based.","type":"integer"},"open_ended_answer":{"description":"Student's open ended response (if applicable for this question)","type":"string"},"utc_date_created":{"format":"date-time","description":"When the student started the test attempt that this question is tied to.\r\nIf, for whatever reason, the test start date was null, then it is set\r\nto the test attempt's assignment status creation date.","type":"string"},"chosen_option_ids":{"description":"List of ids for options that the student selected on this question (if it is not strictly open ended).\r\nMatch these ids up with the option ids from GetTestQuestion to get the option text.","type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}}}},"QuestionResponse":{"title":"QuestionResponse","description":"Contains text for a question and what type of question it is","default":{"open_ended_question_text":"Sample open ended text","question_text":"Sample question text","question_type":1,"api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["question_type","api_error_entity"],"type":"object","properties":{"open_ended_question_text":{"description":"The text for the open ended question (if applicable)","type":"string"},"question_text":{"description":"The text for the question (if it is not strictly open ended)","type":"string"},"question_type":{"format":"int32","description":"What type of question this is.\r\nSingleSelect=1;\r\nMultiSelect=2;\r\nFivePointScale=3;1 = SingleSelect, 2 = MultiSelect, 3 = FivePointScale","enum":[1,2,3],"type":"integer"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"QuestionOptionResponse":{"title":"QuestionOptionResponse","description":"Contains the text for a given test or survey question option and if it is correct","default":{"option_text":"Sample question option","is_correct":true,"api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["option_text","is_correct","api_error_entity"],"type":"object","properties":{"option_text":{"description":"Test/survey question option text","type":"string"},"is_correct":{"description":"Whether or not this option has been marked as a correct answer","type":"boolean"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"QuestionIdsResponse":{"title":"QuestionIdsResponse","description":"Contains ids for all the questions tied to a particular test or survey assignment","default":{"question_ids":["12345678-1234-5678-9abc-123456789abc","1234abcd-1234-abcd-1234-123456abcdef"],"api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["api_error_entity"],"type":"object","properties":{"question_ids":{"description":"List of question ids","type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"StudentResponses":{"title":"StudentResponses","description":"Contains the question text and all the responses for a particular test/survey question","default":{"question_response":{"open_ended_question_text":"Sample open ended text","question_text":"Sample question text","question_type":1,"api_error_entity":{"error_code":0,"warning_messages":[]}},"option_ids":["12345678-1234-5678-9abc-123456789abc","1234abcd-1234-abcd-1234-123456abcdef"],"student_response_list":[{"question_id":"12345678-1234-5678-9abc-123456789abc","answer_id":"12345678-1234-5678-9abc-123456789abc","is_answered":true,"is_skipped":false,"is_bookmarked":true,"display_order":2,"open_ended_answer":"Sample open ended answer","chosen_option_ids":["1234abcd-1234-abcd-1234-123456abcdef"]},{"question_id":"12345678-1234-5678-9abc-123456789abc","answer_id":"1234abcd-1234-abcd-1234-123456abcdef","is_answered":true,"is_skipped":false,"is_bookmarked":true,"display_order":2,"open_ended_answer":"Sample open ended answer 2","chosen_option_ids":["12345678-1234-5678-9abc-123456789abc"]}],"api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["question_response","api_error_entity"],"type":"object","properties":{"question_response":{"$ref":"#/definitions/QuestionResponse","description":"Basic information about the question"},"option_ids":{"description":"List of ids for possible options on this question (if it is not strictly open ended). Match these ids up\r\nwith the option ids from GetQuestionOption to get the option text.","type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"student_response_list":{"description":"List of student responses for this question (if any)","type":"array","items":{"$ref":"#/definitions/StudentResponseItem"}},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"StudentResponseItem":{"description":"This represents a test/survey question and a student response.","required":["question_id","answer_id","is_answered","is_skipped","is_bookmarked","utc_date_created"],"type":"object","properties":{"question_id":{"format":"uuid","description":"Id of the question on the test/survey. Use this to get the question text and text for the different options\r\nfrom the GetTestQuestion method.","type":"string","example":"00000000-0000-0000-0000-000000000000"},"answer_id":{"format":"uuid","description":"Id of the student's answer on this test/survey","type":"string","example":"00000000-0000-0000-0000-000000000000"},"is_answered":{"description":"Whether or not the student has answered this question","type":"boolean"},"is_skipped":{"description":"Whether or not the student has skipped this question","type":"boolean"},"is_bookmarked":{"description":"Whether or not the student has bookmarked this question","type":"boolean"},"display_order":{"format":"int32","description":"Used for determining the order by which the answers are displayed. Zero based.","type":"integer"},"open_ended_answer":{"description":"Student's open ended response (if applicable for this question)","type":"string"},"utc_date_created":{"format":"date-time","description":"When the student started the test attempt that this question is tied to.\r\nIf, for whatever reason, the test start date was null, then it is set\r\nto the test attempt's assignment status creation date.","type":"string"},"chosen_option_ids":{"description":"List of ids for options that the student selected on this question (if it is not strictly open ended).\r\nMatch these ids up with the option ids from GetTestQuestion to get the option text.","type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}}}},"EnrollmentSearchFilter":{"description":"Specify how to filter the search results for enrollments.","type":"object","properties":{"user_ids":{"description":"Limit the results to only enrollments for ANY of these users\r\nThis field is ignored if no IDs are provided","type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"syllabus_unique_names":{"description":"Limit the results to only enrollments in syllabus' with ANY of these unique names.\r\nThis field is ignored if no IDs are provided","type":"array","items":{"type":"string"}},"org_ids":{"description":"Limit the results to only enrollments in ANY of these organizations (by ID).\r\nThis field is ignored if no IDs are provided","type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"enrollment_ids":{"description":"Limit the results to only enrollments with any of these enrollment Ids.\r\nThis field is ignored if no IDs are provided","type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"utc_activity_before":{"format":"date-time","description":"Only return enrollments with a last activity date before this date","type":"string"},"utc_activity_after":{"format":"date-time","description":"Only return enrollments with a last activity date after this date","type":"string"},"utc_enrolled_before":{"format":"date-time","description":"Only return enrollments created before this date","type":"string"},"utc_enrolled_after":{"format":"date-time","description":"Only return enrollments created AFTER this date","type":"string"},"utc_completed_before":{"format":"date-time","description":"Only return enrollments completed before this date","type":"string"},"utc_completed_after":{"format":"date-time","description":"Only return enrollments completed AFTER this date","type":"string"},"syllabus_ids":{"description":"Only return enrollments in any of these sylabus IDs.\r\nThis field is ignored if no IDs are provided","type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}}}},"EnrollmentSearchResponse":{"description":"Enrollments matching the provided filter","required":["page","page_size","total_count","api_error_entity"],"type":"object","properties":{"enrollments":{"type":"array","items":{"$ref":"#/definitions/ApiEnrollmentItem"}},"page":{"format":"int32","description":"The one based index of the current page","type":"integer"},"page_size":{"format":"int32","description":"Requested page size","type":"integer"},"total_count":{"format":"int32","description":"Number of records across ALL pages","type":"integer"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}},"example":{"enrollments":[{"enrollment_id":"d0281e80-e4b1-4268-95dc-347b25b1796a","enrollment_date":"2026-11-24T06:03:27.4215762Z","start_date":"2026-11-24T06:03:27.4215762Z","syllabus_id":"0e981496-b13d-44be-bc7d-6080ecf4f77b","result":0,"phase":0,"user_id":"daffc022-db08-428e-ad76-21169d74ba8d"},{"enrollment_id":"b30a33bd-b452-40ef-95e5-e25d413310cd","enrollment_date":"2026-11-24T06:03:27.4215762Z","start_date":"2026-11-24T06:03:27.4215762Z","syllabus_id":"23d6e390-9fa7-4ca0-80ae-b8e1d97a9c2a","result":0,"phase":0,"user_id":"54a258e1-b9be-4931-a859-627d87ebdaab"},{"enrollment_id":"07ebe0c4-a53f-46ef-ad28-49809b8911af","enrollment_date":"2026-11-24T06:03:27.4215762Z","start_date":"2026-11-24T06:03:27.4215762Z","syllabus_id":"adf1d1f1-ad15-4f1c-bacd-b9cc2711a4a9","result":0,"phase":0,"user_id":"c86b7d41-a8d2-4ae3-9410-215d5f7f5ef2"}],"page":1,"page_size":15,"total_count":3,"api_error_entity":{"error_code":0,"warning_messages":[]}}},"ApiEnrollmentItem":{"description":"This class exposes the public fields of the Nexport Enrollment class\r\nfor use with the web api","required":["enrollment_id","result","phase","user_id"],"type":"object","properties":{"enrollment_id":{"format":"uuid","description":"Id of this enrollment","type":"string","example":"00000000-0000-0000-0000-000000000000"},"enrollment_date":{"format":"date-time","description":"When this enrollment was created","type":"string"},"start_date":{"format":"date-time","description":"When this enrollment was started","type":"string"},"expiration_date":{"format":"date-time","description":"When this enrollment expires (UTC)","type":"string"},"completion_date":{"format":"date-time","description":"When this enrollment was completed by the student (UTC)","type":"string"},"syllabus_id":{"format":"uuid","description":"Id of the syllabus belonging to this enrollment","type":"string","example":"00000000-0000-0000-0000-000000000000"},"first_activity_date":{"format":"date-time","description":"When this enrollment was first accessed (UTC)","type":"string"},"last_activity_date":{"format":"date-time","description":"When this enrollment was last accessed (UTC)","type":"string"},"result":{"format":"int32","description":"When in the completed state this describes what the end result is.0 = Not Graded, 1 = Passed, 2 = Failed","enum":[0,1,2],"type":"integer"},"phase":{"format":"int32","description":"The state of an activity.0 = Not Started, 1 = In Progress, 2 = Finished, 15 = To Be Graded, 16 = Resubmit Required","enum":[0,1,2,15,16],"type":"integer"},"user_id":{"format":"uuid","description":"Id of the user/student in the enrollment","type":"string","example":"00000000-0000-0000-0000-000000000000"}}},"SectionEnrollmentsResponse":{"title":"SectionEnrollmentsResponse","description":"Contains relevant section enrollment information","default":{"section":{"section_number":"SN 01","section_ceus":".2 CEUs","section_duration":"2 hours","id":"12345678-1234-5678-9abc-123456789abc","syllabus_id":"12345678-1234-5678-9abc-123456789abc","title":"Sample title","unique_name":"Sample name","utc_date_created":"2015-12-25T19:25:24.731+00:00","utc_date_last_modified":"2015-12-25T19:25:24.731+00:00","hidden":false,"disable_certificates_for_student":false,"allow_drops":false,"auto_enroll_new_members":false,"enrollment_duration":3,"enrollment_start":"2015-12-25T19:25:24.731+00:00","enrollment_end":"2015-12-25T19:25:24.731+00:00","final_drop_date":"2015-12-25T19:25:24.731+00:00","training_start":"2015-12-25T19:25:24.731+00:00","training_end":"2015-12-25T19:25:24.731+00:00","disable_manual_enrollment":false,"credit_hours":5.0,"api_error_entity":{"error_code":0,"warning_messages":[]}},"enrollment_day":25,"enrollment_month":12,"enrollment_year":2015,"subscription_id":"12345678-1234-5678-9abc-123456789abc","title":"Sample title","number":"101","assignment_count":10,"completed_assignment_count":7,"percent_assignments_complete":70,"weighted_score":550,"max_weighted_score":700.0,"id":"12345678-1234-5678-9abc-123456789abc","enrollment_id":"12345678-1234-5678-9abc-123456789abc","enrollment_date":"2015-12-25T19:25:24.731+00:00","start_date":"2015-12-25T19:25:24.731+00:00","expiration_date":"2015-12-25T19:25:24.731+00:00","completion_date":"2015-12-25T19:25:24.731+00:00","syllabus_id":"12345678-1234-5678-9abc-123456789abc","unique_name":"SN 101","result":1,"phase":1,"user_id":"12345678-1234-5678-9abc-123456789abc","api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["section","subscription_id","enrollment_id","result","phase","user_id","api_error_entity"],"type":"object","properties":{"section":{"$ref":"#/definitions/SectionResponse","description":"Contains relevant fields for the section this enrollment belongs to"},"enrollment_day":{"format":"int32","description":"Day the student enrolled","type":"integer"},"enrollment_month":{"format":"int32","description":"Month the student enrolled","type":"integer"},"enrollment_year":{"format":"int32","description":"Year the student enrolled","type":"integer"},"subscription_id":{"format":"uuid","description":"Id of the subscription this enrollment is attached to","type":"string","example":"00000000-0000-0000-0000-000000000000"},"title":{"description":"Title of the section this enrollment belongs to","type":"string"},"number":{"description":"Number of the section this enrollment belongs to","type":"string"},"assignment_count":{"format":"int32","description":"Number of assignments in the section that is tied to this enrollment","type":"integer"},"completed_assignment_count":{"format":"int32","description":"How many assignments have been completed for this enrollment","type":"integer"},"percent_assignments_complete":{"format":"int32","description":"Return the percentage of assignments completed\r\nout of the total assignments for credit.","type":"integer"},"weighted_score":{"format":"int32","description":"The Weighted Score of this enrollment","type":"integer"},"max_weighted_score":{"format":"double","description":"The Max Weighted Score of this enrollment","type":"number"},"enrollment_id":{"format":"uuid","description":"Id of this enrollment","type":"string","example":"00000000-0000-0000-0000-000000000000"},"enrollment_date":{"format":"date-time","description":"When this enrollment was created","type":"string"},"start_date":{"format":"date-time","description":"When this enrollment was started","type":"string"},"expiration_date":{"format":"date-time","description":"When this enrollment expires (UTC)","type":"string"},"completion_date":{"format":"date-time","description":"When this enrollment was completed by the student (UTC)","type":"string"},"syllabus_id":{"format":"uuid","description":"Id of the syllabus belonging to this enrollment","type":"string","example":"00000000-0000-0000-0000-000000000000"},"unique_name":{"description":"UniqueName is meant to be a simple way to map a user defined identifier to\r\nto specific a syllabus without the risk of duplicates. The advantage over using\r\nthe Id is that it can be moved from one syllabus to another.","type":"string"},"first_activity_date":{"format":"date-time","description":"When this enrollment was first accessed (UTC)","type":"string"},"last_activity_date":{"format":"date-time","description":"When this enrollment was last accessed (UTC)","type":"string"},"result":{"format":"int32","description":"When in the completed state this describes what the end result is.0 = Not Graded, 1 = Passed, 2 = Failed","enum":[0,1,2],"type":"integer"},"phase":{"format":"int32","description":"The state of an activity.0 = Not Started, 1 = In Progress, 2 = Finished, 15 = To Be Graded, 16 = Resubmit Required","enum":[0,1,2,15,16],"type":"integer"},"user_id":{"format":"uuid","description":"Id of the user in the enrollment","type":"string","example":"00000000-0000-0000-0000-000000000000"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"SectionResponse":{"title":"Section Details","description":"Contains relevant section information","default":{"section_number":"SN 01 Qgwnd","section_ceus":".2 CEUs","section_duration":"2 hours","id":"b3d2fd33-de73-43ce-9562-a2bd65f4aae8","syllabus_id":"b3d2fd33-de73-43ce-9562-a2bd65f4aae8","title":"Sample title","unique_name":"Sample name","utc_date_created":"2015-11-25T19:25:24.731+00:00","utc_date_last_modified":"2015-12-25T19:25:24.731+00:00","hidden":false,"disable_certificates_for_student":false,"allow_drops":false,"auto_enroll_new_members":false,"enrollment_duration":3,"enrollment_start":"2015-12-15T19:25:24.731+00:00","enrollment_end":"2016-04-23T19:25:24.731+00:00","final_drop_date":"2016-04-23T19:25:24.731+00:00","training_start":"2015-12-25T19:25:24.731+00:00","training_end":"2016-04-23T19:25:24.731+00:00","disable_manual_enrollment":false,"credit_hours":5.0,"api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["section_number","section_ceus","section_duration","syllabus_id","title","enrollment_duration","enrollment_start","enrollment_end","final_drop_date","training_end","api_error_entity"],"type":"object","properties":{"section_number":{"description":"Section number","type":"string"},"section_ceus":{"description":"Section CEUs","type":"string"},"section_duration":{"description":"How long the section lasts","type":"string"},"syllabus_id":{"format":"uuid","description":"Id of the syllabus","type":"string","example":"00000000-0000-0000-0000-000000000000"},"title":{"description":"Title for this syllabus","type":"string"},"unique_name":{"description":"UniqueName is meant to be a simple way to map a user defined identifier to\r\nto specific a syllabus without the risk of duplicates. The advantage over using\r\nthe Id is that it can be moved from one syllabus to another.","type":"string"},"utc_date_created":{"format":"date-time","description":"When this syllabus was created","type":"string"},"utc_date_last_modified":{"format":"date-time","description":"When this syllabus was last modified","type":"string"},"hidden":{"description":"Does the section show up on the enrollment list?","type":"boolean"},"disable_certificates_for_student":{"description":"Can the student print their own certificate","type":"boolean"},"allow_drops":{"description":"Are students allowed to drop the section on their own?","type":"boolean"},"auto_enroll_new_members":{"description":"Should groups auto-enroll new members into this section?","type":"boolean"},"end_after_period_from_enrollment_start":{"description":"Use EnrollmentDuration in calculating course end date","type":"boolean"},"enrollment_duration":{"format":"int32","description":"Duration of enrollment from enrollmentDate","type":"integer"},"enrollment_start":{"format":"date-time","description":"The first day that the student can be enrolled into this section","type":"string"},"enrollment_end":{"format":"date-time","description":"The last day that the student can be enrolled into this section","type":"string"},"final_drop_date":{"format":"date-time","description":"The last day that the student can drop this section","type":"string"},"training_start":{"format":"date-time","description":"When the section opens for launching.","type":"string"},"training_end":{"format":"date-time","description":"When the section closes.","type":"string"},"disable_manual_enrollment":{"description":"This controls whether or not the student can enroll themselves from the catalog view.\r\nAdministrators should still be able to enroll a student AND the student should still be able to purchase in the Marketplace if it's available for enrollment\r\nDon't use this in the model.","type":"boolean"},"credit_hours":{"format":"","description":"How many credit hours this syllabus is worth.","type":"number"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"TrainingPlanEnrollmentsResponse":{"title":"TrainingPlanEnrollmentsResponse","description":"Contains id of the student that the enrollment belongs to","default":{"student_id":"00000000-0000-0000-0000-000000000000","subscription_id":"12345678-1234-5678-9abc-123456789abc","name":"Sample name","percent_requirements_fulfilled":60,"ed2go_registration_key":"Sample key","average_score":2.0,"grade_point_average":2.0,"id":"12345678-1234-5678-9abc-123456789abc","enrollment_id":"12345678-1234-5678-9abc-123456789abc","enrollment_date":"2015-12-25T19:25:24.731+00:00","start_date":"2015-12-25T19:25:24.731+00:00","expiration_date":"2015-12-25T19:25:24.731+00:00","completion_date":"2015-12-25T19:25:24.731+00:00","syllabus_id":"12345678-1234-5678-9abc-123456789abc","unique_name":"Sample name","first_activity_date":"2015-12-25T19:25:24.731+00:00","last_activity_date":"2015-12-25T19:25:24.731+00:00","result":1,"phase":1,"user_id":"12345678-1234-5678-9abc-123456789abc","api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["subscription_id","name","enrollment_id","result","phase","user_id","api_error_entity"],"type":"object","properties":{"subscription_id":{"format":"uuid","description":"Id of the subscription this enrollment belongs to","type":"string","example":"00000000-0000-0000-0000-000000000000"},"name":{"description":"Name of the training plan that the enrollment is attached to","type":"string"},"percent_requirements_fulfilled":{"format":"int32","description":"Return the percentage of requirements that are fulfilled for this enrollment","type":"integer"},"ed2go_registration_key":{"description":"Registration key created by Ed2Go that corresponds to this enrollment (if applicable)","type":"string"},"average_score":{"format":"","description":"The Average Score of this enrollment","type":"number"},"grade_point_average":{"format":"","description":"The Grade Point Average (GPA) of this enrollment","type":"number"},"enrollment_id":{"format":"uuid","description":"Id of this enrollment","type":"string","example":"00000000-0000-0000-0000-000000000000"},"enrollment_date":{"format":"date-time","description":"When this enrollment was created","type":"string"},"start_date":{"format":"date-time","description":"When this enrollment was started","type":"string"},"expiration_date":{"format":"date-time","description":"When this enrollment expires (UTC)","type":"string"},"completion_date":{"format":"date-time","description":"When this enrollment was completed by the student (UTC)","type":"string"},"syllabus_id":{"format":"uuid","description":"Id of the syllabus belonging to this enrollment","type":"string","example":"00000000-0000-0000-0000-000000000000"},"unique_name":{"description":"UniqueName is meant to be a simple way to map a user defined identifier to\r\nto specific a syllabus without the risk of duplicates. The advantage over using\r\nthe Id is that it can be moved from one syllabus to another.","type":"string"},"first_activity_date":{"format":"date-time","description":"When this enrollment was first accessed (UTC)","type":"string"},"last_activity_date":{"format":"date-time","description":"When this enrollment was last accessed (UTC)","type":"string"},"result":{"format":"int32","description":"When in the completed state this describes what the end result is.0 = Not Graded, 1 = Passed, 2 = Failed","enum":[0,1,2],"type":"integer"},"phase":{"format":"int32","description":"The state of an activity.0 = Not Started, 1 = In Progress, 2 = Finished, 15 = To Be Graded, 16 = Resubmit Required","enum":[0,1,2,15,16],"type":"integer"},"user_id":{"format":"uuid","description":"Id of the user in the enrollment","type":"string","example":"00000000-0000-0000-0000-000000000000"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"GetCustomEnrollmentFieldsResponse":{"title":"GetCustomEnrollmentFieldsResponse","description":"Contains information about a single custom enrollment field","default":{"field_id":"12345678-1234-5678-9abc-123456789abc","name":"Sample name","key":"Sample key","description":"Sample description","type":1,"org_id":"12345678-1234-5678-9abc-123456789abc","org_short_name":"testorg","api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["field_id","name","key","type","org_id","org_short_name","api_error_entity"],"type":"object","properties":{"field_id":{"format":"uuid","description":"Id of the custom field","type":"string","example":"00000000-0000-0000-0000-000000000000"},"name":{"description":"Represents the name of the custom field","type":"string"},"key":{"description":"Key of the custom field","type":"string"},"description":{"description":"Description of the custom field","type":"string"},"type":{"format":"int32","description":"Type of custom enrollment field.\r\nNone=0;\r\nText=1;\r\nDateTime=2;\r\nBoolean=3;\r\nNumeric=4;\r\nEmail=5;\r\nSelectDropDown=6;\r\nDateOnly=7;\r\nSelectCheckbox=8;0 = None, 1 = Text Field, 2 = Date/Time Field, 3 = YES/NO Field, 4 = Number Field, 5 = Email Field, 6 = Select Dropdown Field, 7 = Date Field, 8 = Select Checkbox Field","enum":[0,1,2,3,4,5,6,7,8],"type":"integer"},"org_id":{"format":"uuid","description":"Id of the organization this custom enrollment field belongs to","type":"string","example":"00000000-0000-0000-0000-000000000000"},"org_short_name":{"description":"Short name of the organization this custom enrollment field belongs to","type":"string"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"GetDefaultCustomEnrollmentFieldSettingResponse":{"title":"GetDefaultCustomEnrollmentFieldSettingResponse","description":"Contains information for a single custom enrollment field setting","default":{"field_id":"12345678-1234-5678-9abc-123456789abc","name":"Sample name","key":"Sample key","default_value":"Sample string value","setting_org_id":"12345678-1234-5678-9abc-123456789abc","setting_org_short_name":"testorg","field_org_id":"12345678-1234-5678-9abc-123456789abc","field_org_short_name":"testorg","type":1,"api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["field_id","name","key","default_value","setting_org_id","setting_org_short_name","field_org_id","field_org_short_name","type","api_error_entity"],"type":"object","properties":{"field_id":{"format":"uuid","description":"Id of the field this custom enrollment field setting corresponds to","type":"string","example":"00000000-0000-0000-0000-000000000000"},"name":{"description":"Represents the name of the custom field","type":"string"},"key":{"description":"Key of the custom field","type":"string"},"default_value":{"description":"Custom field default value","type":"string"},"setting_org_id":{"format":"uuid","description":"Id of the organization the default setting is in","type":"string","example":"00000000-0000-0000-0000-000000000000"},"setting_org_short_name":{"description":"Short name of the organization the default setting is in","type":"string"},"field_org_id":{"format":"uuid","description":"Id of the organization the setting field is in","type":"string","example":"00000000-0000-0000-0000-000000000000"},"field_org_short_name":{"description":"Short name of the organization the setting field is in","type":"string"},"type":{"format":"int32","description":"Type of custom enrollment field this setting belongs to.\r\nNone=0;\r\nText=1;\r\nDateTime=2;\r\nBoolean=3;\r\nNumeric=4;\r\nEmail=5;\r\nSelectDropDown=6;\r\nDateOnly=7;\r\nSelectCheckbox=8;0 = None, 1 = Text Field, 2 = Date/Time Field, 3 = YES/NO Field, 4 = Number Field, 5 = Email Field, 6 = Select Dropdown Field, 7 = Date Field, 8 = Select Checkbox Field","enum":[0,1,2,3,4,5,6,7,8],"type":"integer"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"GetCustomEnrollmentFieldValuesResponse":{"title":"GetCustomEnrollmentFieldValuesResponse","description":"Contains information for a single custom enrollment field value","default":{"name":"Sample name","key":"Sample key","value":"Sample string value","org_id":"12345678-1234-5678-9abc-123456789abc","org_short_name":"testorg","inherited_from_org_id":"12345678-1234-5678-9abc-123456789abc","inherited_from_org_short_name":"testorg","field_id":"12345678-1234-5678-9abc-123456789abc","type":1,"api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["name","key","value","org_id","org_short_name","field_id","type","api_error_entity"],"type":"object","properties":{"name":{"description":"Represents the name of the custom field","type":"string"},"key":{"description":"Key of the custom field","type":"string"},"value":{"description":"Custom field value","type":"string"},"org_id":{"format":"uuid","description":"Id of the enrollment organization this custom enrollment field value belongs to","type":"string","example":"00000000-0000-0000-0000-000000000000"},"org_short_name":{"description":"Short name of the enrollment organization this custom enrollment field value belongs to","type":"string"},"inherited_from_org_id":{"format":"uuid","description":"Id of the organization this field is inherited from (if applicable)","type":"string","example":"00000000-0000-0000-0000-000000000000"},"inherited_from_org_short_name":{"description":"Short name of the organization this field is inherited from (if applicable)","type":"string"},"field_id":{"format":"uuid","description":"Id of the field this custom enrollment field value corresponds to","type":"string","example":"00000000-0000-0000-0000-000000000000"},"type":{"format":"int32","description":"Type of custom enrollment field this value belongs to.\r\nNone=0;\r\nText=1;\r\nDateTime=2;\r\nBoolean=3;\r\nNumeric=4;\r\nEmail=5;\r\nSelectDropDown=6;\r\nDateOnly=7;\r\nSelectCheckbox=8;0 = None, 1 = Text Field, 2 = Date/Time Field, 3 = YES/NO Field, 4 = Number Field, 5 = Email Field, 6 = Select Dropdown Field, 7 = Date Field, 8 = Select Checkbox Field","enum":[0,1,2,3,4,5,6,7,8],"type":"integer"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"SetCustomEnrollmentFieldValuesRequest":{"description":"Contains id of the enrollment and the custom fields/values to set","required":["enrollment_id","custom_enrollment_field_values"],"type":"object","properties":{"enrollment_id":{"format":"uuid","description":"Id of the enrollment to set custom fields/values for","type":"string","example":"00000000-0000-0000-0000-000000000000"},"custom_enrollment_field_values":{"description":"Custom enrollment field key/value pairs","type":"object","additionalProperties":{"type":"string"}}}},"SetCustomEnrollmentFieldValuesResponse":{"title":"SetCustomEnrollmentFieldValuesResponse","description":"Used to inform the method caller if any of the passed in fields are invalid.\r\nMessage may contain additional error information.","default":{"error":true,"message":"Sample error","api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["error","api_error_entity"],"type":"object","properties":{"error":{"description":"Whether there was an error in the method","type":"boolean"},"message":{"description":"Contains additional information about the type of error that occurred","type":"string"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"DropDeleteEnrollmentResponse":{"title":"DropDeleteEnrollmentResponse","description":"Contains information pertaining to a dropped or deleted enrollment","default":{"enrollment_id":"12345678-1234-5678-9abc-123456789abc","is_dropped_or_deleted":true,"api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["enrollment_id","is_dropped_or_deleted","api_error_entity"],"type":"object","properties":{"enrollment_id":{"format":"uuid","description":"Id of the enrollment that was dropped or deleted","type":"string","example":"00000000-0000-0000-0000-000000000000"},"is_dropped_or_deleted":{"description":"Can be used to verify that the enrollment was successfully removed if no errors occur.\r\nTrue if the enrollment no longer exists in the system, false otherwise.","type":"boolean"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"CreateEnrollmentRequest":{"description":"Contains fields for creating a new enrollment","required":["org_id","user_id","membership_group_ids"],"type":"object","properties":{"org_id":{"format":"uuid","description":"Id of the enrollment's organization","type":"string","example":"00000000-0000-0000-0000-000000000000"},"user_id":{"format":"uuid","description":"The user id to create the enrollment for","type":"string","example":"00000000-0000-0000-0000-000000000000"},"syllabus_id":{"format":"uuid","description":"The syllabus id to create the enrollment in","type":"string","example":"00000000-0000-0000-0000-000000000000"},"syllabus_unique_name":{"description":"The syllabus unique name to create the enrollment in","type":"string"},"membership_group_ids":{"description":"Membership group ids to give the user a membership in","type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}}}},"CreateEnrollmentResponse":{"title":"CreateEnrollmentResponse","description":"Contains the id of the enrollment created by the CreateEnrollment web api method","default":{"enrollment_id":"12345678-1234-5678-9abc-123456789abc","api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["enrollment_id","api_error_entity"],"type":"object","properties":{"enrollment_id":{"format":"uuid","description":"Id of the created enrollment","type":"string","example":"00000000-0000-0000-0000-000000000000"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"AssignmentStatusResponseItem":{"title":"AssignmentStatusResponseItem","description":"Represents an assignment status for an assignment on an enrollment.","default":{"assignment_status_id":"12345678-1234-5678-9abc-123456789abc","phase":16,"result":2,"resubmit_required_reason":"Try harder","academic_override":true,"academic_override_reason":"Just because","utc_creation_date":"2015-12-25T19:25:24.731+00:00","utc_first_activity_date":"2015-12-25T19:25:24.731+00:00","utc_last_activity_date":"2015-12-25T19:25:24.731+00:00","utc_completion_date":"2015-12-25T19:25:24.731+00:00","academic_override_admin_id":"12345678-1234-5678-9abc-123456789abc","grade_given_by_id":"12345678-1234-5678-9abc-123456789abc","assignment_id":"12345678-1234-5678-9abc-123456789abc","enrollment_id":"12345678-1234-5678-9abc-123456789abc","user_id":"12345678-1234-5678-9abc-123456789abc","enrollment_score":300,"enrollment_max_score":600.0,"assignment_score":60,"assignment_max_score":100.0,"assignment_mastery_score":70.0,"assignment_weight":100.0,"assignment_weighted_score":60.0,"api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["assignment_status_id","phase","result","academic_override","utc_creation_date","assignment_id","enrollment_id","user_id","api_error_entity"],"type":"object","properties":{"assignment_status_id":{"format":"uuid","description":"Id of the assignment status","type":"string","example":"00000000-0000-0000-0000-000000000000"},"phase":{"format":"int32","description":"The state of an activity.\r\nNotStarted=0;\r\nInProgress=1;\r\nFinished=2;\r\nToBeGraded=15;\r\nResubmitRequired=16;0 = Not Started, 1 = In Progress, 2 = Finished, 15 = To Be Graded, 16 = Resubmit Required","enum":[0,1,2,15,16],"type":"integer"},"result":{"format":"int32","description":"When an Activity/Enrollment is in the completed state an ActivityResult describes what the end result is.\r\nNotGraded=0;\r\nPassing=1;\r\nFailing=2;0 = Not Graded, 1 = Passed, 2 = Failed","enum":[0,1,2],"type":"integer"},"resubmit_required_reason":{"description":"Why the assignment must be resubmitted (if applicable)","type":"string"},"academic_override":{"description":"True if this assignment has been academically overridden by an admin","type":"boolean"},"academic_override_reason":{"description":"Why the assignment was academically overridden (if applicable)","type":"string"},"utc_creation_date":{"format":"date-time","description":"When this assignment status was created","type":"string"},"utc_first_activity_date":{"format":"date-time","description":"When the assignment first had activity (if applicable)","type":"string"},"utc_last_activity_date":{"format":"date-time","description":"When the assignment last had activity (if applicable)","type":"string"},"utc_completion_date":{"format":"date-time","description":"When the assignment was completed by the student (if applicable)","type":"string"},"academic_override_admin_id":{"format":"uuid","description":"Id of the admin who edited the assignment status (if applicable)","type":"string","example":"00000000-0000-0000-0000-000000000000"},"grade_given_by_id":{"format":"uuid","description":"Id of the instructor or other operator that gave this grade.\r\nShould be null if the grade was system assigned","type":"string","example":"00000000-0000-0000-0000-000000000000"},"assignment_id":{"format":"uuid","description":"Id of the assignment for this assignment status","type":"string","example":"00000000-0000-0000-0000-000000000000"},"enrollment_id":{"format":"uuid","description":"Id of the enrollment for this assignment status","type":"string","example":"00000000-0000-0000-0000-000000000000"},"user_id":{"format":"uuid","description":"Id of the user tied to the assignment status enrollment","type":"string","example":"00000000-0000-0000-0000-000000000000"},"enrollment_score":{"format":"int32","description":"The Score of this enrollment","type":"integer"},"enrollment_max_score":{"format":"double","description":"The Max Score of this enrollment","type":"number"},"assignment_score":{"format":"int32","description":"The Score of this assignment","type":"integer"},"assignment_max_score":{"format":"double","description":"The Max Score of this assignment","type":"number"},"assignment_mastery_score":{"format":"double","description":"The Mastery Score of this assignment","type":"number"},"assignment_weight":{"format":"double","description":"The Weight of this assignment","type":"number"},"assignment_weighted_score":{"format":"","description":"The Weighted Score of this assignment","type":"number"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"CertificateUrlResponse":{"title":"CertificateUrlResponse","description":"Contains the url of a completed certificate","default":{"certificate_url":"http://www.nexportcampus.com/suborg/controller/action?foo=bar","certificate_ready":false,"certificate_not_assigned":false,"api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["certificate_url","certificate_ready","certificate_not_assigned","api_error_entity"],"type":"object","properties":{"certificate_url":{"description":"Url pointing to completed certificate pdf","type":"string"},"certificate_ready":{"description":"Returns true if the certificate is ready to be downloaded.","type":"boolean"},"certificate_not_assigned":{"description":"Will be set to TRUE if the Syllabus (Traning Plan or Section) for this enrollment has no assigned certificate.","type":"boolean"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"GetSectionsRequest":{"title":"Get Sections Filter","description":"","required":["sections"],"type":"object","properties":{"sections":{"description":"List of section IDs of sections to return","type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}}},"example":{"sections":["d3029a12-ab76-414a-b7eb-c0d4aafd06a9","fec5da0e-32d9-4056-b3b5-c54a7fd1e520","995b7be6-65ff-4e0e-b8c0-c000998911f8"]}},"GetSectionsResponse":{"title":"Get Sections Result","description":"Contains relevant section information","required":["sections","api_error_entity"],"type":"object","properties":{"sections":{"description":"Array of sections","type":"array","items":{"$ref":"#/definitions/SectionResponse"}},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}},"example":{"sections":[{"section_number":"SN 01 wRJqg","section_ceus":".2 CEUs","section_duration":"2 hours","id":"3bad587c-316a-4e9e-9a7c-dc24bbfe1760","syllabus_id":"3bad587c-316a-4e9e-9a7c-dc24bbfe1760","title":"Sample title","unique_name":"Sample name","utc_date_created":"2015-11-25T19:25:24.731+00:00","utc_date_last_modified":"2015-12-25T19:25:24.731+00:00","hidden":false,"disable_certificates_for_student":false,"allow_drops":false,"auto_enroll_new_members":false,"enrollment_duration":3,"enrollment_start":"2015-12-15T19:25:24.731+00:00","enrollment_end":"2016-04-23T19:25:24.731+00:00","final_drop_date":"2016-04-23T19:25:24.731+00:00","training_start":"2015-12-25T19:25:24.731+00:00","training_end":"2016-04-23T19:25:24.731+00:00","disable_manual_enrollment":false,"credit_hours":5.0,"api_error_entity":{"error_code":0,"warning_messages":[]}},{"section_number":"SN 01 ENRYY","section_ceus":".2 CEUs","section_duration":"2 hours","id":"e79db0e3-1a73-45ec-a116-aaeffbc989c3","syllabus_id":"e79db0e3-1a73-45ec-a116-aaeffbc989c3","title":"Sample title","unique_name":"Sample name","utc_date_created":"2015-11-25T19:25:24.731+00:00","utc_date_last_modified":"2015-12-25T19:25:24.731+00:00","hidden":false,"disable_certificates_for_student":false,"allow_drops":false,"auto_enroll_new_members":false,"enrollment_duration":3,"enrollment_start":"2015-12-15T19:25:24.731+00:00","enrollment_end":"2016-04-23T19:25:24.731+00:00","final_drop_date":"2016-04-23T19:25:24.731+00:00","training_start":"2015-12-25T19:25:24.731+00:00","training_end":"2016-04-23T19:25:24.731+00:00","disable_manual_enrollment":false,"credit_hours":5.0,"api_error_entity":{"error_code":0,"warning_messages":[]}},{"section_number":"SN 01 KPiyj","section_ceus":".2 CEUs","section_duration":"2 hours","id":"8b01018c-5937-4f09-bdae-f077c92bea4f","syllabus_id":"8b01018c-5937-4f09-bdae-f077c92bea4f","title":"Sample title","unique_name":"Sample name","utc_date_created":"2015-11-25T19:25:24.731+00:00","utc_date_last_modified":"2015-12-25T19:25:24.731+00:00","hidden":false,"disable_certificates_for_student":false,"allow_drops":false,"auto_enroll_new_members":false,"enrollment_duration":3,"enrollment_start":"2015-12-15T19:25:24.731+00:00","enrollment_end":"2016-04-23T19:25:24.731+00:00","final_drop_date":"2016-04-23T19:25:24.731+00:00","training_start":"2015-12-25T19:25:24.731+00:00","training_end":"2016-04-23T19:25:24.731+00:00","disable_manual_enrollment":false,"credit_hours":5.0,"api_error_entity":{"error_code":0,"warning_messages":[]}},{"section_number":"SN 01 zUymg","section_ceus":".2 CEUs","section_duration":"2 hours","id":"dea1cbb9-2ca3-4c1e-a1e5-fc07b1e4c26a","syllabus_id":"dea1cbb9-2ca3-4c1e-a1e5-fc07b1e4c26a","title":"Sample title","unique_name":"Sample name","utc_date_created":"2015-11-25T19:25:24.731+00:00","utc_date_last_modified":"2015-12-25T19:25:24.731+00:00","hidden":false,"disable_certificates_for_student":false,"allow_drops":false,"auto_enroll_new_members":false,"enrollment_duration":3,"enrollment_start":"2015-12-15T19:25:24.731+00:00","enrollment_end":"2016-04-23T19:25:24.731+00:00","final_drop_date":"2016-04-23T19:25:24.731+00:00","training_start":"2015-12-25T19:25:24.731+00:00","training_end":"2016-04-23T19:25:24.731+00:00","disable_manual_enrollment":false,"credit_hours":5.0,"api_error_entity":{"error_code":0,"warning_messages":[]}}],"api_error_entity":{"error_code":0,"warning_messages":[]}}},"GetDescriptionResponse":{"title":"GetDescriptionResponse","description":"Contains description of section/training plan/etc.","default":{"description":"Sample description","api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["description","api_error_entity"],"type":"object","properties":{"description":{"description":"Description of section or training plan, etc.","type":"string"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"GetObjectivesResponse":{"title":"GetObjectivesResponse","description":"Contains section objectives","default":{"objectives":"Sample objectives","api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["objectives","api_error_entity"],"type":"object","properties":{"objectives":{"description":"Objectives of the section","type":"string"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"GetStudentSessionsRequest":{"description":"Request Message for retrieving student sessions","required":["user_id","org_id","from_date","paging"],"type":"object","properties":{"user_id":{"format":"uuid","description":"User ID of the student sessions being searched for being searched","type":"string","example":"00000000-0000-0000-0000-000000000000"},"org_id":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"section_id":{"format":"uuid","description":"If provided then the results will be limited to this one section id","type":"string","example":"00000000-0000-0000-0000-000000000000"},"from_date":{"format":"date-time","type":"string"},"to_date":{"format":"date-time","type":"string"},"paging":{"$ref":"#/definitions/ApiPaginationOptions"}},"example":{"user_id":"75ca5d4c-c0f4-4790-b64f-89145c5a4cb7","org_id":"a626b5ac-1da8-424f-840c-b15766d88da1","from_date":"2026-10-25T06:03:27.5266291Z","to_date":"2026-11-14T06:03:27.5266291Z","paging":{"page":1,"per_page":15}}},"ApiPaginationOptions":{"description":"Describe the page number and records per page","required":["page","per_page"],"type":"object","properties":{"page":{"format":"int32","description":"The page of records to retrieve","type":"integer"},"per_page":{"format":"int32","description":"How many records per page","type":"integer"}},"example":{"page":4,"per_page":20}},"AssignmentSessionsResponse":{"required":["page","page_size","total_count","api_error_entity"],"type":"object","properties":{"sessions":{"type":"array","items":{"$ref":"#/definitions/AssignmentSession"}},"page":{"format":"int32","description":"The one based index of the current page","type":"integer"},"page_size":{"format":"int32","description":"Requested page size","type":"integer"},"total_count":{"format":"int32","description":"Number of records across ALL pages","type":"integer"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}},"example":{"sessions":[],"page":5,"page_size":15,"total_count":28,"api_error_entity":{"error_code":0,"warning_messages":[]}}},"AssignmentSession":{"type":"object","properties":{"assignment_id":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"user_id":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"enrollment_id":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"organization_id":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"section_id":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"order":{"format":"int64","type":"integer"},"utc_start":{"format":"date-time","type":"string"},"utc_end":{"format":"date-time","type":"string"},"id":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}}},"TrainingPlanResponse":{"title":"TrainingPlanResponse","description":"Contains relevant training plan information","default":{"org_id":"12345678-1234-5678-9abc-123456789abc","name":"Sample name","root_requirement_id":"12345678-1234-5678-9abc-123456789abc","id":"12345678-1234-5678-9abc-123456789abc","syllabus_id":"12345678-1234-5678-9abc-123456789abc","title":"Sample title","unique_name":"Sample name","utc_date_created":"2015-12-25T19:25:24.731+00:00","utc_date_last_modified":"2015-12-25T19:25:24.731+00:00","hidden":false,"disable_certificates_for_student":false,"allow_drops":false,"auto_enroll_new_members":false,"enrollment_duration":3,"enrollment_start":"2015-12-25T19:25:24.731+00:00","enrollment_end":"2015-12-25T19:25:24.731+00:00","final_drop_date":"2015-12-25T19:25:24.731+00:00","training_start":"2015-12-25T19:25:24.731+00:00","training_end":"2015-12-25T19:25:24.731+00:00","disable_manual_enrollment":false,"credit_hours":5.0,"api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["syllabus_id","title","enrollment_duration","enrollment_start","enrollment_end","final_drop_date","training_end","api_error_entity"],"type":"object","properties":{"org_id":{"format":"uuid","description":"Id of the organization this training plan belongs to","type":"string","example":"00000000-0000-0000-0000-000000000000"},"name":{"description":"Name of the Training Plan","type":"string"},"root_requirement_id":{"format":"uuid","description":"Id of the root requirement for this training plan","type":"string","example":"00000000-0000-0000-0000-000000000000"},"syllabus_id":{"format":"uuid","description":"Id of the syllabus","type":"string","example":"00000000-0000-0000-0000-000000000000"},"title":{"description":"Title for this syllabus","type":"string"},"unique_name":{"description":"UniqueName is meant to be a simple way to map a user defined identifier to\r\nto specific a syllabus without the risk of duplicates. The advantage over using\r\nthe Id is that it can be moved from one syllabus to another.","type":"string"},"utc_date_created":{"format":"date-time","description":"When this syllabus was created","type":"string"},"utc_date_last_modified":{"format":"date-time","description":"When this syllabus was last modified","type":"string"},"hidden":{"description":"Does the section show up on the enrollment list?","type":"boolean"},"disable_certificates_for_student":{"description":"Can the student print their own certificate","type":"boolean"},"allow_drops":{"description":"Are students allowed to drop the section on their own?","type":"boolean"},"auto_enroll_new_members":{"description":"Should groups auto-enroll new members into this section?","type":"boolean"},"end_after_period_from_enrollment_start":{"description":"Use EnrollmentDuration in calculating course end date","type":"boolean"},"enrollment_duration":{"format":"int32","description":"Duration of enrollment from enrollmentDate","type":"integer"},"enrollment_start":{"format":"date-time","description":"The first day that the student can be enrolled into this section","type":"string"},"enrollment_end":{"format":"date-time","description":"The last day that the student can be enrolled into this section","type":"string"},"final_drop_date":{"format":"date-time","description":"The last day that the student can drop this section","type":"string"},"training_start":{"format":"date-time","description":"When the section opens for launching.","type":"string"},"training_end":{"format":"date-time","description":"When the section closes.","type":"string"},"disable_manual_enrollment":{"description":"This controls whether or not the student can enroll themselves from the catalog view.\r\nAdministrators should still be able to enroll a student AND the student should still be able to purchase in the Marketplace if it's available for enrollment\r\nDon't use this in the model.","type":"boolean"},"credit_hours":{"format":"","description":"How many credit hours this syllabus is worth.","type":"number"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"AssignmentResponse":{"title":"AssignmentResponse","description":"Contains details of an assignment","default":{"id":"12345678-1234-5678-9abc-123456789abc","assignment_id":"12345678-1234-5678-9abc-123456789abc","title":"Sample title","pacing_duration_hours":3,"weight":13.5,"due_date_deduction":10,"due_date_strategy":1,"utc_due_date":"2015-12-25T19:25:24.731+00:00","utc_start_date":"2015-12-25T19:25:24.731+00:00","lock_out_hours":5,"utc_date_modified":"2015-12-25T19:25:24.731+00:00","utc_date_added":"2015-12-25T19:25:24.731+00:00","grading_strategy":0,"max_score":100.0,"mastery_score":70.0,"display_order":4,"assignment_type":"Test Assignment","attempt_limit":3,"api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["assignment_id","title","pacing_duration_hours","weight","due_date_deduction","utc_due_date","utc_start_date","lock_out_hours","max_score","mastery_score","assignment_type","api_error_entity"],"type":"object","properties":{"assignment_id":{"format":"uuid","description":"Id of the assignment","type":"string","example":"00000000-0000-0000-0000-000000000000"},"title":{"description":"Corresponds to Caption/Title/Topic field in Assignment.\r\nGets the raw VTL template for this field.","type":"string"},"pacing_duration_hours":{"format":"int32","description":"The amount of time a student is credited for completing this assignment towards their calculated pace.\r\nThis does not represent the amount of time that a student spends in an assignments such as session time BUT it rather respresents the amount of total calendar \r\ntime given to the student to complete an assignment.","type":"integer"},"weight":{"format":"double","description":"Determines how much this assignment affects the student's grade","type":"number"},"due_date_deduction":{"format":"int32","description":"How many points are deducted for turning the assignment in late","type":"integer"},"due_date_strategy":{"format":"int32","description":"How a late assignment is handled.\r\nFailAfterDueDate=0;\r\nApplyPenalty=1;\r\nTakeNoAction=2;0 = Fail After Due Date, 1 = Apply Penalty, 2 = Take No Action","enum":[0,1,2],"type":"integer"},"utc_due_date":{"format":"date-time","description":"When the assignment is due","type":"string"},"utc_start_date":{"format":"date-time","description":"When the assignment becomes available","type":"string"},"lock_out_hours":{"format":"int32","description":"The number of hours that must pass since the enrollment date before this assignment is available.","type":"integer"},"utc_date_modified":{"format":"date-time","description":"When the assignment was last modified","type":"string"},"utc_date_added":{"format":"date-time","description":"When this assignment was added","type":"string"},"grading_strategy":{"format":"int32","description":"ManuallyGraded=0;\r\nInternal=2;\r\nNoGrade=3;0 = ManuallyGradedAssignmentType, 2 = InternallyGradedAssignmentType, 3 = NoGradeAssignmentType","enum":[0,2,3],"type":"integer"},"max_score":{"format":"double","description":"The highest attainable score for this assignment","type":"number"},"mastery_score":{"format":"double","description":"The minimum score required to attain mastery of an assignment","type":"number"},"display_order":{"format":"int64","description":"Used for sorting","type":"integer"},"assignment_type":{"description":"The type of assignment. Can be any of the following:\r\nCourseware Assignment;\r\nDiscussion Assignment;\r\nMedia Assignment;\r\nQuality Assurance Assignment;\r\nSwappable Assignment;\r\nTest Assignment;\r\nSurvey Assignment;\r\nWriting Assignment;\r\nStudent Input Assignment;","type":"string"},"attempt_limit":{"format":"int32","description":"For test assignments, how many atttempts a student is allowed before they are no longer able to take the test","type":"integer"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"GetAssignmentInstructionsResponse":{"title":"GetAssignmentInstructionsResponse","description":"Contains instructions for an assignment","default":{"assignment_instructions":"Sample instructions","api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["assignment_instructions","api_error_entity"],"type":"object","properties":{"assignment_instructions":{"description":"Instructions for an assignment","type":"string"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"CatalogRequest":{"description":"Contains information for retrieving catalog data","required":["group_id"],"type":"object","properties":{"group_id":{"format":"uuid","description":"Id of group or organization","type":"string","example":"00000000-0000-0000-0000-000000000000"},"publishing_model":{"format":"int32","description":"The publishing model for the catalogs. Will grab all by default if not specified.\r\nAvailableToMembers=0;\r\nForSaleInMarketPlace=1;\r\nHidden=2;0 = AvailableToMembers, 1 = ForSaleInMarketPlace, 2 = Hidden","enum":[0,1,2],"type":"integer"},"catalog_access_option":{"format":"int32","description":"The accessing option for listing the catalogs. Default to shared catalogs if not specified.\r\nShared=0;\r\nOwned=1;\r\nBoth=2;0 = Shared, 1 = Owned, 2 = Both","enum":[0,1,2],"type":"integer"}}},"CatalogResponse":{"description":"Contains list of catalog response items.","required":["catalogs","api_error_entity"],"type":"object","properties":{"catalogs":{"description":"List of catalog response items matching search criteria","type":"array","items":{"$ref":"#/definitions/CatalogResponseItem"}},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"CatalogResponseItem":{"title":"CatalogResponseItem","description":"Exposes the public fields of a Nexport catalog for use with the\r\nweb api","default":{"org_id":"12345678-1234-5678-9abc-123456789abc","org_name":"Test Organization","org_short_name":"testorg","id":"12345678-1234-5678-9abc-123456789abc","catalog_id":"12345678-1234-5678-9abc-123456789abc","is_enabled":true,"name":"Sample name","date_created":"2015-12-25T19:25:24.731+00:00","owner_id":"12345678-1234-5678-9abc-123456789abc","owner_name":"fname lname","modified_by_id":"12345678-1234-5678-9abc-123456789abc","last_modified":"2015-12-25T19:25:24.731+00:00","pricing_model":1,"access_time_limit":"1.02:30:45","publishing_model":1},"required":["org_id","org_name","org_short_name","catalog_id","name"],"type":"object","properties":{"org_id":{"format":"uuid","description":"Id of the organization that this catalog belongs to","type":"string","example":"00000000-0000-0000-0000-000000000000"},"org_name":{"description":"Name of the organization that this catalog belongs to","type":"string"},"org_short_name":{"description":"Short name of the organization that this catalog belongs to","type":"string"},"catalog_id":{"format":"uuid","description":"Id of the catalog","type":"string","example":"00000000-0000-0000-0000-000000000000"},"is_enabled":{"description":"Whether the catalog is enabled or disabled","type":"boolean"},"name":{"description":"Name of the catalog","type":"string"},"date_created":{"format":"date-time","description":"When the catalog was created","type":"string"},"owner_id":{"format":"uuid","description":"Id of the user that owns this catalog","type":"string","example":"00000000-0000-0000-0000-000000000000"},"owner_name":{"description":"Name of the user that owns this catalog","type":"string"},"modified_by_id":{"format":"uuid","description":"Id of the user that modified this catalog","type":"string","example":"00000000-0000-0000-0000-000000000000"},"last_modified":{"format":"date-time","description":"When the catalog was last modified","type":"string"},"pricing_model":{"format":"int32","description":"The entire catalog uses a single PricingModel.\r\nThis property determines HOW prices are set for items in the catalog.\r\nNone=0;\r\nPerHourPrice=1;\r\nPerItemPrice=2;0 = None, 1 = PerHour, 2 = PerItem","enum":[0,1,2],"type":"integer"},"access_time_limit":{"description":"This property applies to users that have purchased the catalog. This is the timespan that the student has after redeeming this catalog\r\nto have access to it. The time starts when the catalog is redeemed and the catalog is available until this amount of time has passed.","type":"string"},"publishing_model":{"format":"int32","description":"This property controls how this catalog is made available to users.\r\nAvailableToMembers=0;\r\nForSaleInMarketPlace=1;\r\nHidden=2;0 = AvailableToMembers, 1 = ForSaleInMarketPlace, 2 = Hidden","enum":[0,1,2],"type":"integer"}}},"GetCatalogCreditHoursResponse":{"title":"GetCatalogCreditHoursResponse","description":"Contains the total credit hours of the catalog","default":{"credit_hours":10.0,"api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["credit_hours","api_error_entity"],"type":"object","properties":{"credit_hours":{"format":"","description":"Total credit hours based on the credit hours of sections and training plan in the catalog","type":"number"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"CategoryResponseItem":{"title":"CategoryResponseItem","description":"Exposes the public members of the Nexport category for use with the\r\nweb api","default":{"id":"12345678-1234-5678-9abc-123456789abc","category_id":"12345678-1234-5678-9abc-123456789abc","name":"Sample name","catalog_id":"12345678-1234-5678-9abc-123456789abc","org_id":"12345678-1234-5678-9abc-123456789abc","parent_category_id":"12345678-1234-5678-9abc-123456789abc","date_created":"2015-12-25T19:25:24.731+00:00"},"required":["category_id","name","catalog_id","org_id","parent_category_id"],"type":"object","properties":{"category_id":{"format":"uuid","description":"Id of the category","type":"string","example":"00000000-0000-0000-0000-000000000000"},"name":{"description":"The name of the Category","type":"string"},"catalog_id":{"format":"uuid","description":"Id of the catalog in which the category belongs to","type":"string","example":"00000000-0000-0000-0000-000000000000"},"org_id":{"format":"uuid","description":"Id of the organization in which the category belongs to","type":"string","example":"00000000-0000-0000-0000-000000000000"},"parent_category_id":{"format":"uuid","description":"Id of the category's parent category","type":"string","example":"00000000-0000-0000-0000-000000000000"},"date_created":{"format":"date-time","description":"When this category was created","type":"string"}}},"GetSyllabiResponseItem":{"title":"GetSyllabiResponseItem","description":"Item for a list of syllabi. Contains syllabus name, type, and product id","default":{"id":"12345678-1234-5678-9abc-123456789abc","syllabus_id":"12345678-1234-5678-9abc-123456789abc","syllabus_name":"Sample name","syllabus_type":0,"product_id":"12345678-1234-5678-9abc-123456789abc","api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["syllabus_id","syllabus_type","api_error_entity"],"type":"object","properties":{"syllabus_id":{"format":"uuid","description":"Id of the syllabus","type":"string","example":"00000000-0000-0000-0000-000000000000"},"syllabus_name":{"description":"Name of the syllabus","type":"string"},"syllabus_type":{"format":"int32","description":"Section=0;\r\nTrainingPlan=1;\r\nUnknown=-1;0 = Section, 1 = Training Plan, -1 = Unknown","enum":[0,1,-1],"type":"integer"},"product_id":{"format":"uuid","description":"Product ID is derived from the catalog. The Product ID is used when adding an item to an invoice.","type":"string","example":"00000000-0000-0000-0000-000000000000"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"GetCmiDataRequest":{"description":"Contains information for filtering which SCORM CMI data to retrieve","required":["enrollment_id","assignment_id","cmi_element_names"],"type":"object","properties":{"enrollment_id":{"format":"uuid","description":"Id of the enrollment to get SCORM data for","type":"string","example":"00000000-0000-0000-0000-000000000000"},"assignment_id":{"format":"uuid","description":"Id of the assignment to get SCORM data for","type":"string","example":"00000000-0000-0000-0000-000000000000"},"cmi_element_names":{"description":"List of CMI element names to get data for","type":"array","items":{"type":"string"}}}},"GetCmiDataResponseItem":{"title":"GetCmiDataResponseItem","description":"Contains list of CMI fields/values as well as start and end date for the attempt, the title, and the sco id","default":{"title":"Sample title","sco_id":"I_SCO0","start_date_utc":"2015-12-25T19:25:24.731+00:00","exit_date_utc":"2015-12-25T19:25:24.731+00:00","cmi_fields":[{"cmi_element_name":"cmi.core.lesson_status","cmi_element_value":"incomplete"},{"cmi_element_name":"cmi.core.exit"},{"cmi_element_name":"cmi.core.invalid_name","cmi_element_value":"","error_message":"401 - Not Implemented Error"}],"api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["title","sco_id","cmi_fields","api_error_entity"],"type":"object","properties":{"title":{"description":"Title for the SCO","type":"string"},"sco_id":{"description":"ID for the SCO","type":"string"},"start_date_utc":{"format":"date-time","description":"When the student started this SCO","type":"string"},"exit_date_utc":{"format":"date-time","description":"When the student exited this SCO","type":"string"},"cmi_fields":{"description":"List of objects containing field name, field value, and error code if applicable","type":"array","items":{"$ref":"#/definitions/CmiField"}},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"CmiField":{"description":"Represents a SCO CMI field and the value, as well as error information if applicable","required":["cmi_element_name"],"type":"object","properties":{"cmi_element_name":{"description":"Name of the CMI Element","type":"string"},"cmi_element_value":{"description":"Value of the CMI Element. Empty string in the case of an error.\r\nValue will be excluded if it is null.","type":"string"},"error_message":{"description":"If an error occurred processing this element, then a message will be added.\r\nNull if no error occurred.","type":"string"}}},"CreateInvoiceMessageRequest":{"description":"Contains fields for creating an invoice","required":["purchasing_agent_id"],"type":"object","properties":{"purchasing_agent_id":{"format":"uuid","description":"Id of the purchasing agent for the invoice. This must be a user id.","type":"string","example":"00000000-0000-0000-0000-000000000000"},"organization_id":{"format":"uuid","description":"Id of the organization that the invoice belongs to. Usually this is the Organization that made the sale.","type":"string","example":"00000000-0000-0000-0000-000000000000"},"purchasing_group_id":{"format":"uuid","description":"Id of the organization or group that is purchasing this wholesale. This must be the ID of a Group or Organization within your NexPort directory.","type":"string","example":"00000000-0000-0000-0000-000000000000"},"note":{"description":"Optional note for the invoice","type":"string"}}},"BeginInvoiceTransactionResponse":{"title":"BeginInvoiceTransactionResponse","description":"Contains the id of the created invoice","default":{"invoice_id":"12345678-1234-5678-9abc-123456789abc","api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["invoice_id","api_error_entity"],"type":"object","properties":{"invoice_id":{"format":"uuid","description":"Id of the created invoice","type":"string","example":"00000000-0000-0000-0000-000000000000"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"GetInvoiceResponse":{"title":"GetInvoiceResponse","description":"Represents an invoice that was created within nexport.","default":{"id":"12345678-1234-5678-9abc-123456789abc","purchasing_agent":"12345678-1234-5678-9abc-123456789abc","sales_agent":"12345678-1234-5678-9abc-123456789abc","state":0,"invoice_items":[],"utc_creation_date":"0001-01-01T00:00:00","api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["id","purchasing_agent","sales_agent","state","invoice_items","utc_creation_date","api_error_entity"],"type":"object","properties":{"id":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"purchasing_agent":{"format":"uuid","description":"User ID of the user that is purchasing the items on this invoice","type":"string","example":"00000000-0000-0000-0000-000000000000"},"sales_agent":{"format":"uuid","description":"User Id of the user that is selling the items","type":"string","example":"00000000-0000-0000-0000-000000000000"},"state":{"format":"int32","description":"The transaction state:\r\n<para>0=Open (Not Commited)</para><para>1=Commited</para><para>-1=Failed</para>0 = Opened, 1 = Committed, -1 = Failed","enum":[0,1,-1],"type":"integer"},"invoice_items":{"description":"List of invoice items added to this invoice","type":"array","items":{"$ref":"#/definitions/InvoiceItemResponse"}},"utc_creation_date":{"format":"date-time","type":"string"},"utc_date_committed":{"format":"date-time","type":"string"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"InvoiceItemResponse":{"description":"Details about the invoice item on the invoice","required":["id","product_id","purchasing_group_id","product_type"],"type":"object","properties":{"id":{"format":"uuid","description":"ID of the associated Invoice Item","type":"string","example":"00000000-0000-0000-0000-000000000000"},"product_id":{"format":"uuid","description":"Product ID from the NexPort Catalog","type":"string","example":"00000000-0000-0000-0000-000000000000"},"purchasing_group_id":{"format":"uuid","description":"ID of the Group or Organization that owns this invoice item","type":"string","example":"00000000-0000-0000-0000-000000000000"},"product_type":{"format":"int32","description":"0 = Syllabus, 1 = Catalog, 2 = ShippingAndHandling, 3 = Taxes, 4 = Other, 5 = OpenEnded","enum":[0,1,2,3,4,5],"type":"integer"},"funding_pool":{"type":"string"},"utc_redemption_available_date":{"format":"date-time","description":"Redemption available date for the invoice item","type":"string"}}},"ApiNotFoundResponse":{"description":"Used to describea not found type","required":["api_error_entity"],"type":"object","properties":{"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"GetInvoiceItemResponse":{"description":"Response to the GetInvoiceItem API Call","required":["invoice_item","invoice_item_redemption","api_error_entity"],"type":"object","properties":{"invoice_item":{"$ref":"#/definitions/InvoiceItemResponse","description":"The requested invoice item"},"invoice_item_redemption":{"$ref":"#/definitions/InvoiceRedemptionResponse","description":"The requested invoice item redemption"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"InvoiceRedemptionResponse":{"title":"InvoiceRedemptionResponse","description":"Invoice redemption information","default":{"id":"12345678-1234-5678-9abc-123456789abc","redemption_id":"12345678-1234-5678-9abc-123456789abc","invoice_item_id":"12345678-1234-5678-9abc-123456789abc","invoice_id":"12345678-1234-5678-9abc-123456789abc","redemption_type":0,"redemption_enrollment_id":"12345678-1234-5678-9abc-123456789abc","utc_redemption_date":"2015-12-25T19:25:24.731+00:00","utc_expiration_date":"2015-12-25T19:25:24.731+00:00","redemption_user_id":"12345678-1234-5678-9abc-123456789abc","redemption_user_last_name":"lname","redemption_user_first_name":"fname","redemption_user_login":"foo_login","redemption_user_email":"email@test.com","redemption_code":"ark-abcd1234","organization_id":"12345678-1234-5678-9abc-123456789abc","organization_name":"Test Organization","organization_short_name":"testorg","catalog_id":"12345678-1234-5678-9abc-123456789abc","catalog_name":"Sample name","catalog_description":"Sample description","catalog_pricing_model":2,"catalog_access_time_limit":"1.02:30:45","utc_catalog_creation_date":"2015-12-25T19:25:24.731+00:00","utc_catalog_modified_date":"2015-12-25T19:25:24.731+00:00","syllabus_id":"12345678-1234-5678-9abc-123456789abc","syllabus_title":"Sample title","syllabus_unique_name":"Sample name","syllabus_description":"Sample description","syllabus_certificate_id":"12345678-1234-5678-9abc-123456789abc","syllabus_credit_hours":3.0,"syllabus_section_number":"SN 101","syllabus_section_ceus":".2 CEUs","syllabus_section_duration":"2 hours","syllabus_section_objectives":"Sample objectives","utc_syllabus_creation_date":"2015-12-25T19:25:24.731+00:00","utc_syllabus_modified_date":"2015-12-25T19:25:24.731+00:00","api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["redemption_id","invoice_item_id","invoice_id","organization_id","organization_name","organization_short_name","api_error_entity"],"type":"object","properties":{"redemption_id":{"format":"uuid","description":"Id of the invoice redemption","type":"string","example":"00000000-0000-0000-0000-000000000000"},"invoice_item_id":{"format":"uuid","description":"Id of the invoice item this redemption corresponds to","type":"string","example":"00000000-0000-0000-0000-000000000000"},"invoice_id":{"format":"uuid","description":"Id of the invoice this redemption corresponds to","type":"string","example":"00000000-0000-0000-0000-000000000000"},"redemption_type":{"format":"int32","description":"Section=0;\r\nTrainingPlan=1;\r\nCatalog=2;\r\nUnknown=-1;0 = Section, 1 = TrainingPlan, 2 = Catalog, -1 = Unknown","enum":[0,1,2,-1],"type":"integer"},"redemption_enrollment_id":{"format":"uuid","description":"Id of the enrollment this redemption corresponds to","type":"string","example":"00000000-0000-0000-0000-000000000000"},"utc_redemption_date":{"format":"date-time","description":"When this invoice redemption was redeemed","type":"string"},"utc_expiration_date":{"format":"date-time","description":"When this invoice redemption expires","type":"string"},"redemption_user_id":{"format":"uuid","description":"The id of the user that has redeemed this invoice redemption","type":"string","example":"00000000-0000-0000-0000-000000000000"},"redemption_user_last_name":{"description":"The last name of the user that has redeemed this invoice redemption","type":"string"},"redemption_user_first_name":{"description":"The first name of the user that has redeemed this invoice redemption","type":"string"},"redemption_user_login":{"description":"The login of the user that has redeemed this invoice redemption","type":"string"},"redemption_user_email":{"description":"The email address of the user that has redeemed this invoice redemption","type":"string"},"redemption_code":{"description":"The redemption code corresponding to this redemption","type":"string"},"organization_id":{"format":"uuid","description":"Id of the organization this redemption belongs to","type":"string","example":"00000000-0000-0000-0000-000000000000"},"organization_name":{"description":"Name of the organization this redemption belongs to","type":"string"},"organization_short_name":{"description":"Short name of the organization this redemption belongs to","type":"string"},"catalog_id":{"format":"uuid","description":"Id of the catalog that the redemption belongs to. Will be null if the {Nexport.WebApi.Model.v1.InvoiceRedemptionResponse.RedemptionType} is not {Nexport.Models.PointOfSale.RedemptionTypeEnum.Catalog}","type":"string","example":"00000000-0000-0000-0000-000000000000"},"catalog_name":{"description":"Name of the catalog that the redemption belongs to. Will be null if the {Nexport.WebApi.Model.v1.InvoiceRedemptionResponse.RedemptionType} is not {Nexport.Models.PointOfSale.RedemptionTypeEnum.Catalog}","type":"string"},"catalog_description":{"description":"Description of the catalog that the redemption belongs to. Will be null if the {Nexport.WebApi.Model.v1.InvoiceRedemptionResponse.RedemptionType} is not {Nexport.Models.PointOfSale.RedemptionTypeEnum.Catalog}","type":"string"},"catalog_pricing_model":{"format":"int32","description":"Pricing model of the catalog that the redemption belongs to\r\nNone=0;\r\nPerHourPrice=1;\r\nPerItemPrice=2;0 = None, 1 = PerHour, 2 = PerItem","enum":[0,1,2],"type":"integer"},"catalog_access_time_limit":{"description":"How long the catalog is available","type":"string"},"utc_catalog_creation_date":{"format":"date-time","description":"When the catalog was created","type":"string"},"utc_catalog_modified_date":{"format":"date-time","description":"When the catalog was last modified","type":"string"},"syllabus_id":{"format":"uuid","description":"Id of the syllabus that this redemption belongs to","type":"string","example":"00000000-0000-0000-0000-000000000000"},"syllabus_title":{"description":"Title of the syllabus this redemption belongs to","type":"string"},"syllabus_unique_name":{"description":"Unique name of the syllabus this redemption belongs to","type":"string"},"syllabus_description":{"description":"Description of the syllabus this redemption belongs to","type":"string"},"syllabus_certificate_id":{"format":"uuid","description":"Id of the syllabus certificate","type":"string","example":"00000000-0000-0000-0000-000000000000"},"syllabus_disable_certificates_for_student":{"description":"Whether or not syllabus certificates are disabled for the student","type":"boolean"},"syllabus_credit_hours":{"format":"","description":"Number of credit hours the syllabus is worth","type":"number"},"syllabus_section_number":{"description":"Section number of the syllabus this redemption belongs to","type":"string"},"syllabus_section_ceus":{"description":"Section CEUs of the syllabus this redemption belongs to","type":"string"},"syllabus_section_duration":{"description":"Section duration of the syllabus this redemption belongs to","type":"string"},"syllabus_section_objectives":{"description":"Section objectives of the syllabus this redemption belongs to","type":"string"},"utc_syllabus_creation_date":{"format":"date-time","description":"When the syllabus was created","type":"string"},"utc_syllabus_modified_date":{"format":"date-time","description":"When the syllabus was last modified","type":"string"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"CreateInvoiceItemRequest":{"description":"Contains fields for creating an invoice item","required":["invoice_id","product_id"],"type":"object","properties":{"invoice_id":{"format":"uuid","description":"Id of the invoice to create an invoice item for","type":"string","example":"00000000-0000-0000-0000-000000000000"},"product_id":{"format":"uuid","description":"ProductId from GetCatalog/CategorySyllabi","type":"string","example":"00000000-0000-0000-0000-000000000000"},"product_type":{"format":"int32","description":"Default is Syllabus.\r\nSyllabus=0;\r\nCatalog=1;\r\nShippingAndHandling=2;\r\nTaxes=3;\r\nOther=4;\r\nOpenEnded=5;0 = Syllabus, 1 = Catalog, 2 = ShippingAndHandling, 3 = Taxes, 4 = Other, 5 = OpenEnded","enum":[0,1,2,3,4,5],"type":"integer"},"cost":{"format":"","description":"Cost in USD","type":"number"},"note":{"description":"Invoice item note","type":"string"},"utc_access_expiration_date":{"format":"date-time","description":"Can be used to set the redemption expiration date once a redemption is created for this invoice item.\r\nRedemption expiration will be set based on UtcAccessExpirationDate first if it is set.","type":"string"},"access_expiration_time_limit":{"description":"Can be used to calculate the redemption expiration date once a redemption is created for this invoice item.\r\nRedemption will be set based on AccessExpirationTimeLimit if UtcAccessExpirationDate is not set.\r\nRedemption expiration date will be set to redemption date + AccessExpirationTimeLimit.","type":"string"},"subscription_org_id":{"format":"uuid","description":"Can be used to create the subscription within the specified organization for the student when the invoice item is redeemed.\r\nEnrollment associated with this invoice item will also be created for the subscription.","type":"string","example":"00000000-0000-0000-0000-000000000000"},"purchasing_group_id":{"format":"uuid","description":"Used in wholesale purchases to associate invoice items with specific groups or orgs. This means the item was sold to the specified purchasing group.\r\nIf no group is specified then the purchasing group from the invoice will be used.","type":"string","example":"00000000-0000-0000-0000-000000000000"},"group_membership_ids":{"description":"Can be used to create the membership within the specified groups for the student when the invoice item is redeemed.","type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"funding_pool":{"description":"Used for organizations to group purchased items and track those groupings.","type":"string"},"utc_redemption_available_date":{"format":"date-time","description":"Used to restrict when a redemption can be created for this invoice item,\r\ni.e. redemptions can't be created until after the specified date.","type":"string"}}},"AddInvoiceItemResponse":{"title":"AddInvoiceItemResponse","description":"Contains the id of the created invoice item","default":{"invoice_item_id":"12345678-1234-5678-9abc-123456789abc","api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["invoice_item_id","api_error_entity"],"type":"object","properties":{"invoice_item_id":{"format":"uuid","description":"Id of the created invoice item","type":"string","example":"00000000-0000-0000-0000-000000000000"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"CreateInvoiceItemsRequest":{"required":["invoice_id","product_id"],"type":"object","properties":{"quantity":{"format":"int32","description":"This is the number of invoice items to create with the same information.","type":"integer"},"invoice_id":{"format":"uuid","description":"Id of the invoice to create an invoice item for","type":"string","example":"00000000-0000-0000-0000-000000000000"},"product_id":{"format":"uuid","description":"ProductId from GetCatalog/CategorySyllabi","type":"string","example":"00000000-0000-0000-0000-000000000000"},"product_type":{"format":"int32","description":"Default is Syllabus.\r\nSyllabus=0;\r\nCatalog=1;\r\nShippingAndHandling=2;\r\nTaxes=3;\r\nOther=4;\r\nOpenEnded=5;0 = Syllabus, 1 = Catalog, 2 = ShippingAndHandling, 3 = Taxes, 4 = Other, 5 = OpenEnded","enum":[0,1,2,3,4,5],"type":"integer"},"cost":{"format":"","description":"Cost in USD","type":"number"},"note":{"description":"Invoice item note","type":"string"},"utc_access_expiration_date":{"format":"date-time","description":"Can be used to set the redemption expiration date once a redemption is created for this invoice item.\r\nRedemption expiration will be set based on UtcAccessExpirationDate first if it is set.","type":"string"},"access_expiration_time_limit":{"description":"Can be used to calculate the redemption expiration date once a redemption is created for this invoice item.\r\nRedemption will be set based on AccessExpirationTimeLimit if UtcAccessExpirationDate is not set.\r\nRedemption expiration date will be set to redemption date + AccessExpirationTimeLimit.","type":"string"},"subscription_org_id":{"format":"uuid","description":"Can be used to create the subscription within the specified organization for the student when the invoice item is redeemed.\r\nEnrollment associated with this invoice item will also be created for the subscription.","type":"string","example":"00000000-0000-0000-0000-000000000000"},"purchasing_group_id":{"format":"uuid","description":"Used in wholesale purchases to associate invoice items with specific groups or orgs. This means the item was sold to the specified purchasing group.\r\nIf no group is specified then the purchasing group from the invoice will be used.","type":"string","example":"00000000-0000-0000-0000-000000000000"},"group_membership_ids":{"description":"Can be used to create the membership within the specified groups for the student when the invoice item is redeemed.","type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"funding_pool":{"description":"Used for organizations to group purchased items and track those groupings.","type":"string"},"utc_redemption_available_date":{"format":"date-time","description":"Used to restrict when a redemption can be created for this invoice item,\r\ni.e. redemptions can't be created until after the specified date.","type":"string"}}},"AddInvoiceItemsResponse":{"title":"AddInvoiceItemsResponse","default":{"invoice_item_ids":["12345678-1234-5678-9abc-123456789abc"],"api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["invoice_item_ids","api_error_entity"],"type":"object","properties":{"invoice_item_ids":{"description":"Ids of the created invoice items","type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"InvoicePaymentRequest":{"description":"Information for creating an invoice payment","required":["invoice_id","merchant_account_id","payee_id","payment_processor","payment_processor_transaction_id","amount_usd","utc_payment_date"],"type":"object","properties":{"invoice_id":{"format":"uuid","description":"Id of the invoice that the payment is for","type":"string","example":"00000000-0000-0000-0000-000000000000"},"payment_collector_id":{"format":"uuid","description":"Id of the user collecting payment (not used in 5.2; CurrentUser is used instead)","type":"string","example":"00000000-0000-0000-0000-000000000000"},"merchant_account_id":{"format":"uuid","description":"Id of the account that the payment goes to","type":"string","example":"00000000-0000-0000-0000-000000000000"},"payee_id":{"format":"uuid","description":"Id of user that payment is being collected from","type":"string","example":"00000000-0000-0000-0000-000000000000"},"payment_processor":{"format":"int32","description":"Cash=0;\r\nCheck=1;\r\nPayPal=2;\r\nNopCommercePlugin=3;\r\nDiscountOrCoupon=4;\r\nOther=1000;0 = Cash, 1 = Check, 2 = PayPal, 3 = NopCommercePlugin, 4 = DiscountOrCoupon, 1000 = Other","enum":[0,1,2,3,4,1000],"type":"integer"},"payment_processor_transaction_id":{"description":"Id to help track the transaction information for the payment processor","type":"string"},"amount_usd":{"format":"","description":"Amount being paid","type":"number"},"utc_payment_date":{"format":"date-time","description":"Date that the payment is made","type":"string"},"note":{"description":"Optional note for the invoice payment","type":"string"}}},"AddInvoicePaymentResponse":{"title":"AddInvoicePaymentResponse","description":"Contains id of the created invoice payment","default":{"invoice_item_id":"12345678-1234-5678-9abc-123456789abc","api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["invoice_payment_id","api_error_entity"],"type":"object","properties":{"invoice_payment_id":{"format":"uuid","description":"Id of the created invoice payment","type":"string","example":"00000000-0000-0000-0000-000000000000"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"InvoiceScheduledPaymentRequest":{"description":"Information for creating an invoice scheduled payment","required":["invoice_id"],"type":"object","properties":{"invoice_id":{"format":"uuid","description":"Id of the invoice that the payment will be made to","type":"string","example":"00000000-0000-0000-0000-000000000000"},"amount_usd":{"format":"","description":"Amount of the payment","type":"number"},"utc_due_date":{"format":"date-time","description":"When the payment is due","type":"string"},"note":{"description":"Optional note for the scheduled payment","type":"string"}}},"AddInvoiceScheduledPaymentResponse":{"title":"AddInvoiceScheduledPaymentResponse","description":"Contains id of the created invoice scheduled payment","default":{"invoice_scheduled_payment_id":"12345678-1234-5678-9abc-123456789abc","api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["invoice_scheduled_payment_id","api_error_entity"],"type":"object","properties":{"invoice_scheduled_payment_id":{"format":"uuid","description":"Id of the created invoice scheduled payment","type":"string","example":"00000000-0000-0000-0000-000000000000"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"CommitInvoiceRequest":{"description":"Contains information for committing an invoice and creating redemptions\r\nif necessary","required":["invoice_id"],"type":"object","properties":{"invoice_id":{"format":"uuid","description":"Id of the invoice to commit","type":"string","example":"00000000-0000-0000-0000-000000000000"}}},"CommitInvoiceResponse":{"title":"CommitInvoiceResponse","description":"Contains invoice redemption codes created from the CommitInvoiceTransaction method","default":{"invoice_redemption_code":"ark-abcd1234","invoice_item_redemption_codes":{"12345678-1234-5678-9abc-123456789abc":"bat-abcd1234","1234abcd-1234-abcd-1234-123456abcdef":"cat-abcd1234"},"api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["api_error_entity"],"type":"object","properties":{"invoice_redemption_code":{"description":"A unique yet friendly Invoice Number that users can reference when speaking to Customer Support","type":"string"},"invoice_item_redemption_codes":{"description":"Contains ids of invoice items and their redemption codes","type":"object","additionalProperties":{"type":"string"}},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"UpdateInvoiceItemRequest":{"title":"UpdateInvoiceItemRequest","description":"Contains fields for redeeming an invoice item","default":{"invoice_item_id":"00000000-0000-0000-0000-000000000000","data":{"product_id":"f8ce6d03-f870-4834-9b5a-9daa94fff139","product_type":0,"cost_usd":100.0,"utc_access_expiration_date":"2026-12-04T06:03:27.7015842Z","access_expiration_time_limit":"10.00:00:00","note":"Updated invoice item","product_code":"452345235-sdf","is_renewal":true,"subscription_org_id":"5367af5e-8643-44a7-bb47-6ad0a7788da0","group_memberships":["dd277146-6503-4582-adc4-b6ed3418a327"],"purchasing_group_id":"67b51727-5a91-41e4-9650-e05f50572f6b","funding_pool":"Accounting Funding Pool","utc_redemption_available_date":"2026-11-24T06:03:27.7015842Z"}},"type":"object","properties":{"invoice_item_id":{"format":"uuid","description":"Id of the invoice item to update","type":"string","example":"00000000-0000-0000-0000-000000000000"},"data":{"$ref":"#/definitions/UpdatedInvoiceFields","description":"Fields to update"}}},"UpdatedInvoiceFields":{"description":"Represents the fields that can be updated for an invoice item.","type":"object","properties":{"product_id":{"format":"uuid","description":"Gets or sets the unique identifier of the product.","type":"string","example":"00000000-0000-0000-0000-000000000000"},"product_type":{"format":"int32","description":"Gets or sets the type of the product.0 = Syllabus, 1 = Catalog, 2 = ShippingAndHandling, 3 = Taxes, 4 = Other, 5 = OpenEnded","enum":[0,1,2,3,4,5],"type":"integer"},"cost_usd":{"format":"","description":"Gets or sets the cost of the product in USD.","type":"number"},"utc_access_expiration_date":{"format":"date-time","description":"Gets or sets the UTC expiration date for access to the product.","type":"string"},"access_expiration_time_limit":{"description":"Gets or sets the time limit for access expiration.","type":"string"},"note":{"description":"Concatenates this note to the invoice item","type":"string"},"product_code":{"description":"Gets or sets the product code.","type":"string"},"is_renewal":{"description":"Gets or sets a value indicating whether the product is a renewal.","type":"boolean"},"subscription_org_id":{"format":"uuid","description":"Gets or sets the unique identifier of the subscription organization.","type":"string","example":"00000000-0000-0000-0000-000000000000"},"group_memberships":{"description":"REPLACES group memberships associated with the invoice item.\r\nTHIS WILL DELETE EXISTING MEMBERSHIP INSTRUCTIONS","type":"array","items":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"}},"purchasing_group_id":{"format":"uuid","description":"Gets or sets the unique identifier of the purchasing group.","type":"string","example":"00000000-0000-0000-0000-000000000000"},"funding_pool":{"description":"Gets or sets the funding pool associated with the invoice item.","type":"string"},"utc_redemption_available_date":{"format":"date-time","description":"Gets or sets the UTC date when redemption becomes available.","type":"string"}}},"UpdateInvoiceItemResponse":{"description":"Contains invoice redemption codes created from the CommitInvoiceTransaction method","required":["api_error_entity"],"type":"object","properties":{"invoice_item_id":{"format":"uuid","description":"Id of the invoice item updated","type":"string","example":"00000000-0000-0000-0000-000000000000"},"invoice_id":{"format":"uuid","description":"Id of the associated invoice","type":"string","example":"00000000-0000-0000-0000-000000000000"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"RedeemInvoiceItemRequest":{"title":"RedeemInvoiceItemRequest","description":"Contains fields for redeeming an invoice item","default":{"invoice_item_id":"00000000-0000-0000-0000-000000000000","redemption_id":"00000000-0000-0000-0000-000000000000","invoice_item_redemption_code":"ark-abcd1234","redeeming_user_id":"00000000-0000-0000-0000-000000000000","redemption_action_type":0,"note":"Sample string value","remote_system_name":"Marketplace","redemption_admin_id":"00000000-0000-0000-0000-000000000000"},"required":["redeeming_user_id","product_id"],"type":"object","properties":{"invoice_item_id":{"format":"uuid","description":"Id of the invoice item to redeem","type":"string","example":"00000000-0000-0000-0000-000000000000"},"redemption_id":{"format":"uuid","description":"Id of the redemption to redeem","type":"string","example":"00000000-0000-0000-0000-000000000000"},"invoice_item_redemption_code":{"description":"Redemption code on the invoice item to redeem","type":"string"},"redeeming_user_id":{"format":"uuid","description":"Id of the user that is redeeming the invoice item","type":"string","example":"00000000-0000-0000-0000-000000000000"},"redemption_action_type":{"format":"int32","description":"Renew redemption updates the expiration on an existing enrollment.\r\nDelete finished enrollment will also create a new enrollment.\r\nDefault is normal redemption (creates an enrollment).\r\nNormalRedemption=1;\r\nDeleteFinishedEnrollment=20;\r\nRenewRedemption=30;0 = InvalidRedemption, 1 = NormalRedemption, 20 = DeleteFinishedEnrollment, 30 = RenewRedemption, 40 = RestartEnrollment","enum":[0,1,20,30,40],"type":"integer"},"note":{"description":"Optional note to be included with the redemption creation audit log.","type":"string"},"remote_system_name":{"description":"Name of the remote system redeeming the invoice item, i.e. \"Marketplace\".","type":"string"},"redemption_admin_id":{"format":"uuid","description":"Id of the admin who assigned the redemption. Will be set to current API user if not provided.","type":"string","example":"00000000-0000-0000-0000-000000000000"},"product_id":{"format":"uuid","description":"ProductId from GetCatalog/CategorySyllabi","type":"string","example":"00000000-0000-0000-0000-000000000000"},"product_type":{"format":"int32","description":"Default is Syllabus.\r\nSyllabus=0;\r\nCatalog=1;\r\nShippingAndHandling=2;\r\nTaxes=3;\r\nOther=4;\r\nOpenEnded=5;0 = Syllabus, 1 = Catalog, 2 = ShippingAndHandling, 3 = Taxes, 4 = Other, 5 = OpenEnded","enum":[0,1,2,3,4,5],"type":"integer"},"invoice_updates":{"$ref":"#/definitions/UpdatedInvoiceFields","description":"If not null then these invoice updates will be applied prior to redeeming the invoice item.\r\n<remarks>If a redemption already exists and the redemption id is used for this then the redemption will not be updated with the new invoice item fields. This only works on invoice items that have no redemption created yet.</remarks>"}}},"ResetInvoiceRedemptionRequest":{"required":["invoice_item_id"],"type":"object","properties":{"invoice_item_id":{"format":"uuid","description":"Id of the invoice whose redemption is to be reset","type":"string","example":"00000000-0000-0000-0000-000000000000"},"note":{"description":"Optional note to be included with the redemption creation audit log.","type":"string"},"remote_system_name":{"description":"Name of the remote system resetting the invoice item, i.e. \"Marketplace\".","type":"string"},"redemption_reset_admin_id":{"format":"uuid","description":"Id of the admin who assigned the redemption. Will be set to current Api user Id if not provided.","type":"string","example":"00000000-0000-0000-0000-000000000000"}}},"ResetInvoiceRedemptionResponse":{"title":"ResetInvoiceRedemptionResponse","description":"Includes the updated Invoice and Redemption Information for the reset operation","default":{"new-redemption":{"id":"12345678-1234-5678-9abc-123456789abc","redemption_id":"12345678-1234-5678-9abc-123456789abc","invoice_item_id":"12345678-1234-5678-9abc-123456789abc","invoice_id":"12345678-1234-5678-9abc-123456789abc","redemption_type":0,"redemption_enrollment_id":"12345678-1234-5678-9abc-123456789abc","utc_redemption_date":"2015-12-25T19:25:24.731+00:00","utc_expiration_date":"2015-12-25T19:25:24.731+00:00","redemption_user_id":"12345678-1234-5678-9abc-123456789abc","redemption_user_last_name":"lname","redemption_user_first_name":"fname","redemption_user_login":"foo_login","redemption_user_email":"email@test.com","redemption_code":"ark-abcd1234","organization_id":"12345678-1234-5678-9abc-123456789abc","organization_name":"Test Organization","organization_short_name":"testorg","catalog_id":"12345678-1234-5678-9abc-123456789abc","catalog_name":"Sample name","catalog_description":"Sample description","catalog_pricing_model":2,"catalog_access_time_limit":"1.02:30:45","utc_catalog_creation_date":"2015-12-25T19:25:24.731+00:00","utc_catalog_modified_date":"2015-12-25T19:25:24.731+00:00","syllabus_id":"12345678-1234-5678-9abc-123456789abc","syllabus_title":"Sample title","syllabus_unique_name":"Sample name","syllabus_description":"Sample description","syllabus_certificate_id":"12345678-1234-5678-9abc-123456789abc","syllabus_credit_hours":3.0,"syllabus_section_number":"SN 101","syllabus_section_ceus":".2 CEUs","syllabus_section_duration":"2 hours","syllabus_section_objectives":"Sample objectives","utc_syllabus_creation_date":"2015-12-25T19:25:24.731+00:00","utc_syllabus_modified_date":"2015-12-25T19:25:24.731+00:00","api_error_entity":{"error_code":0,"warning_messages":[]}},"invoice-item":{"id":"00000000-0000-0000-0000-000000000000","product_type":0},"api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["api_error_entity"],"type":"object","properties":{"new-redemption":{"$ref":"#/definitions/InvoiceRedemptionResponse","description":"The new redemption created after the reset. If the reset fails or no redemption is found then this will be null."},"invoice-item":{"$ref":"#/definitions/InvoiceItemResponse","description":"The invoice item this redemption is being reset for"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"PostmanCollectionGet":{"description":"[Postman](http://getpostman.com) collection representation","type":"object","properties":{"id":{"format":"uuid","description":"Id of collection","type":"string","example":"00000000-0000-0000-0000-000000000000"},"name":{"description":"Name of collection","type":"string"},"timestamp":{"format":"int64","description":"Collection generation time","type":"integer"},"requests":{"description":"Requests associated with the collection","type":"array","items":{"$ref":"#/definitions/PostmanRequestGet"}},"synced":{"description":"**unused always false**","type":"boolean"},"folders":{"description":"folders within the collection","type":"array","items":{"$ref":"#/definitions/PostmanFolderGet"}},"description":{"description":"Description of collection","type":"string"},"order":{"type":"array","items":{"type":"string"}}}},"PostmanRequestGet":{"description":"[Postman](http://getpostman.com) request object","type":"object","properties":{"id":{"description":"id of request","type":"string"},"headers":{"description":"headers associated with the request","type":"string"},"url":{"description":"url of the request","type":"string"},"pathVariables":{"description":"path variables of the request","type":"object","additionalProperties":{"type":"string"}},"method":{"description":"method of request","type":"string"},"data":{"description":"data to be sent with the request","type":"string"},"dataMode":{"description":"data mode of reqeust","type":"string"},"name":{"description":"name of request","type":"string"},"description":{"description":"request description","type":"string"},"descriptionFormat":{"description":"format of description","type":"string"},"time":{"format":"int64","description":"time that this request object was generated","type":"integer"},"version":{"description":"version of the request object","type":"string"},"responses":{"description":"request response","type":"array","items":{"type":"string"}},"collectionId":{"format":"uuid","description":"the id of the collection that the request object belongs to","type":"string","example":"00000000-0000-0000-0000-000000000000"},"synced":{"description":"Synching","type":"boolean"},"folder":{"format":"uuid","description":"THE ID OF THE POSTMAN FOLDER THIS REQUEST BELONGS IN!!!!!!!","type":"string","example":"00000000-0000-0000-0000-000000000000"}}},"PostmanFolderGet":{"description":"Object that describes a [Postman](http://getpostman.com) folder","type":"object","properties":{"id":{"format":"uuid","description":"id of the folder","type":"string","example":"00000000-0000-0000-0000-000000000000"},"name":{"description":"folder name","type":"string"},"description":{"description":"folder description","type":"string"},"order":{"description":"ordered list of ids of items in folder","type":"array","items":{"type":"string"}},"collectionName":{"description":"Name of the collection","type":"string"},"collectionId":{"format":"uuid","description":"id of the collection","type":"string","example":"00000000-0000-0000-0000-000000000000"}}},"EditScormDataRequest":{"description":"Contains fields for editing a student's SCORM courseware attempt","required":["assignment_status_id","sco_id"],"type":"object","properties":{"assignment_status_id":{"format":"uuid","description":"Id of the assignment status to edit SCORM data for","type":"string","example":"00000000-0000-0000-0000-000000000000"},"sco_id":{"description":"ScoId from GetCmiData","type":"string"},"title":{"description":"Title for the lesson","type":"string"},"start_date_utc":{"format":"date-time","description":"When this attempt was started","type":"string"},"exit_date_utc":{"format":"date-time","description":"When the user exited this attempt","type":"string"},"lesson_mode":{"description":"\"browse\", \"normal\", or \"review\"","type":"string"},"lesson_status":{"description":"This is the current student status as determined by the LMS system.\r\n\"passed\", \"completed\", \"failed\", \"incomplete\", \"browsed\", or \"not attempted\"","type":"string"},"lesson_location":{"description":"This corresponds to the point in the lesson at which the student exited the SCO.\r\nThis can be used to determine where the student will start the course the next time\r\nit is launched.","type":"string"},"exit_status":{"description":"Indicates how the learner left the SCO.\r\n\"normal\" or \"suspend\"","type":"string"},"session_time":{"description":"Identifies the amount of time the learner\r\nhas spent in the current instance of the\r\nSCO.","type":"string"},"total_time":{"description":"Stores the learner’s cumulative time for all\r\nsessions of a specific SCO for a given\r\nlearner attempt.","type":"string"},"raw_score":{"format":"float","description":"Number that reflects the performance of the learner","type":"number"},"suspend_data":{"description":"Provides space to store and retrieve data between learner sessions","type":"string"},"entry":{"description":"Indicates whether the learner has\r\npreviously accessed the SCO.\r\n\"ab-initio\", \"resume\", or \"\" (empty string)","type":"string"},"preference_language":{"description":"The student’s preferred language for SCOs with multilingual capability","type":"string"},"preference_speed":{"format":"int32","description":"The learner’s preferred relative speed of content delivery","type":"integer"},"for_credit":{"description":"Indicates whether the learner will be credited for performance in the SCO","type":"boolean"}}},"EditScormDataResponse":{"title":"EditScormDataResponse","description":"Simply returns the base response with error information if applicable","default":{"api_error_entity":{"error_code":3,"error_message":"No entity found matching id in request","warning_messages":[]}},"required":["api_error_entity"],"type":"object","properties":{"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"SsoRequest":{"description":"A request for an SSO token. Use user_id and org_id OR just use subscription_id for specifying the subscription.","type":"object","properties":{"display":{"format":"int32","description":"Dictates whether to use the normal student display or an alternate \"no chrome\" display which\r\nremoves the NexPort header and menu items from the top of the page.\r\nNormal=0;\r\nNoChrome=1;0 = Normal, 1 = NoChrome","enum":[0,1],"type":"integer"},"user_id":{"format":"uuid","description":"Id of the user being signed in","type":"string","example":"00000000-0000-0000-0000-000000000000"},"org_id":{"format":"uuid","description":"Id of the organization the user has a subscription in","type":"string","example":"00000000-0000-0000-0000-000000000000"},"subscription_id":{"format":"uuid","description":"Id of the subscription. Use this if user_id and org_id are not supplied.","type":"string","example":"00000000-0000-0000-0000-000000000000"},"redirect_entity_request":{"$ref":"#/definitions/RedirectEntityRequest","description":"Contains fields for redirecting an Sso user based on certain conditions"}}},"RedirectEntityRequest":{"description":"Contains fields for redirecting an Sso user based on certain conditions","type":"object","properties":{"logout_url":{"description":"Url to redirect user to upon logging out","type":"string"},"invalid_token_url":{"description":"Url to redirect user to if they have an invalid authentication token","type":"string"},"expired_token_url":{"description":"Url to redirect user to if they have an expired authentication token","type":"string"}}},"SsoResponse":{"title":"SsoResponse","description":"Contains response information for an SSO request","default":{"url":"http://www.nexportcampus.com/suborg/controller/action?foo=bar","access_token":"12345678-1234-5678-9abc-123456789abc","token_type":"bearer","expires_in":3600,"api_error_entity":{"error_code":0,"warning_messages":[]}},"required":["url","access_token","token_type","api_error_entity"],"type":"object","properties":{"url":{"description":"Url to redirect to after SSO authentication","type":"string"},"access_token":{"format":"uuid","description":"REQUIRED.  The access token issued by the authorization server.","type":"string","example":"00000000-0000-0000-0000-000000000000"},"token_type":{"description":"  REQUIRED.  The type of the token issued as described in\r\nSection 7.1.  Value is case insensitive.","type":"string"},"expires_in":{"format":"int32","description":" RECOMMENDED.  The lifetime in seconds of the access token.  For\r\nexample, the value \"3600\" denotes that the access token will\r\nexpire in one hour from the time the response was generated.\r\nIf omitted, the authorization server SHOULD provide the\r\nexpiration time via other means or document the default value.\r\nThis field will be excluded from the response if the client provides\r\na specific expiration date in the request.","type":"integer"},"api_error_entity":{"$ref":"#/definitions/ApiErrorEntity","description":"Error information"}}},"ClassroomSsoRequest":{"description":"Class for retrieving the url of the classroom student view","required":["enrollment_id"],"type":"object","properties":{"display":{"format":"int32","description":"Dictates whether to use the normal student display or an alternate \"no chrome\" display which\r\nremoves the NexPort header and menu items from the top of the page.\r\nNormal=0;\r\nNoChrome=1;0 = Normal, 1 = NoChrome","enum":[0,1],"type":"integer"},"enrollment_id":{"format":"uuid","description":"Id of the enrollment","type":"string","example":"00000000-0000-0000-0000-000000000000"},"redirect_entity_request":{"$ref":"#/definitions/RedirectEntityRequest","description":"Contains fields for redirecting an Sso user based on certain conditions"}}}},"securityDefinitions":{"access_token":{"type":"apiKey","description":"API Key Authentication","in":"query"}}}