Skip to content
Snippets Groups Projects

feat:new attribute new-param-mobiles_sharing_data in FiberContractsToPack

interactions:
- request:
body: null
headers:
API-KEY:
- DUMMY
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.27.1
method: GET
uri: http://odoo-sc.local:8069/api/contract/available-fibers-to-link-with-mobile?partner_ref=27550&mobiles_sharing_data=True
response:
body:
string: '[{"id": 23154, "code": "33055", "email": "yrm9s6wc@caramail.com", "customer_firstname":
"Ovidi", "customer_lastname": "Montllor i Mengual", "customer_ref": "27550",
"customer_vat": "ES30282588Y", "phone_number": "939591019", "current_tariff_product":
"SE_SC_REC_BA_F_600", "description": "Fibra 600Mb", "ticket_number": "99999991",
"technology": "Fiber", "supplier": "M\u00e1sM\u00f3vil", "lang": "ca_ES",
"iban": "ES6621031479773534034515", "is_terminated": false, "date_start":
"2021-12-08", "date_end": false, "fiber_signal": "fibraFTTH", "subscription_type":
"broad_band", "address": {"street": "Ronda Horno, 4", "zip_code": "41202",
"city": "Umbrete", "country": "Spain", "state": "Sevilla"}, "subscription_technology":
"fiber", "available_operations": [],"parent_contract": "", "shared_bond_id": false, "price": 7, "has_landline_phone":
true,"bandwidth": 0}, {"id": 23155, "code": "33056", "email":
"yrm9s6wc@caramail.com", "customer_firstname": "Ovidi", "customer_lastname":
"Montllor i Mengual", "customer_ref": "27550", "customer_vat": "ES30282588Y",
"phone_number": "953777554", "current_tariff_product": "SE_SC_REC_BA_F_300",
"description": "Fibra 300Mb", "ticket_number": "99999993", "technology": "Fiber",
"supplier": "M\u00e1sM\u00f3vil", "lang": "ca_ES", "iban": "ES0421004420219290058430",
"is_terminated": false, "date_start": "2021-12-08", "date_end": false, "fiber_signal":
"fibraFTTH", "subscription_type": "broad_band", "address": {"street": "Avinguda
Mayor, 9", "zip_code": "45218", "city": "Hontanar", "country": "Spain", "state":
"Toledo"}, "subscription_technology": "fiber", "available_operations": [],"parent_contract":
"", "shared_bond_id": false, "price": 7, "has_landline_phone": true,"bandwidth": 0},
{"id": 23158, "code": "33059", "email": "yrm9s6wc@caramail.com", "customer_firstname":
"Ovidi", "customer_lastname": "Montllor i Mengual", "customer_ref": "27550",
"customer_vat": "ES30282588Y", "phone_number": "960879143", "current_tariff_product":
"SE_SC_REC_BA_F_1024", "description": "Fibra 1Gb", "ticket_number": "99999992",
"technology": "Fiber", "supplier": "M\u00e1sM\u00f3vil", "lang": "ca_ES",
"iban": "ES0421004420219290058430", "is_terminated": false, "date_start":
"2021-12-08", "date_end": false, "fiber_signal": "fibraFTTH", "subscription_type":
"broad_band", "address": {"street": "Avenida Horno, 90", "zip_code": "50648",
"city": "Contamina", "country": "Spain", "state": "Zaragoza"}, "subscription_technology":
"fiber", "available_operations": [],"parent_contract": "", "shared_bond_id": false, "price": 7, "has_landline_phone":
true,"bandwidth": 0}]'
headers:
Content-Length:
- '2294'
Content-Type:
- application/json
Date:
- Mon, 17 Apr 2023 10:38:05 GMT
Server:
- Werkzeug/0.11.15 Python/3.7.7
Set-Cookie:
- session_id=dcc083bd607a8ce229819ea899c59a3861970478; Expires=Sun, 16-Jul-2023
10:38:05 GMT; Max-Age=7776000; HttpOnly; Path=/
status:
code: 200
message: OK
version: 1
Loading