All URIs are relative to https://localhost:8080/RestAPI
| Method | HTTP request | Description |
|---|---|---|
| create_sync_app_config | POST /synchAppConfigs | Create a synch app configuration. |
| get_sync_app_config | GET /synchAppConfigs/{synchAppConfigs-ID} | Returns a single config, specified by the ID parameter. |
| get_sync_app_config_by_platform | GET /synchAppConfigs/platform/{platform} | Returns a collection configurations, specified by the platform parameter. |
| update_sync_app_config | PUT /synchAppConfigs | Update a synch app configuration. |
DataSynchronisationAppConfigurationPagedMetadata create_sync_app_config(synch_app_config)
Create a synch app configuration.
{"nickname":"Create a new synch app configuration","request":"createSynchAppConfigurationRequest.html","response":"createSynchAppConfigurationResponse.html"}
import time
import billforward
from billforward.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = billforward.SynchAppConfigsApi()
synch_app_config = billforward.MutableBillingEntity() # MutableBillingEntity | The data synch app config object to be created.
try:
# Create a synch app configuration.
api_response = api_instance.create_sync_app_config(synch_app_config)
pprint(api_response)
except ApiException as e:
print "Exception when calling SynchAppConfigsApi->create_sync_app_config: %s\n" % e| Name | Type | Description | Notes |
|---|---|---|---|
| synch_app_config | MutableBillingEntity | The data synch app config object to be created. |
DataSynchronisationAppConfigurationPagedMetadata
No authorization required
- Content-Type: application/json
- Accept: text/xml, application/xml, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DataSynchronisationAppConfigurationPagedMetadata get_sync_app_config(synch_app_configs_id, organizations=organizations)
Returns a single config, specified by the ID parameter.
{ "nickname" : "Retrieve an existing synch config","response" : "getSynchAppConfigByID.html"}
import time
import billforward
from billforward.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = billforward.SynchAppConfigsApi()
synch_app_configs_id = 'synch_app_configs_id_example' # str | ID of the Synch App Configuration.
organizations = ['organizations_example'] # list[str] | A list of organization -IDs used to restrict the scope of API calls. (optional)
try:
# Returns a single config, specified by the ID parameter.
api_response = api_instance.get_sync_app_config(synch_app_configs_id, organizations=organizations)
pprint(api_response)
except ApiException as e:
print "Exception when calling SynchAppConfigsApi->get_sync_app_config: %s\n" % e| Name | Type | Description | Notes |
|---|---|---|---|
| synch_app_configs_id | str | ID of the Synch App Configuration. | |
| organizations | list[str] | A list of organization -IDs used to restrict the scope of API calls. | [optional] |
DataSynchronisationAppConfigurationPagedMetadata
No authorization required
- Content-Type: text/plain
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DataSynchronisationAppConfigurationPagedMetadata get_sync_app_config_by_platform(platform, organizations=organizations)
Returns a collection configurations, specified by the platform parameter.
{ "nickname" : "Retrieve by platform","response" : "getSynchAppConfigsByPlatform.html"}
import time
import billforward
from billforward.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = billforward.SynchAppConfigsApi()
platform = 'platform_example' # str | The type of the synch app configuration.
organizations = ['organizations_example'] # list[str] | A list of organization-IDs used to restrict the scope of API calls. (optional)
try:
# Returns a collection configurations, specified by the platform parameter.
api_response = api_instance.get_sync_app_config_by_platform(platform, organizations=organizations)
pprint(api_response)
except ApiException as e:
print "Exception when calling SynchAppConfigsApi->get_sync_app_config_by_platform: %s\n" % e| Name | Type | Description | Notes |
|---|---|---|---|
| platform | str | The type of the synch app configuration. | |
| organizations | list[str] | A list of organization-IDs used to restrict the scope of API calls. | [optional] |
DataSynchronisationAppConfigurationPagedMetadata
No authorization required
- Content-Type: text/plain
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DataSynchronisationAppConfigurationPagedMetadata update_sync_app_config(synch_app_config)
Update a synch app configuration.
{ "nickname" : "Update a sync app configuration", "request" : "updateSyncAppConfigRequest.html" ,"response" : "updateSyncAppConfigResponse.html" }
import time
import billforward
from billforward.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = billforward.SynchAppConfigsApi()
synch_app_config = billforward.MutableBillingEntity() # MutableBillingEntity | The synch app configuration object to be updated.
try:
# Update a synch app configuration.
api_response = api_instance.update_sync_app_config(synch_app_config)
pprint(api_response)
except ApiException as e:
print "Exception when calling SynchAppConfigsApi->update_sync_app_config: %s\n" % e| Name | Type | Description | Notes |
|---|---|---|---|
| synch_app_config | MutableBillingEntity | The synch app configuration object to be updated. |
DataSynchronisationAppConfigurationPagedMetadata
No authorization required
- Content-Type: application/json
- Accept: text/xml, application/xml, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]