Marketplace Remote Synchronisations
Operations Summary
| Method |
Endpoint |
Description |
| Core CRUD |
|
|
| GET |
/api/marketplace-remote-synchronisations/ |
List Marketplace Remote Synchronisations |
| GET |
/api/marketplace-remote-synchronisations/{uuid}/ |
Retrieve |
| POST |
/api/marketplace-remote-synchronisations/ |
Create |
| PUT |
/api/marketplace-remote-synchronisations/{uuid}/ |
Update |
| PATCH |
/api/marketplace-remote-synchronisations/{uuid}/ |
Partial Update |
| DELETE |
/api/marketplace-remote-synchronisations/{uuid}/ |
Delete |
| Other Actions |
|
|
| POST |
/api/marketplace-remote-synchronisations/{uuid}/run_synchronisation/ |
Run synchronisation |
Core CRUD
List Marketplace Remote Synchronisations
Retrieve
Create
| http \
POST \
https://api.example.com/api/marketplace-remote-synchronisations/ \
Authorization:"Token YOUR_API_TOKEN" \
api_url="https://api.example.com/api/api-url/a1b2c3d4-e5f6-7890-abcd-ef1234567890/" \
token="********" \
remote_organization_uuid="a1b2c3d4-e5f6-7890-abcd-ef1234567890" \
remote_organization_name="string-value" \
local_service_provider="https://api.example.com/api/local-service-provider/a1b2c3d4-e5f6-7890-abcd-ef1234567890/" \
remotelocalcategory_set:='[]'
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 | from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.models.remote_synchronisation_request import RemoteSynchronisationRequest # (1)
from waldur_api_client.api.marketplace_remote_synchronisations import marketplace_remote_synchronisations_create # (2)
client = AuthenticatedClient(
base_url="https://api.example.com", token="YOUR_API_TOKEN"
)
body_data = RemoteSynchronisationRequest(
api_url="https://api.example.com/api/api-url/a1b2c3d4-e5f6-7890-abcd-ef1234567890/",
token="********",
remote_organization_uuid="a1b2c3d4-e5f6-7890-abcd-ef1234567890",
remote_organization_name="string-value",
local_service_provider="https://api.example.com/api/local-service-provider/a1b2c3d4-e5f6-7890-abcd-ef1234567890/",
remotelocalcategory_set=[]
)
response = marketplace_remote_synchronisations_create.sync(
client=client,
body=body_data
)
print(response)
|
- Model Source:
RemoteSynchronisationRequest
- API Source:
marketplace_remote_synchronisations_create
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 | import { marketplaceRemoteSynchronisationsCreate } from 'waldur-js-client';
try {
const response = await marketplaceRemoteSynchronisationsCreate({
auth: "Token YOUR_API_TOKEN",
body: {
"api_url": "https://api.example.com/api/api-url/a1b2c3d4-e5f6-7890-abcd-ef1234567890/",
"token": "********",
"remote_organization_uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"remote_organization_name": "string-value",
"local_service_provider": "https://api.example.com/api/local-service-provider/a1b2c3d4-e5f6-7890-abcd-ef1234567890/",
"remotelocalcategory_set": []
}
});
console.log('Success:', response);
} catch (error) {
console.error('Error:', error);
}
|
| Field |
Type |
Required |
api_url |
string (uri) |
✓ |
token |
string |
✓ |
remote_organization_uuid |
string (uuid) |
✓ |
remote_organization_name |
string |
✓ |
local_service_provider |
string (uri) |
✓ |
is_active |
boolean |
|
remotelocalcategory_set |
array of objects |
✓ |
remotelocalcategory_set.local_category |
string (uri) |
✓ |
remotelocalcategory_set.remote_category |
string (uuid) |
✓ |
remotelocalcategory_set.remote_category_name |
string |
|
201 -
| Field |
Type |
uuid |
string (uuid) |
url |
string (uri) |
api_url |
string (uri) |
token |
string |
remote_organization_uuid |
string (uuid) |
remote_organization_name |
string |
local_service_provider |
string (uri) |
local_service_provider_name |
string |
is_active |
boolean |
last_execution |
string (date-time) |
last_output |
string |
get_state_display |
string |
error_message |
string |
created |
string (date-time) |
modified |
string (date-time) |
remotelocalcategory_set |
array of objects |
remotelocalcategory_set.local_category |
string (uri) |
remotelocalcategory_set.remote_category |
string (uuid) |
remotelocalcategory_set.local_category_name |
string |
remotelocalcategory_set.local_category_uuid |
string (uuid) |
remotelocalcategory_set.remote_category_name |
string |
Update
| http \
PUT \
https://api.example.com/api/marketplace-remote-synchronisations/a1b2c3d4-e5f6-7890-abcd-ef1234567890/ \
Authorization:"Token YOUR_API_TOKEN" \
api_url="https://api.example.com/api/api-url/a1b2c3d4-e5f6-7890-abcd-ef1234567890/" \
token="********" \
remote_organization_uuid="a1b2c3d4-e5f6-7890-abcd-ef1234567890" \
remote_organization_name="string-value" \
local_service_provider="https://api.example.com/api/local-service-provider/a1b2c3d4-e5f6-7890-abcd-ef1234567890/" \
remotelocalcategory_set:='[]'
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 | from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.models.remote_synchronisation_request import RemoteSynchronisationRequest # (1)
from waldur_api_client.api.marketplace_remote_synchronisations import marketplace_remote_synchronisations_update # (2)
client = AuthenticatedClient(
base_url="https://api.example.com", token="YOUR_API_TOKEN"
)
body_data = RemoteSynchronisationRequest(
api_url="https://api.example.com/api/api-url/a1b2c3d4-e5f6-7890-abcd-ef1234567890/",
token="********",
remote_organization_uuid="a1b2c3d4-e5f6-7890-abcd-ef1234567890",
remote_organization_name="string-value",
local_service_provider="https://api.example.com/api/local-service-provider/a1b2c3d4-e5f6-7890-abcd-ef1234567890/",
remotelocalcategory_set=[]
)
response = marketplace_remote_synchronisations_update.sync(
uuid="a1b2c3d4-e5f6-7890-abcd-ef1234567890",
client=client,
body=body_data
)
print(response)
|
- Model Source:
RemoteSynchronisationRequest
- API Source:
marketplace_remote_synchronisations_update
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 | import { marketplaceRemoteSynchronisationsUpdate } from 'waldur-js-client';
try {
const response = await marketplaceRemoteSynchronisationsUpdate({
auth: "Token YOUR_API_TOKEN",
path: {
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
},
body: {
"api_url": "https://api.example.com/api/api-url/a1b2c3d4-e5f6-7890-abcd-ef1234567890/",
"token": "********",
"remote_organization_uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"remote_organization_name": "string-value",
"local_service_provider": "https://api.example.com/api/local-service-provider/a1b2c3d4-e5f6-7890-abcd-ef1234567890/",
"remotelocalcategory_set": []
}
});
console.log('Success:', response);
} catch (error) {
console.error('Error:', error);
}
|
| Name |
Type |
Required |
uuid |
string (uuid) |
✓ |
| Field |
Type |
Required |
api_url |
string (uri) |
✓ |
token |
string |
✓ |
remote_organization_uuid |
string (uuid) |
✓ |
remote_organization_name |
string |
✓ |
local_service_provider |
string (uri) |
✓ |
is_active |
boolean |
|
remotelocalcategory_set |
array of objects |
✓ |
remotelocalcategory_set.local_category |
string (uri) |
✓ |
remotelocalcategory_set.remote_category |
string (uuid) |
✓ |
remotelocalcategory_set.remote_category_name |
string |
|
200 -
| Field |
Type |
uuid |
string (uuid) |
url |
string (uri) |
api_url |
string (uri) |
token |
string |
remote_organization_uuid |
string (uuid) |
remote_organization_name |
string |
local_service_provider |
string (uri) |
local_service_provider_name |
string |
is_active |
boolean |
last_execution |
string (date-time) |
last_output |
string |
get_state_display |
string |
error_message |
string |
created |
string (date-time) |
modified |
string (date-time) |
remotelocalcategory_set |
array of objects |
remotelocalcategory_set.local_category |
string (uri) |
remotelocalcategory_set.remote_category |
string (uuid) |
remotelocalcategory_set.local_category_name |
string |
remotelocalcategory_set.local_category_uuid |
string (uuid) |
remotelocalcategory_set.remote_category_name |
string |
Partial Update
Delete
Other Actions
Run synchronisation