Python wrapper for the RockyRoad API
Project description
RockyRoad
This package provides a Python wrapper for the RockyRoad API.
RockyRoad is a part of the PyPi repository and can be installed via
pip install RockyRoad
export OCP_APIM_SUBSCRIPTION_KEY="INSERT_YOUR_SUBSCRIPTION_KEY"
Usage Examples - Data Services:
from rockyroad.rockyroad import build
dataservice = build(serviceName="data-services", version="v1", base_url='INSERT_URL_FOR_API')
api_response = dataservice.helloWorld().list()
dataservice.docs().swagger().content
dataservice.docs().redocs().content
dataservice.docs().openapi()
api_response = dataservice.alerts().requests().list()
api_response = dataservice.alerts().requests().list(creator_email='user@acme.com')
api_response = dataservice.alerts().requests().insert(new_alert_request_json)
api_response = dataservice.alerts().requests().delete(brand=brand, alert_request_id=alert_request_id)
api_response = dataservice.alerts().reports().list()
api_response = dataservice.alerts().reports().list(creator_email='user@acme.com')
api_response = dataservice.machines().utilData().list(brand=brand, time_period='today')
api_response = dataservice.machines().utilData().stats().list()
api_response = dataservice.dealers().list()
api_response = dataservice.customers().list(dealer_name=dealer_name)
api_response = dataservice.accounts().list()
api_response = dataservice.accounts().list(account="c123")
api_response = dataservice.accounts().list(dealer_code="d123")
api_response = dataservice.accounts().list(account_association_uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.accounts().insert(new_account=new_account)
api_response = dataservice.accounts().update(account=update_account)
api_response = dataservice.accounts().delete(account="d123")
api_response = dataservice.accounts().set_is_dealer(account="d123", is_dealer=True)
api_response = dataservice.accounts().assign_dealer(customer_account="c123", dealer_account="d123", is_default_dealer=True, dealer_internal_account="abc")
api_response = dataservice.accounts().assign_dealer(customer_account="c123", dealer_account="d123")
api_response = dataservice.accounts().unassign_dealer(customer_account="c123", dealer_account="d123")
api_response = dataservice.accounts().contacts().list(account=account)
api_response = dataservice.accounts().contacts().list(account=account, include_dealer_contacts=True)
api_response = dataservice.accounts().contacts().list(account_uid=account_uid)
api_response = dataservice.accounts().contacts().list(account_contact_uid=account_contact_uid)
api_response = dataservice.accounts().contacts().insert(new_account_contact=new_account_contact)
api_response = dataservice.accounts().contacts().update(account_contact=account_contact)
api_response = dataservice.accounts().contacts().delete(account_contact_uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.accounts().customers().list()
api_response = dataservice.accounts().customers().list(dealer_account="D123")
api_response = dataservice.accounts().customers().list(dealer_uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.accounts().customers().list(dealer_branch_uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.accounts().customers().dealer_provided_information().list(dealer_account=dealer_account, customer_account=customer_account)
api_response = dataservice.accounts().customers().dealer_provided_information().update(dealer_provided_information=dealer_provided_information)
api_response = dataservice.accounts().dealers().list()
api_response = dataservice.accounts().dealers().list(customer_account="A123")
api_response = dataservice.dealers().list()
api_response = dataservice.dealers().list(dealer_code="D123")
api_response = dataservice.dealers().list(dealer_name="D123")
api_response = dataservice.dealers().list(dealer_account="D123")
api_response = dataservice.dealers().list(uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.dealers().list(dealer_account_uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.dealers().insert(dealer=dealer)
api_response = dataservice.dealers().update(dealer=dealer)
api_response = dataservice.dealers().delete(uid=uid)
api_response = dataservice.companies().subscribers().list(company_uid=company_uid)
api_response = dataservice.companies().subscribers().get(company_uid=company_uid, user_uid=user_uid)
api_response = dataservice.companies().subscribers().insert(company_uid=company_uid, user_uid=user_uid)
api_response = dataservice.companies().subscribers().delete(company_uid=company_uid, user_uid=user_uid)
api_response = dataservice.dealers().branches().list()
api_response = dataservice.companies().branches().get(uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.dealers().branches().list(dealer_code="D123")
api_response = dataservice.dealers().branches().list(branch_name="D123")
api_response = dataservice.warranties().rates().list(dealer_branch_uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.dealers().branches().list(branch_code="D123")
api_response = dataservice.dealers().branches().list(dealer_account="D123")
api_response = dataservice.dealers().branches().list(uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.dealers().branches().list(dealer_account_uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.dealers().branches().list(dealer_uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.dealers().branches().list(include_machines=True)
api_response = dataservice.dealers().branches().insert(dealerBranch=dealerBranch)
api_response = dataservice.dealers().branches().update(dealerBranch=dealerBranch)
api_response = dataservice.dealers().branches().delete(uid=uid)
api_response = dataservice.dealers().branches().subscribers().list(dealer_branch_uid=uid)
api_response = dataservice.dealers().branches().subscribers().list(dealer_code='d123')
api_response = dataservice.dealers().branches().subscribers().insert(dealer_branch_subscriber=dealer_branch_subscriber)
api_response = dataservice.dealers().branches().subscribers().delete(dealer_branch_uid=uid, subscriber_uid=uid)
api_response = dataservice.companies().list()
api_response = dataservice.companies().get(uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.companies().list(company_name="D123")
api_response = dataservice.companies().list(company_account="D123")
api_response = dataservice.companies().list(company_account_uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.companies().list(is_dealer=True)
api_response = dataservice.companies().insert(company=company)
api_response = dataservice.companies().merge(uid=uid, body={"merge_uids": [uid, uid]})
api_response = dataservice.companies().update(uid=uid, company=company)
api_response = dataservice.companies().delete(uid=uid)
api_response = dataservice.companies().subscribers().list(company_uid=company_uid)
api_response = dataservice.companies().subscribers().get(company_uid=company_uid, user_uid=user_uid)
api_response = dataservice.companies().subscribers().insert(company_uid=company_uid, user_uid=user_uid)
api_response = dataservice.companies().subscribers().delete(company_uid=company_uid, user_uid=user_uid)
api_response = dataservice.companies().customers().list(company_uid=company_uid)
api_response = dataservice.companies().customers().insert(company_uid=company_uid, customer_uid=user_uid, dealer_information=dealer_information)
api_response = dataservice.companies().customers().delete(company_uid=company_uid, customer_uid=user_uid)
api_response = dataservice.companies().customers().patch(company_uid=company_uid, customer_uid=user_uid, dealer_information=dealer_information)
api_response = dataservice.companies().contacts().list(company_uid=company_uid, customer_uid=customer_uid)
api_response = dataservice.companies().contacts().insert(company_uid=company_uid, customer_uid=customer_uid, contact_information=contact_information)
api_response = dataservice.companies().contacts().update(uid=uid, contact_information=contact_information)
api_response = dataservice.companies().contacts().delete(uid=uid)
api_response = dataservice.companies().branches().list_for(company_uid=company_uid)
api_response = dataservice.companies().branches().list()
api_response = dataservice.companies().branches().list(include_machines=True)
api_response = dataservice.companies().branches().get(uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.companies().branches().insert(company_uid=company_uid, branch=branch)
api_response = dataservice.companies().branches().update(uid=uid, branch=branch)
api_response = dataservice.companies().branches().delete(uid=uid)
api_response = dataservice.companies().branches().subscribers().list(branch_uid=branch_uid)
api_response = dataservice.companies().branches().subscribers().insert(company_branch_subscriber=company_branch_subscriber)
api_response = dataservice.companies().branches().subscribers().delete(company_branch_uid=uid, subscriber_uid=uid)
api_response = dataservice.apbs().list()
api_response = dataservice.apbs().list(apb_uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.apbs().list(brand="brand", model="model", serial="1234")
api_response = dataservice.apbs().list(dealer_uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.apbs().list(dealer_branch_uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.apbs().insert(new_apb=new_apb)
api_response = dataservice.apbs().delete(apb_uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.apbs().update(apb=updated_apb)
api_response = dataservice.apbs().status().list(apb_uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.apbs().status().insert(new_apb_status=new_apb_status)
api_response = dataservice.apbs().status().delete(apb_status_uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.apbs().status().update(apb_status=updated_apb_status)
api_response = dataservice.apbs().requests().list(uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.apbs().requests().get(uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.apbs().requests().insert(new_apb_request=new_apb_request)
api_response = dataservice.apbs().requests().delete(uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.apbs().requests().update(apb_request=updated_apb_request)
api_response = dataservice.machines().catalog().list()
api_response = dataservice.machines().catalog().list(machine_catalog_uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.machines().catalog().insert(new_machine_catalog=new_machine_catalog)
api_response = dataservice.machines().catalog().delete(machine_catalog_uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.machines().catalog().update(machine_catalog=machine_catalog)
api_response = dataservice.machines().assign_machines_to_default_dealer(customer_account="c123", ignore_machines_with_dealer=True)
api_response = dataservice.machines().list()
api_response = dataservice.warranties().rates().list(include_util_data=True)
api_response = dataservice.machines().list(account="a123")
api_response = dataservice.machines().list(dealer_code="d123")
api_response = dataservice.machines().list(branch_uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.machines().list(owner_company_uid="07cc67f4-45d6-494b-adac-09b5cbc7e2b5", dealer_company_uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.machines().list(dealer_company_uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.machines().list(dealer_branch_uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.machines().list(account_uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.machines().list(account="a123", dealer_account="d123")
api_response = dataservice.machines().list(account_uid="123e4567-e89b-12d3-a456-426614174000", dealer_account_uid="07cc67f4-45d6-494b-adac-09b5cbc7e2b5")
api_response = dataservice.machines().list(brand="brand", model="model", serial="1234")
api_response = dataservice.machines().get(uid=uid)
api_response = dataservice.machines().insert(new_machine=new_machine)
api_response = dataservice.machines().delete(uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.machines().update(uid=uid, machine=updated_machine)
api_response = dataservice.machines().assign_machines_to_default_dealer(customer_account="c123", ignore_machines_with_dealer=True)
api_response = dataservice.machines().serials().list()
api_response = dataservice.machines().models().list()
api_response = dataservice.machines().brands().list()
api_response = dataservice.machines().brands().list(model=model)
api_response = dataservice.machines().product_types().list()
api_response = dataservice.machines().telematics().list()
api_response = dataservice.machines().telematics().list(uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.machines().telematics().list(machine_uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.machines().telematics().insert(telematics=telematics)
api_response = dataservice.machines().telematics().update(telematics=telematics)
api_response = dataservice.machines().telematics().delete(uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.machines().logs().list()
api_response = dataservice.machines().logs().list(machine_log_uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.machines().logs().list(machine_uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.machines().logs().list(model=model, serial=serial)
api_response = dataservice.machines().logs().insert(machine_log=machine_log)
api_response = dataservice.machines().logs().delete(uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.machines().logs().update(log=log)
api_response = dataservice.parts().list()
api_response = dataservice.parts().get(uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.parts().list(partName="abc")
api_response = dataservice.parts().list(partNumber="acme-01")
api_response = dataservice.parts().list(isKit=True)
api_response = dataservice.parts().list(isKitPart=True)
api_response = dataservice.parts().list(isKit=True, isKitPart=False)
api_response = dataservice.parts().insert(part=part)
api_response = dataservice.parts().update(uid=uid, part=part)
api_response = dataservice.parts().delete(uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.parts().kits().list(uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.parts().kits().get(uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.parts().kits().list(kitPartNumber="acme-01")
api_response = dataservice.parts().kits().list(partNumber="acme-01")
api_response = dataservice.parts().kits().insert(kit=kit)
api_response = dataservice.parts().kits().update(uid=uid, kit=kit)
api_response = dataservice.parts().kits().delete(uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.services().maintenanceIntervals().list()
api_response = dataservice.services().maintenanceIntervals().list(uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.services().maintenanceIntervals().list(hours=250, brand=brand, model=model, serial=serial)
api_response = dataservice.services().maintenanceIntervals().insert(maintenanceInterval=maintenanceInterval)
api_response = dataservice.services().maintenanceIntervals().update(maintenanceInterval=maintenanceInterval)
api_response = dataservice.services().maintenanceIntervals().delete(uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.services().serviceReports().list()
api_response = dataservice.services().serviceReports().list(uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.services().serviceReports().list(model=model, serial=serial, machine_uid=machine_uid)
api_response = dataservice.services().serviceReports().list(account_uid=account_uid, account=account)
api_response = dataservice.services().serviceReports().insert(service_report=service_report)
api_response = dataservice.services().serviceReports().update(service_report=service_report)
api_response = dataservice.services().serviceReports().delete(uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.services().emails().resetServiceDueHours(email_fields=email_fields)
api_response = dataservice.services().emails().create(email_template=email_template, email_fields=email_fields)
api_response = dataservice.services().templates().emails().create(email_template=email_template, email_fields=email_fields)
api_response = dataservice.services().templates().documents().create(document_template=document_template, document_fields=document_fields)
api_response = dataservice.services().templates().pdfs().create(document_template=document_template, include_page_numbers=True, orientation="landscape", pdf_params=pdf_params)
api_response = dataservice.summaries().machineParts().list()
api_response = dataservice.summaries().machineParts().list(account="a123")
api_response = dataservice.summaries().machineParts().list(dealer_uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.summaries().machineParts().list(account_uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.summaries().machineParts().list(account="a123", dealer_account="d123")
api_response = dataservice.summaries().machineParts().list(account_uid="123e4567-e89b-12d3-a456-426614174000", dealer_account_uid="07cc67f4-45d6-494b-adac-09b5cbc7e2b5")
api_response = dataservice.summaries().machineParts().list(model="model", serial="1234")
api_response = dataservice.summaries().machineOwners().list()
api_response = dataservice.summaries().machineOwners().list(account="a123")
api_response = dataservice.summaries().machineOwners().list(dealer_uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.summaries().machineOwners().list(account_uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.summaries().machineOwners().list(account="a123", dealer_account="d123")
api_response = dataservice.summaries().machineOwners().list(account_uid="123e4567-e89b-12d3-a456-426614174000", dealer_account_uid="07cc67f4-45d6-494b-adac-09b5cbc7e2b5")
api_response = dataservice.summaries().machineOwners().list(model="model", serial="1234")
api_response = dataservice.summaries().machineOwners().list(model="model", serial_range_start ="1234", engine_hours_last_twelve_months=True)
api_response = dataservice.warranties().registrations().list()
api_response = dataservice.warranties().registrations().list(uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.warranties().registrations().list(model=model, serial=serial, machine_uid=machine_uid)
api_response = dataservice.warranties().registrations().list(account_uid=account_uid, account=account)
api_response = dataservice.warranties().registrations().insert(warranty_registration=warranty_registration)
api_response = dataservice.warranties().registrations().update(warranty_registration=warranty_registration)
api_response = dataservice.warranties().registrations().delete(uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.warranties().creditRequests().summaries().list()
api_response = dataservice.warranties().creditRequests().summaries().list(dealer_account='d123')
api_response = dataservice.warranties().creditRequests().summaries().list(dealer_code='d123')
api_response = dataservice.warranties().creditRequests().summaries().list(dealer_uid='123e4567-e89b-12d3-a456-426614174000')
api_response = dataservice.warranties().creditRequests().summaries().get(uid='123e4567-e89b-12d3-a456-426614174000')
api_response = dataservice.warranties().creditRequests().list()
api_response = dataservice.warranties().creditRequests().list(uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.warranties().creditRequests().get(uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.warranties().creditRequests().list(dealer_account="d123)
api_response = dataservice.warranties().creditRequests().insert(creditRequest=creditRequest)
api_response = dataservice.warranties().creditRequests().addFile(uid="123e4567-e89b-12d3-a456-426614174000", file=file)
api_response = dataservice.warranties().creditRequests().listFiles(uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.warranties().creditRequests().downloadFile(uid="123e4567-e89b-12d3-a456-426614174000", filename=filename)
api_response = dataservice.warranties().creditRequests().update(uid=uid, creditRequest=creditRequest)
api_response = dataservice.warranties().creditRequests().delete(uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.warranties().creditRequests().logs().get(uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.warranties().creditRequests().logs().list()
api_response = dataservice.warranties().creditRequests().logs().list(warranty_credit_request_uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.warranties().creditRequests().logs().insert(warranty_log=warranty_log)
api_response = dataservice.warranties().creditRequests().logs().delete(uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.warranties().creditRequests().logs().update(log=log)
api_response = dataservice.warranties().creditRequests().snapshots().list(warranty_credit_request_uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.warranties().rates().list()
api_response = dataservice.warranties().rates().list(include_util_data=True)
api_response = dataservice.warranties().rates().list(uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.warranties().rates().get(uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.warranties().rates().list(dealer_branch_uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.warranties().rates().list(dealer_branch_uid=uid, date=date)
api_response = dataservice.warranties().rates().list(dealer_account="acme-01")
api_response = dataservice.warranties().rates().list(dealer_account_uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.warranties().rates().insert(warrantyRates=warrantyRates)
api_response = dataservice.warranties().rates().update(uid=uid, warrantyRates=warrantyRates)
api_response = dataservice.warranties().rates().delete(uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.warranties().glCodes().list()
api_response = dataservice.warranties().glCodes().list(site=site)
api_response = dataservice.warranties().glCodes().get(uid=uid)
api_response = dataservice.warranties().glCodes().insert(warranty_gl_code=warranty_gl_code)
api_response = dataservice.warranties().glCodes().update(uid=uid, warranty_gl_code=warranty_gl_code)
api_response = dataservice.warranties().glCodes().delete(uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.warranties().productImprovements().list()
api_response = dataservice.warranties().productImprovements().list(machine_uid=machine_uid)
api_response = dataservice.warranties().productImprovements().list(model=model, serial=serial)
api_response = dataservice.warranties().productImprovements().list(is_published=True)
api_response = dataservice.warranties().productImprovements().insert(product_improvement=product_improvement)
api_response = dataservice.warranties().productImprovements().update(uid=uid, product_improvement=product_improvement)
api_response = dataservice.warranties().productImprovements().delete(uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.warranties().productImprovements().populations().insert(pip_uid=uid, population=population)
api_response = dataservice.warranties().productImprovements().populations().update(uid=uid, population=population)
api_response = dataservice.warranties().productImprovements().populations().delete(uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.warranties().productImprovements().machines().list()
api_response = dataservice.warranties().productImprovements().machines().insert(pip_uid=uid, pip_machine=pip_machine)
api_response = dataservice.warranties().productImprovements().machines().update(uid=uid, pip_machine=pip_machine)
api_response = dataservice.warranties().productImprovements().machines().delete(uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.warranties().rga().list()
api_response = dataservice.warranties().rga().insert(rga=rga)
api_response = dataservice.warranties().rga().update(uid=uid, rga=rga)
api_response = dataservice.warranties().rga().delete(uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.warranties().rga().parts().list()
api_response = dataservice.warranties().rga().parts().insert(rga_uid=uid, rga_part=rga_part)
api_response = dataservice.warranties().rga().parts().update(uid=uid, rga_part=rga_part)
api_response = dataservice.warranties().rga().parts().delete(uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.warranties().emails().create(emailRequest=emailRequest)
api_response = dataservice.warranties().emails().create(useLocalTemplate=True, emailRequest=emailRequest)
api_response = dataservice.warranties().failureModes().list()
api_response = dataservice.warranties().failureModes().list(failure_mode_level_1="mode")
api_response = dataservice.inspections().reports().insert(inspectionReport=inspectionReport)
api_response = dataservice.portalUsers().list()
api_response = dataservice.portalUsers().list(user_uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.portalUsers().list(user_role='role')
api_response = dataservice.portalUsers().list(dealer_code='d123')
api_response = dataservice.portalUsers().list(company_uid="123e4567-e89b-12d3-a456-426614174000")
api_response = dataservice.portalUsers().update(portal_user=portal_user)
api_response = dataservice.subscriptions().list()
api_response = dataservice.subscriptions().list(category_1=c1,category_2=c2,category_3=c3,category_4=c4,category_5=c5,medium='email')
api_response = dataservice.subscriptions().categories().list()
api_response = dataservice.subscriptions().categories().list(category_1=c1,category_2=c2,category_3=c3,category_4=c4,category_5=c5,email=True,sms=False)
api_response = dataservice.subscriptions().categories().insert(subscription_category=subscription_category)
api_response = dataservice.subscriptions().categories().update(uid=uid, subscription_category=subscription_category)
api_response = dataservice.subscriptions().categories().delete(uid=uid)
api_response = dataservice.subscriptions().users().list_subscribed_users(category_1=c1,category_2=c2,category_3=c3,category_4=c4,category_5=c5,email=True,sms=False)
api_response = dataservice.subscriptions().users().list_subscriptions_for_user(uid=uid,category_1=c1,category_2=c2,category_3=c3,category_4=c4,category_5=c5,email=True,sms=False)
api_response = dataservice.subscriptions().users().insert(subscription_category_uid=uid, user_uid=uid, medium='email')
api_response = dataservice.subscriptions().users().delete(subscription_category_uid=uid, user_uid=uid, medium='email')
api_response = dataservice.predictiveMaintenance().list()
api_response = dataservice.edap().asset_sales().list()
api_response = dataservice.edap().asset_sales().list(business_unit_id=bui,model=model,serial_number=serial_number)
Usage Examples - Email Services:
from rockyroad.rockyroad import build
emailservice = build(serviceName="email-services", version="v1", base_url='INSERT_URL_FOR_API')
email_message = {
"recipient": "someone@acme.com",
"subject": "Sending Email Message via API",
"html_message": "This email send via the API!",
"text_message": "This email send via the API!",
}
api_response = emailservice.emails().send(email_message_json)
print(api_response)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file RockyRoad-0.0.203-py3-none-any.whl
.
File metadata
- Download URL: RockyRoad-0.0.203-py3-none-any.whl
- Upload date:
- Size: 34.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9d878a8c6ef2ecc883e1bb7104952e01204be6465d059c1061192235a46e8f1 |
|
MD5 | 4dedc9fc1f88096d34fdad5981436e06 |
|
BLAKE2b-256 | 17aad28201f78b43daccfa98ed7de55e6b7609cff2ae9f7d1d72f5f91b47eb88 |