1.0.0 • Published 4 years ago

infinite_blue_platform_rest_v20 v1.0.0

Weekly downloads
1
License
Apache 2.0
Repository
-
Last release
4 years ago

infinite_blue_platform_rest_v20

InfiniteBluePlatformRestV20 - JavaScript client for infinite_blue_platform_rest_v20 Rest v2.0 APIs This SDK is automatically generated by the Swagger Codegen project:

  • API version: 1.0
  • Package version: 1.0
  • Build package: io.swagger.codegen.v3.generators.javascript.JavaScriptClientCodegen

Installation

For Node.js

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm install infinite_blue_platform_rest_v20 --save

git

If the library is hosted at a git repository, e.g. https://github.com/GIT_USER_ID/GIT_REPO_ID then install it via:

    npm install GIT_USER_ID/GIT_REPO_ID --save

For browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file):

browserify main.js > bundle.js

Then include bundle.js in the HTML pages.

Webpack Configuration

Using Webpack you may encounter the following error: "Module not found: Error: Cannot resolve module", most certainly you should disable AMD loader. Add/merge the following section to your webpack config:

module: {
  rules: [
    {
      parser: {
        amd: false
      }
    }
  ]
}

Getting Started

Please follow the installation instruction and execute the following JS code:

var InfiniteBluePlatformRestV20 = require('infinite_blue_platform_rest_v20');
var defaultClient = InfiniteBluePlatformRestV20.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['JWT'] = "Token"

var api = new InfiniteBluePlatformRestV20.AdminApi()
var body = new InfiniteBluePlatformRestV20.Body6(); // {Body6} Authentication Proifle Record

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createAuthenticationProfile(body, callback);

Documentation for API Endpoints

All URIs are relative to /prod1/api2/

ClassMethodHTTP requestDescription
InfiniteBluePlatformRestV20.AdminApicreateAuthenticationProfilePOST /admin/authenticationprofilesCreates an Authentication Profile
InfiniteBluePlatformRestV20.AdminApideleteAuthenticationProfileDELETE /admin/authenticationprofiles/{authenticationProfileId}Delete an authentication profile with given id
InfiniteBluePlatformRestV20.AdminApigetApplicationPermissionsGET /admin/applications/{appIntegrationName}/permissionsRetrieves application's access permission.
InfiniteBluePlatformRestV20.AdminApigetAuthenticationProfileByIdGET /admin/authenticationprofiles/{authenticationProfileId}Return settings of an authentication profile based on the given authentication profile ID for viewing.
InfiniteBluePlatformRestV20.AdminApigetAuthenticationProfilesGET /admin/authenticationprofilesReturn all authentication profiles list with each profile settings for viewing
InfiniteBluePlatformRestV20.AdminApigetFieldPermissionsGET /admin/objects/{objIntegrationName}/fields/{fieldIntegrationName}/permissionsRetrieves field's access permissions.
InfiniteBluePlatformRestV20.AdminApigetObjectPermissionsGET /admin/objects/{objIntegrationName}/permissions/Retrieves object's access permissions.
InfiniteBluePlatformRestV20.AdminApigetViewPermissionsGET /admin/objects/{objIntegrationName}/views/{viewIntegrationName}/permissionsRetrieves the view's access permission.
InfiniteBluePlatformRestV20.AdminApiupdateApplicationPermissionsPUT /admin/applications/{appIntegrationName}/permissionsUpdates application's access permission.
InfiniteBluePlatformRestV20.AdminApiupdateAuhenticationProfileByIdPUT /admin/authenticationprofiles/{authenticationProfileId}Update an authentication profile by authentication profile ID
InfiniteBluePlatformRestV20.AdminApiupdateFieldPermissionsPUT /admin/objects/{objIntegrationName}/fields/{fieldIntegrationName}/permissionsUpdates the field's access permissions.
InfiniteBluePlatformRestV20.AdminApiupdateObjectPermissionsPUT /admin/objects/{objIntegrationName}/permissions/Updates the object's access permissions.
InfiniteBluePlatformRestV20.AdminApiupdateViewPermissionsPUT /admin/objects/{objIntegrationName}/views/{viewIntegrationName}/permissionsUpdates view's access permission.
InfiniteBluePlatformRestV20.CustomMethodApidoDeleteOnCustomMethodDELETE /custom/{customMethodName}DELETE operation on business method
InfiniteBluePlatformRestV20.CustomMethodApidoGetOnCustomMethodGET /custom/{customMethodName}GET operation on business method
InfiniteBluePlatformRestV20.CustomMethodApidoPostOnCustomMethodPOST /custom/{customMethodName}POST operation on business method
InfiniteBluePlatformRestV20.CustomMethodApidoPutOnCustomMethodPUT /custom/{customMethodName}PUT operation on business method
InfiniteBluePlatformRestV20.CustomersApicreateCustomerRecordPOST /data/customersCreates customer record.
InfiniteBluePlatformRestV20.CustomersApideleteCustomerRecordDELETE /data/customers/{recordId}Delete customer record.
InfiniteBluePlatformRestV20.CustomersApigetCustomerRecordByIdGET /data/customers/{recordId}Get customer record with matching record ID.
InfiniteBluePlatformRestV20.CustomersApigetCustomerRecordsGET /data/customersGet customer records.
InfiniteBluePlatformRestV20.CustomersApigetCustomerRecordsCountGET /data/customers/countRetrieves the total number of customer records in a view.
InfiniteBluePlatformRestV20.CustomersApiupdateCustomerRecordPUT /data/customers/{recordId}Updates an existing customer record.
InfiniteBluePlatformRestV20.MetaApigetApplicationByNameGET /meta/applications/{appIntegrationName}Retrieves the full description of the application for a given application integration name.
InfiniteBluePlatformRestV20.MetaApigetApplicationsGET /meta/applicationsRetrieves the full description of all the applications.
InfiniteBluePlatformRestV20.MetaApigetBatchJobByNameGET /meta/batchJobs/{batchJobIntegrationName}Retrieves the full description the batch job for the given integration name.
InfiniteBluePlatformRestV20.MetaApigetBatchJobsGET /meta/batchJobsRetrieves the full description of all batch jobs.
InfiniteBluePlatformRestV20.MetaApigetDataObjectByNameGET /meta/objects/{objectIntegrationName}Retrieves the full description of all objects for the given object integration name.
InfiniteBluePlatformRestV20.MetaApigetDataObjectsGET /meta/objectsRetrieves the full description of all objects.
InfiniteBluePlatformRestV20.MetaApigetFieldByNameGET /meta/objects/{objectIntegrationName}/fields/{fieldIntegrationName}Retrieves the full description of a field definition.
InfiniteBluePlatformRestV20.MetaApigetFieldsGET /meta/objects/{objectIntegrationName}/fieldsRetrieves the full description of all the fields in a given object definition.
InfiniteBluePlatformRestV20.MetaApigetPortalByNameGET /meta/portals/{portalIntegrationName}Retrieves the full description of the portals for a given portal integration name.
InfiniteBluePlatformRestV20.MetaApigetPortalsGET /meta/portalsRetrieves the full description of all the portals.
InfiniteBluePlatformRestV20.MetaApigetRelationshipByNameGET /meta/objects/{objectIntegrationName}/relationships/{relIntegrationName}Retrieves the full description of a relationship definition.
InfiniteBluePlatformRestV20.MetaApigetRelationshipsGET /meta/objects/{objectIntegrationName}/relationshipsRetrieves the full description of all relationships for the given object integration name.
InfiniteBluePlatformRestV20.MetaApigetRoleByNameGET /meta/roles/{roleIntegrationName}Retrieves the full description of the role for a given integration name.
InfiniteBluePlatformRestV20.MetaApigetRolesGET /meta/roles/Retrieves the full description of all the roles for a given object definition.
InfiniteBluePlatformRestV20.MetaApigetTriggerByNameGET /meta/objects/{objectIntegrationName}/triggers/{triggerIntegrationName}Retrieves the full description of the trigger.
InfiniteBluePlatformRestV20.MetaApigetTriggersGET /meta/objects/{objectIntegrationName}/triggersRetrieves the full description of all triggers for a given object definition.
InfiniteBluePlatformRestV20.MetaApigetViewByNameGET /meta/objects/{objectIntegrationName}/views/{viewIntegrationName}Retrieves the full description of a view definition.
InfiniteBluePlatformRestV20.MetaApigetViewsGET /meta/objects/{objectIntegrationName}/viewsRetrieves the full description of all the views in a given object.
InfiniteBluePlatformRestV20.RecordApicreateDataRecordPOST /data/{objectIntegrationName}Creates a new record.
InfiniteBluePlatformRestV20.RecordApideleteDataRecordDELETE /data/{objectIntegrationName}/{recordId}Moves an object record to recycle bin.
InfiniteBluePlatformRestV20.RecordApigetDataFieldGET /data/{objectIntegrationName}/{recordId}/fields/{fieldIntegrationName}Retrieves the value of a single field from a specific record.
InfiniteBluePlatformRestV20.RecordApigetDataRecordsGET /data/{objectIntegrationName}Retrieves all records of the object.
InfiniteBluePlatformRestV20.RecordApigetRecordByIdGET /data/{objectIntegrationName}/{recordId}Retrieves all field data for a given record.
InfiniteBluePlatformRestV20.RecordApigetRecordsCountGET /data/{objectIntegrationName}/countRetrieves the total number of records in a view.
InfiniteBluePlatformRestV20.RecordApiupdateDataFieldPOST /data/{objectIntegrationName}/{recordId}/fields/{fieldIntegrationName}Sets the value of a single field for a specific record.
InfiniteBluePlatformRestV20.RecordApiupdateDataRecordPUT /data/{objectIntegrationName}/{recordId}Updates an existing record.
InfiniteBluePlatformRestV20.UserResourceApiloginUserPOST /user/loginLogs user into the system
InfiniteBluePlatformRestV20.UserResourceApilogoutUserGET /user/logoutLogs out current logged in user session
InfiniteBluePlatformRestV20.UsersApicreateUserRecordPOST /data/usersCreates a user record
InfiniteBluePlatformRestV20.UsersApideleteUserRecordDELETE /data/users/{loginNameOrRecordId}Deletes a user record.
InfiniteBluePlatformRestV20.UsersApigetLDFIDsGET /data/users/{loginNameOrRecordId}/ldfInfoGet LDF IDs corresponding to each of the dimensions - $ORG_LOCN, $ORG_DEPT and $ORG_FUNC
InfiniteBluePlatformRestV20.UsersApigetUserRecordGET /data/users/{loginNameOrRecordId}Get user record given loginName or user ID.
InfiniteBluePlatformRestV20.UsersApigetUserRecordsGET /data/usersGet user records.
InfiniteBluePlatformRestV20.UsersApigetUserRecordsCountGET /data/users/countRetrieves the total number of User records in a view.
InfiniteBluePlatformRestV20.UsersApiupdateUserRecordPUT /data/users/{loginNameOrRecordId}Updates an existing user record.

Documentation for Models

Documentation for Authorization

api_key

  • Type: API key
  • API key parameter name: JWT
  • Location: HTTP header

basic_auth

  • Type: HTTP basic authentication