| http \
GET \
https://api.example.com/api/proposal-requested-offerings/ \
Authorization:"Token YOUR_API_TOKEN"
|
| from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.api.proposal_requested_offerings import proposal_requested_offerings_list # (1)
client = AuthenticatedClient(
base_url="https://api.example.com", token="YOUR_API_TOKEN"
)
response = proposal_requested_offerings_list.sync(client=client)
for item in response:
print(item)
|
- API Source:
proposal_requested_offerings_list
| import { proposalRequestedOfferingsList } from 'waldur-js-client';
try {
const response = await proposalRequestedOfferingsList({
auth: "Token YOUR_API_TOKEN"
});
console.log('Success:', response);
} catch (error) {
console.error('Error:', error);
}
|
| Name |
Type |
Description |
call |
string |
Call |
call_uuid |
string (uuid) |
|
o |
array |
Ordering
|
offering |
string |
Offering |
offering_uuid |
string (uuid) |
|
organization_uuid |
string (uuid) |
|
page |
integer |
A page number within the paginated result set. |
page_size |
integer |
Number of results to return per page. |
provider_uuid |
string (uuid) |
Provider |
state |
array |
|
200 -
The response body is an array of objects, where each object has the following structure:
| Field |
Type |
Description |
uuid |
string (uuid) |
|
state |
any |
|
offering |
string (uri) |
|
offering_name |
string |
|
offering_uuid |
string (uuid) |
|
provider_name |
string |
|
category_uuid |
string (uuid) |
|
category_name |
string |
|
call_managing_organisation |
string |
|
attributes |
any |
|
plan |
string (uri) |
|
plan_details |
any |
|
options |
any |
|
components |
array of objects |
|
components.uuid |
string (uuid) |
|
components.billing_type |
string |
Enum: fixed, usage, limit, one, few |
components.type |
string |
Unique internal name of the measured unit, for example floating_ip. |
components.name |
string |
Display name for the measured unit, for example, Floating IP. |
components.description |
string |
|
components.measured_unit |
string |
Unit of measurement, for example, GB. |
components.unit_factor |
integer |
The conversion factor from backend units to measured_unit |
components.limit_period |
any |
|
components.limit_amount |
integer |
|
components.article_code |
string |
|
components.max_value |
integer |
|
components.min_value |
integer |
|
components.max_available_limit |
integer |
|
components.is_boolean |
boolean |
|
components.default_limit |
integer |
|
components.factor |
integer |
|
components.is_builtin |
boolean |
|
components.is_prepaid |
boolean |
|
components.overage_component |
string (uuid) |
|
components.min_prepaid_duration |
integer |
|
components.max_prepaid_duration |
integer |
|
created |
string (date-time) |
|
url |
string (uri) |
|
call_name |
string |
|
call |
string (uri) |
|
description |
string |
|
created_by_name |
string |
|
created_by_email |
string (email) |
|