PowerPlatformConnectors/certified-connectors/CobbleStone - Contract Insight
nizarhandal c34ea95cd7
Adding CobbleStone Connector to CSS_Connector (#1595)
* Adding CobbleStone Connector to CSS_Connector

* Fixes to CSS connector

All problems are fixed.

* Moved to certified connectors

Moved it to certified folder to be publicly published.

* Fixed description for Get Endpoint

Put value for 'description' property in /paths/~1CSSAPI~1v2~1{entityName}~1Get/post/responses/400

* Update apiDefinition.swagger.json

1) Fixed Pascal Case
2) Fixed version

* Fix operationId properties

Co-authored-by: Nizar Handal <nhandal@css.cobblestonesoftware.com>
Co-authored-by: v-EgorKozhadei <105671031+v-EgorKozhadei@users.noreply.github.com>
2022-06-22 20:38:52 +02:00
..
images Adding CobbleStone Connector to CSS_Connector (#1595) 2022-06-22 20:38:52 +02:00
Readme.md Adding CobbleStone Connector to CSS_Connector (#1595) 2022-06-22 20:38:52 +02:00
apiDefinition.swagger.json Adding CobbleStone Connector to CSS_Connector (#1595) 2022-06-22 20:38:52 +02:00
apiProperties.json Adding CobbleStone Connector to CSS_Connector (#1595) 2022-06-22 20:38:52 +02:00

Readme.md

Overview

Cobblestones Contract Insight has the ability to send and receive information to other web services using an Application Programming Interface or API. This guide assumes the reader has some familiarity with topics such as APIs, JSON formatting, and Swagger, at a minimum.

Authorization (OAUTH 2.0)

Creating an API Client

From a Web Browser

Within their core system, a system administrator can navigate to the following to configure credentials for use on the API*:

(NOTE: This is under the "My" top menu item and then select "My API Clients")

This allows a system admin to create OAuth 2.0 credentials (Client ID and Client Secret) for use with the REST API

From Contract Insight

To begin, you will open Contract Insight and go under My > My API Clients…

image

Create a new API Client entry by clicking Add API Client and give it a unique name. The name is only internal and can be anything meaningful to its purpose. We recommend using a different API key to organize things into small, manageable, and purposeful tasks.

image

This will generate a key and only admin personnel have access to the page. It is bound the the person who generated the key and they are the only one who can see it. You can share they key but only the logged in user can see it.

image

At this point we are done setting up the API Client entry.

Supported endpoints

  • Get: Pull list of records for a given entity with specific criteria, order by tag, group by tag and number of records. Note: There is no limit on number of records to be pulled but the user has to consider that larger results will be slower to process.
  • Add: Add a record (limited to one record per call) to specified entity. The response will be the system generated ID.
  • Update: Update record(s) for a specified entity/area with specific criteria and a TriggerWorkflow as flag to run workflow after the update request succeeds or not. Maximum number of records that can be updated is 500 per call.
  • Schema: Lists columns, data types, and any restrictions or flags (NULL, Length, Primary Key, etc.) in a table.
  • List of entities: Returns the list of names and three flagged properties indicating whether it can be edited, updated, or viewed/queried.