Summary of how to ingest data using the CrushBank API
CrushBank offers the ability to ingest data using our REST API. Using the documentation links below, you can ingest data into your CrushBank system.
The endpoints used to ingest data are the following:
- /api/Ingestion/v1/integration
- Allows you to create a specific integration linked with your source data. A successful response will return an id that you will use in the calls below to group your data by integration.
- /api/Ingestion/v1/ticket
- Allows you to ingest ticket related information including work notes and time entries.
- /api/Ingestion/v1/crm
- Allows you to ingest crm related information such as contacts or locations. Includes a properties parameter for key / value pairs.
- /api/Ingestion/v1/config
- Allows you to ingest config related information such as configurations or flexible assets. Includes a properties parameter for key / value pairs.
- /api/Ingestion/v1/documents
- Allows you to ingest individual documents.
Getting Started
- Request a token from the API using your CrushBank Guid and API Key found in Admin and call the following endpoint:
- POST http://externalauthentication.crushbank.com/authenticationtoken/authentication/external
- Save the token for all subsequent calls to create the integration and ingest data.
- Create the integration using the following endpoint and your authentication token above.
- POST http://api.crushbank.com/api/Ingestion/v1/integration
- You will get an id value as the response. Save this value as you will need it for every ingestion call you make.
- You are now ready to ingest data. Using any of the ingestion endpoints above for ticket, crm, config, or document, ingest your data into CrushBank using the id from the integration.
If you have been provided a test instance in our Stage environment please use the following URL's for testing: