import 'package:knowgo/api.dart';
All URIs are relative to https://api.adaptant.io/v1
Method | HTTP request | Description |
---|---|---|
addClassificationToJourney | POST /journeys/{journeyId}/classifications/{classificationId} | Add a new Journey classification for a specific Journey |
addJourney | POST /journeys | Add a new Journey |
createJourneyClassification | POST /journeys/classifications | Create a Journey classification |
deleteJourney | DELETE /journeys/{journeyId} | Delete Journey by ID |
deleteJourneyClassification | DELETE /journeys/classifications/{classificationId} | Delete specified Journey classification |
getJourneyById | GET /journeys/{journeyId} | Find journey by ID |
getJourneyClassificationById | GET /journeys/classifications/{classificationId} | Get Journey classification by classification id |
listJourneyClassifications | GET /journeys/classifications | Return a list of Journey classifications available for a specific user |
listJourneyClassificationsByJourneyId | GET /journeys/{journeyId}/classifications | Return a list of Journey classifications for a specific Journey |
listJourneys | GET /journeys | Return a list of journeys available for a specific user |
listJourneysByUserId | GET /users/{userId}/journeys | Return a list of journeys available for a specific user |
removeClassificationFromJourney | DELETE /journeys/{journeyId}/classifications/{classificationId} | Remove a specific classification from a Journey |
updateJourneyClassificationById | PUT /journeys/classifications/{classificationId} | Update a specified Journey classification |
updateJourneyWithForm | POST /journeys/{journeyId} | Updates a Journey with form data |
addClassificationToJourney(journeyId, classificationId)
Add a new Journey classification for a specific Journey
import 'package:knowgo/api.dart';
// TODO Configure API key authorization: app_id
//defaultApiClient.getAuthentication<ApiKeyAuth>('app_id').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('app_id').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP basic authorization: bearerAuth
//defaultApiClient.getAuthentication<HttpBasicAuth>('bearerAuth').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('bearerAuth').password = 'YOUR_PASSWORD';
// TODO Configure API key authorization: cookieAuth
//defaultApiClient.getAuthentication<ApiKeyAuth>('cookieAuth').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('cookieAuth').apiKeyPrefix = 'Bearer';
var api_instance = JourneysApi();
var journeyId = journeyId_example; // String | ID of Journey that needs to be fetched
var classificationId = 56; // int | ID of classification that needs to be added
try {
api_instance.addClassificationToJourney(journeyId, classificationId);
} catch (e) {
print("Exception when calling JourneysApi->addClassificationToJourney: $e\n");
}
Name | Type | Description | Notes |
---|---|---|---|
journeyId | String | ID of Journey that needs to be fetched | [default to null] |
classificationId | int | ID of classification that needs to be added | [default to null] |
void (empty response body)
app_id, bearerAuth, cookieAuth
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Journey addJourney(journey)
Add a new Journey
Adds a new Journey to the system. The JourneyID as input is ignored, as it is dynamically allocated at insertion time. Journey details may be as complete or as incomplete as needed, with later updates possible via the PUT method. The complete new Journey record with allocated JourneyID are returned upon successful record creation.
import 'package:knowgo/api.dart';
// TODO Configure API key authorization: app_id
//defaultApiClient.getAuthentication<ApiKeyAuth>('app_id').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('app_id').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP basic authorization: bearerAuth
//defaultApiClient.getAuthentication<HttpBasicAuth>('bearerAuth').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('bearerAuth').password = 'YOUR_PASSWORD';
// TODO Configure API key authorization: cookieAuth
//defaultApiClient.getAuthentication<ApiKeyAuth>('cookieAuth').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('cookieAuth').apiKeyPrefix = 'Bearer';
var api_instance = JourneysApi();
var journey = Journey(); // Journey | Journey object to operate on
try {
var result = api_instance.addJourney(journey);
print(result);
} catch (e) {
print("Exception when calling JourneysApi->addJourney: $e\n");
}
Name | Type | Description | Notes |
---|---|---|---|
journey | Journey | Journey object to operate on |
app_id, bearerAuth, cookieAuth
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
JourneyClassifications createJourneyClassification(journeyClassifications)
Create a Journey classification
import 'package:knowgo/api.dart';
// TODO Configure API key authorization: app_id
//defaultApiClient.getAuthentication<ApiKeyAuth>('app_id').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('app_id').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP basic authorization: bearerAuth
//defaultApiClient.getAuthentication<HttpBasicAuth>('bearerAuth').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('bearerAuth').password = 'YOUR_PASSWORD';
// TODO Configure API key authorization: cookieAuth
//defaultApiClient.getAuthentication<ApiKeyAuth>('cookieAuth').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('cookieAuth').apiKeyPrefix = 'Bearer';
var api_instance = JourneysApi();
var journeyClassifications = JourneyClassifications(); // JourneyClassifications |
try {
var result = api_instance.createJourneyClassification(journeyClassifications);
print(result);
} catch (e) {
print("Exception when calling JourneysApi->createJourneyClassification: $e\n");
}
Name | Type | Description | Notes |
---|---|---|---|
journeyClassifications | JourneyClassifications |
app_id, bearerAuth, cookieAuth
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
deleteJourney(journeyId)
Delete Journey by ID
Manual deletion of a defined Journey based on its journeyId.
import 'package:knowgo/api.dart';
// TODO Configure API key authorization: app_id
//defaultApiClient.getAuthentication<ApiKeyAuth>('app_id').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('app_id').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP basic authorization: bearerAuth
//defaultApiClient.getAuthentication<HttpBasicAuth>('bearerAuth').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('bearerAuth').password = 'YOUR_PASSWORD';
// TODO Configure API key authorization: cookieAuth
//defaultApiClient.getAuthentication<ApiKeyAuth>('cookieAuth').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('cookieAuth').apiKeyPrefix = 'Bearer';
var api_instance = JourneysApi();
var journeyId = journeyId_example; // String | ID of the journey to delete
try {
api_instance.deleteJourney(journeyId);
} catch (e) {
print("Exception when calling JourneysApi->deleteJourney: $e\n");
}
Name | Type | Description | Notes |
---|---|---|---|
journeyId | String | ID of the journey to delete | [default to null] |
void (empty response body)
app_id, bearerAuth, cookieAuth
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
deleteJourneyClassification(classificationId)
Delete specified Journey classification
import 'package:knowgo/api.dart';
// TODO Configure API key authorization: app_id
//defaultApiClient.getAuthentication<ApiKeyAuth>('app_id').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('app_id').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP basic authorization: bearerAuth
//defaultApiClient.getAuthentication<HttpBasicAuth>('bearerAuth').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('bearerAuth').password = 'YOUR_PASSWORD';
// TODO Configure API key authorization: cookieAuth
//defaultApiClient.getAuthentication<ApiKeyAuth>('cookieAuth').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('cookieAuth').apiKeyPrefix = 'Bearer';
var api_instance = JourneysApi();
var classificationId = 789; // int | ID of Journey Classification that needs to be fetched
try {
api_instance.deleteJourneyClassification(classificationId);
} catch (e) {
print("Exception when calling JourneysApi->deleteJourneyClassification: $e\n");
}
Name | Type | Description | Notes |
---|---|---|---|
classificationId | int | ID of Journey Classification that needs to be fetched | [default to null] |
void (empty response body)
app_id, bearerAuth, cookieAuth
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Journey getJourneyById(journeyId)
Find journey by ID
import 'package:knowgo/api.dart';
// TODO Configure API key authorization: app_id
//defaultApiClient.getAuthentication<ApiKeyAuth>('app_id').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('app_id').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP basic authorization: bearerAuth
//defaultApiClient.getAuthentication<HttpBasicAuth>('bearerAuth').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('bearerAuth').password = 'YOUR_PASSWORD';
// TODO Configure API key authorization: cookieAuth
//defaultApiClient.getAuthentication<ApiKeyAuth>('cookieAuth').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('cookieAuth').apiKeyPrefix = 'Bearer';
var api_instance = JourneysApi();
var journeyId = journeyId_example; // String | ID of journey that needs to be fetched
try {
var result = api_instance.getJourneyById(journeyId);
print(result);
} catch (e) {
print("Exception when calling JourneysApi->getJourneyById: $e\n");
}
Name | Type | Description | Notes |
---|---|---|---|
journeyId | String | ID of journey that needs to be fetched | [default to null] |
app_id, bearerAuth, cookieAuth
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
JourneyClassifications getJourneyClassificationById(classificationId)
Get Journey classification by classification id
import 'package:knowgo/api.dart';
// TODO Configure API key authorization: app_id
//defaultApiClient.getAuthentication<ApiKeyAuth>('app_id').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('app_id').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP basic authorization: bearerAuth
//defaultApiClient.getAuthentication<HttpBasicAuth>('bearerAuth').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('bearerAuth').password = 'YOUR_PASSWORD';
// TODO Configure API key authorization: cookieAuth
//defaultApiClient.getAuthentication<ApiKeyAuth>('cookieAuth').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('cookieAuth').apiKeyPrefix = 'Bearer';
var api_instance = JourneysApi();
var classificationId = 789; // int | ID of Journey Classification that needs to be fetched
try {
var result = api_instance.getJourneyClassificationById(classificationId);
print(result);
} catch (e) {
print("Exception when calling JourneysApi->getJourneyClassificationById: $e\n");
}
Name | Type | Description | Notes |
---|---|---|---|
classificationId | int | ID of Journey Classification that needs to be fetched | [default to null] |
app_id, bearerAuth, cookieAuth
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List listJourneyClassifications()
Return a list of Journey classifications available for a specific user
Given an authenticated user, return a list of Journey classifications that are available to them.
import 'package:knowgo/api.dart';
// TODO Configure API key authorization: app_id
//defaultApiClient.getAuthentication<ApiKeyAuth>('app_id').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('app_id').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP basic authorization: bearerAuth
//defaultApiClient.getAuthentication<HttpBasicAuth>('bearerAuth').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('bearerAuth').password = 'YOUR_PASSWORD';
// TODO Configure API key authorization: cookieAuth
//defaultApiClient.getAuthentication<ApiKeyAuth>('cookieAuth').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('cookieAuth').apiKeyPrefix = 'Bearer';
var api_instance = JourneysApi();
try {
var result = api_instance.listJourneyClassifications();
print(result);
} catch (e) {
print("Exception when calling JourneysApi->listJourneyClassifications: $e\n");
}
This endpoint does not need any parameter.
app_id, bearerAuth, cookieAuth
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List listJourneyClassificationsByJourneyId(journeyId)
Return a list of Journey classifications for a specific Journey
Given an authenticated user, return a list of Journey classificiations that are available to them within the context of a specific Journey.
import 'package:knowgo/api.dart';
// TODO Configure API key authorization: app_id
//defaultApiClient.getAuthentication<ApiKeyAuth>('app_id').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('app_id').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP basic authorization: bearerAuth
//defaultApiClient.getAuthentication<HttpBasicAuth>('bearerAuth').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('bearerAuth').password = 'YOUR_PASSWORD';
// TODO Configure API key authorization: cookieAuth
//defaultApiClient.getAuthentication<ApiKeyAuth>('cookieAuth').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('cookieAuth').apiKeyPrefix = 'Bearer';
var api_instance = JourneysApi();
var journeyId = journeyId_example; // String | ID of Journey that needs to be fetched
try {
var result = api_instance.listJourneyClassificationsByJourneyId(journeyId);
print(result);
} catch (e) {
print("Exception when calling JourneysApi->listJourneyClassificationsByJourneyId: $e\n");
}
Name | Type | Description | Notes |
---|---|---|---|
journeyId | String | ID of Journey that needs to be fetched | [default to null] |
app_id, bearerAuth, cookieAuth
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List listJourneys()
Return a list of journeys available for a specific user
Given an authenticated user, return a list of journeys that are available to them.
import 'package:knowgo/api.dart';
// TODO Configure API key authorization: app_id
//defaultApiClient.getAuthentication<ApiKeyAuth>('app_id').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('app_id').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP basic authorization: bearerAuth
//defaultApiClient.getAuthentication<HttpBasicAuth>('bearerAuth').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('bearerAuth').password = 'YOUR_PASSWORD';
// TODO Configure API key authorization: cookieAuth
//defaultApiClient.getAuthentication<ApiKeyAuth>('cookieAuth').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('cookieAuth').apiKeyPrefix = 'Bearer';
var api_instance = JourneysApi();
try {
var result = api_instance.listJourneys();
print(result);
} catch (e) {
print("Exception when calling JourneysApi->listJourneys: $e\n");
}
This endpoint does not need any parameter.
app_id, bearerAuth, cookieAuth
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List listJourneysByUserId(userId)
Return a list of journeys available for a specific user
Given an authenticated user, return a list of journeys that are available to them.
import 'package:knowgo/api.dart';
// TODO Configure API key authorization: app_id
//defaultApiClient.getAuthentication<ApiKeyAuth>('app_id').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('app_id').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP basic authorization: bearerAuth
//defaultApiClient.getAuthentication<HttpBasicAuth>('bearerAuth').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('bearerAuth').password = 'YOUR_PASSWORD';
// TODO Configure API key authorization: cookieAuth
//defaultApiClient.getAuthentication<ApiKeyAuth>('cookieAuth').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('cookieAuth').apiKeyPrefix = 'Bearer';
var api_instance = JourneysApi();
var userId = 789; // int | ID of user that needs to be fetched
try {
var result = api_instance.listJourneysByUserId(userId);
print(result);
} catch (e) {
print("Exception when calling JourneysApi->listJourneysByUserId: $e\n");
}
Name | Type | Description | Notes |
---|---|---|---|
userId | int | ID of user that needs to be fetched | [default to null] |
app_id, bearerAuth, cookieAuth
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
removeClassificationFromJourney(journeyId, classificationId)
Remove a specific classification from a Journey
import 'package:knowgo/api.dart';
// TODO Configure API key authorization: app_id
//defaultApiClient.getAuthentication<ApiKeyAuth>('app_id').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('app_id').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP basic authorization: bearerAuth
//defaultApiClient.getAuthentication<HttpBasicAuth>('bearerAuth').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('bearerAuth').password = 'YOUR_PASSWORD';
// TODO Configure API key authorization: cookieAuth
//defaultApiClient.getAuthentication<ApiKeyAuth>('cookieAuth').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('cookieAuth').apiKeyPrefix = 'Bearer';
var api_instance = JourneysApi();
var journeyId = journeyId_example; // String | ID of Journey that needs to be fetched
var classificationId = 56; // int | ID of classification that needs to be removed
try {
api_instance.removeClassificationFromJourney(journeyId, classificationId);
} catch (e) {
print("Exception when calling JourneysApi->removeClassificationFromJourney: $e\n");
}
Name | Type | Description | Notes |
---|---|---|---|
journeyId | String | ID of Journey that needs to be fetched | [default to null] |
classificationId | int | ID of classification that needs to be removed | [default to null] |
void (empty response body)
app_id, bearerAuth, cookieAuth
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
updateJourneyClassificationById(classificationId, journeyClassifications)
Update a specified Journey classification
import 'package:knowgo/api.dart';
// TODO Configure API key authorization: app_id
//defaultApiClient.getAuthentication<ApiKeyAuth>('app_id').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('app_id').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP basic authorization: bearerAuth
//defaultApiClient.getAuthentication<HttpBasicAuth>('bearerAuth').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('bearerAuth').password = 'YOUR_PASSWORD';
// TODO Configure API key authorization: cookieAuth
//defaultApiClient.getAuthentication<ApiKeyAuth>('cookieAuth').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('cookieAuth').apiKeyPrefix = 'Bearer';
var api_instance = JourneysApi();
var classificationId = 789; // int | ID of Journey Classification that needs to be fetched
var journeyClassifications = JourneyClassifications(); // JourneyClassifications | Updated Journey classification object
try {
api_instance.updateJourneyClassificationById(classificationId, journeyClassifications);
} catch (e) {
print("Exception when calling JourneysApi->updateJourneyClassificationById: $e\n");
}
Name | Type | Description | Notes |
---|---|---|---|
classificationId | int | ID of Journey Classification that needs to be fetched | [default to null] |
journeyClassifications | JourneyClassifications | Updated Journey classification object |
void (empty response body)
app_id, bearerAuth, cookieAuth
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
updateJourneyWithForm(journeyId, journey)
Updates a Journey with form data
import 'package:knowgo/api.dart';
// TODO Configure API key authorization: app_id
//defaultApiClient.getAuthentication<ApiKeyAuth>('app_id').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('app_id').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP basic authorization: bearerAuth
//defaultApiClient.getAuthentication<HttpBasicAuth>('bearerAuth').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('bearerAuth').password = 'YOUR_PASSWORD';
// TODO Configure API key authorization: cookieAuth
//defaultApiClient.getAuthentication<ApiKeyAuth>('cookieAuth').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('cookieAuth').apiKeyPrefix = 'Bearer';
var api_instance = JourneysApi();
var journeyId = journeyId_example; // String | ID of journey that needs to be updated
var journey = Journey(); // Journey | Journey object to operate on
try {
api_instance.updateJourneyWithForm(journeyId, journey);
} catch (e) {
print("Exception when calling JourneysApi->updateJourneyWithForm: $e\n");
}
Name | Type | Description | Notes |
---|---|---|---|
journeyId | String | ID of journey that needs to be updated | [default to null] |
journey | Journey | Journey object to operate on |
void (empty response body)
app_id, bearerAuth, cookieAuth
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]