Marketplace Project Order Auto Approvals
Operations Summary
| Method |
Endpoint |
Description |
| GET |
/api/marketplace-project-order-auto-approvals/ |
List Marketplace Project Order Auto Approvals |
| GET |
/api/marketplace-project-order-auto-approvals/{uuid}/ |
Retrieve |
| POST |
/api/marketplace-project-order-auto-approvals/ |
Create |
| PUT |
/api/marketplace-project-order-auto-approvals/{uuid}/ |
Update |
| PATCH |
/api/marketplace-project-order-auto-approvals/{uuid}/ |
Partial Update |
| DELETE |
/api/marketplace-project-order-auto-approvals/{uuid}/ |
Delete |
List Marketplace Project Order Auto Approvals
Retrieve
Create
Update
| http \
PUT \
https://api.example.com/api/marketplace-project-order-auto-approvals/a1b2c3d4-e5f6-7890-abcd-ef1234567890/ \
Authorization:"Token YOUR_API_TOKEN" \
project="https://api.example.com/api/project/a1b2c3d4-e5f6-7890-abcd-ef1234567890/" \
monthly_cost_limit="12.34"
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 | from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.models.project_order_auto_approval_request import ProjectOrderAutoApprovalRequest # (1)
from waldur_api_client.api.marketplace_project_order_auto_approvals import marketplace_project_order_auto_approvals_update # (2)
client = AuthenticatedClient(
base_url="https://api.example.com", token="YOUR_API_TOKEN"
)
body_data = ProjectOrderAutoApprovalRequest(
project="https://api.example.com/api/project/a1b2c3d4-e5f6-7890-abcd-ef1234567890/",
monthly_cost_limit="12.34"
)
response = marketplace_project_order_auto_approvals_update.sync(
uuid="a1b2c3d4-e5f6-7890-abcd-ef1234567890",
client=client,
body=body_data
)
print(response)
|
- Model Source:
ProjectOrderAutoApprovalRequest
- API Source:
marketplace_project_order_auto_approvals_update
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 | import { marketplaceProjectOrderAutoApprovalsUpdate } from 'waldur-js-client';
try {
const response = await marketplaceProjectOrderAutoApprovalsUpdate({
auth: "Token YOUR_API_TOKEN",
path: {
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
},
body: {
"project": "https://api.example.com/api/project/a1b2c3d4-e5f6-7890-abcd-ef1234567890/",
"monthly_cost_limit": "12.34"
}
});
console.log('Success:', response);
} catch (error) {
console.error('Error:', error);
}
|
| Name |
Type |
Required |
uuid |
string (uuid) |
✓ |
| Field |
Type |
Required |
project |
string (uri) |
✓ |
monthly_cost_limit |
string (decimal) |
✓ |
enabled |
boolean |
|
200 -
| Field |
Type |
Description |
uuid |
string (uuid) |
|
url |
string (uri) |
|
project |
string (uri) |
|
project_name |
string |
|
project_uuid |
string (uuid) |
|
customer_name |
string |
|
customer_uuid |
string (uuid) |
|
monthly_cost_limit |
string (decimal) |
|
enabled |
boolean |
|
created |
string (date-time) |
|
modified |
string (date-time) |
|
created_by_uuid |
string (uuid) |
|
created_by_username |
string |
Required. 128 characters or fewer. Lowercase letters, numbers and @/./+/-/_ characters |
created_by_full_name |
string |
|
modified_by_uuid |
string (uuid) |
|
modified_by_username |
string |
Required. 128 characters or fewer. Lowercase letters, numbers and @/./+/-/_ characters |
modified_by_full_name |
string |
|
Partial Update
Delete