Telecom Settings
API endpoint that allows users to be viewed or edited.
GET /ux/common/telecom_settings/telecom_settings/ HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
[
{
"id": "text",
"settings_id": "text",
"module": "text",
"min_bw_individual": 1,
"min_bw_corporate": 1,
"max_bw_corporate": 1,
"reservation_expiry_period": 1,
"organization": "text",
"overprovisioning_factor": 1,
"auto_reservation": true,
"is_deleted": true
}
]
API endpoint that allows users to be viewed or edited.
Serializer for Documents.
Recognized primitve fields:
* ``StringField``
* ``URLField``
* ``EmailField``
* ``IntField``
* ``LongField``
* ``FloatField``
* ``DecimalField``
* ``BooleanField``
* ``DateTimeField``
* ``ComplexDateTimeField``
* ``ObjectIdField``
* ``SequenceField`` (assumes it has integer counter)
* ``UUIDField``
* ``GeoPointField``
* ``GeoJsonBaseField`` (all those fields)
* ``DateField``
Compound fields: ListField
and DictField
are mapped to corresponding DRF fields, with respect to nested field specification.
The ReferenceField
is handled like ForeignKey
in DRF: there nested serializer autogenerated if serializer depth greater then 0, otherwise it's handled by it's own (results as str(id)
).
For EmbeddedDocumentField
also nested serializer autogenerated for non-zero depth, otherwise it is skipped. TODO: THIS IS PROBABLY WRONG AND SHOULD BE FIXED.
Generic fields GenericReferenceField
and GenericEmbeddedDocumentField
are handled by their own with corresponding serializer fields.
Not well supported or untested:
``FileField``
``ImageField``
``BinaryField``
All other fields are mapped to DocumentField
and probably will work wrong.
POST /ux/common/telecom_settings/telecom_settings/ HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 224
{
"settings_id": "text",
"module": "text",
"min_bw_individual": 1,
"min_bw_corporate": 1,
"max_bw_corporate": 1,
"reservation_expiry_period": 1,
"organization": "text",
"overprovisioning_factor": 1,
"auto_reservation": true,
"is_deleted": true
}
{
"id": "text",
"settings_id": "text",
"module": "text",
"min_bw_individual": 1,
"min_bw_corporate": 1,
"max_bw_corporate": 1,
"reservation_expiry_period": 1,
"organization": "text",
"overprovisioning_factor": 1,
"auto_reservation": true,
"is_deleted": true
}
API endpoint that allows users to be viewed or edited.
GET /ux/common/telecom_settings/telecom_settings/{id}/ HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
{
"id": "text",
"settings_id": "text",
"module": "text",
"min_bw_individual": 1,
"min_bw_corporate": 1,
"max_bw_corporate": 1,
"reservation_expiry_period": 1,
"organization": "text",
"overprovisioning_factor": 1,
"auto_reservation": true,
"is_deleted": true
}
API endpoint that allows users to be viewed or edited.
Serializer for Documents.
Recognized primitve fields:
* ``StringField``
* ``URLField``
* ``EmailField``
* ``IntField``
* ``LongField``
* ``FloatField``
* ``DecimalField``
* ``BooleanField``
* ``DateTimeField``
* ``ComplexDateTimeField``
* ``ObjectIdField``
* ``SequenceField`` (assumes it has integer counter)
* ``UUIDField``
* ``GeoPointField``
* ``GeoJsonBaseField`` (all those fields)
* ``DateField``
Compound fields: ListField
and DictField
are mapped to corresponding DRF fields, with respect to nested field specification.
The ReferenceField
is handled like ForeignKey
in DRF: there nested serializer autogenerated if serializer depth greater then 0, otherwise it's handled by it's own (results as str(id)
).
For EmbeddedDocumentField
also nested serializer autogenerated for non-zero depth, otherwise it is skipped. TODO: THIS IS PROBABLY WRONG AND SHOULD BE FIXED.
Generic fields GenericReferenceField
and GenericEmbeddedDocumentField
are handled by their own with corresponding serializer fields.
Not well supported or untested:
``FileField``
``ImageField``
``BinaryField``
All other fields are mapped to DocumentField
and probably will work wrong.
PUT /ux/common/telecom_settings/telecom_settings/{id}/ HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 224
{
"settings_id": "text",
"module": "text",
"min_bw_individual": 1,
"min_bw_corporate": 1,
"max_bw_corporate": 1,
"reservation_expiry_period": 1,
"organization": "text",
"overprovisioning_factor": 1,
"auto_reservation": true,
"is_deleted": true
}
{
"id": "text",
"settings_id": "text",
"module": "text",
"min_bw_individual": 1,
"min_bw_corporate": 1,
"max_bw_corporate": 1,
"reservation_expiry_period": 1,
"organization": "text",
"overprovisioning_factor": 1,
"auto_reservation": true,
"is_deleted": true
}
API endpoint that allows users to be viewed or edited.
No response body
No content
DELETE /ux/common/telecom_settings/telecom_settings/{id}/ HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
No response body
No content
This endpoint is used to fetch all the telecom Settings in the current organization
Items Per Page
Page Number
Sorting Order
Sorting Key
GET /ux/common/telecom_settings/telecom_settings/get_settings/?items_per_page=1&page=1 HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
{
"id": "text",
"settings_id": "text",
"module": "text",
"min_bw_individual": 1,
"min_bw_corporate": 1,
"max_bw_corporate": 1,
"reservation_expiry_period": 1,
"organization": "text",
"overprovisioning_factor": 1,
"auto_reservation": true,
"is_deleted": true
}
API endpoint that allows users to be viewed or edited.
Serializer for Documents.
Recognized primitve fields:
* ``StringField``
* ``URLField``
* ``EmailField``
* ``IntField``
* ``LongField``
* ``FloatField``
* ``DecimalField``
* ``BooleanField``
* ``DateTimeField``
* ``ComplexDateTimeField``
* ``ObjectIdField``
* ``SequenceField`` (assumes it has integer counter)
* ``UUIDField``
* ``GeoPointField``
* ``GeoJsonBaseField`` (all those fields)
* ``DateField``
Compound fields: ListField
and DictField
are mapped to corresponding DRF fields, with respect to nested field specification.
The ReferenceField
is handled like ForeignKey
in DRF: there nested serializer autogenerated if serializer depth greater then 0, otherwise it's handled by it's own (results as str(id)
).
For EmbeddedDocumentField
also nested serializer autogenerated for non-zero depth, otherwise it is skipped. TODO: THIS IS PROBABLY WRONG AND SHOULD BE FIXED.
Generic fields GenericReferenceField
and GenericEmbeddedDocumentField
are handled by their own with corresponding serializer fields.
Not well supported or untested:
``FileField``
``ImageField``
``BinaryField``
All other fields are mapped to DocumentField
and probably will work wrong.
POST /ux/common/telecom_settings/telecom_settings/update_settings/ HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 224
{
"settings_id": "text",
"module": "text",
"min_bw_individual": 1,
"min_bw_corporate": 1,
"max_bw_corporate": 1,
"reservation_expiry_period": 1,
"organization": "text",
"overprovisioning_factor": 1,
"auto_reservation": true,
"is_deleted": true
}
{
"id": "text",
"settings_id": "text",
"module": "text",
"min_bw_individual": 1,
"min_bw_corporate": 1,
"max_bw_corporate": 1,
"reservation_expiry_period": 1,
"organization": "text",
"overprovisioning_factor": 1,
"auto_reservation": true,
"is_deleted": true
}