Skip to main content

Python Wrapper for Oracle Field Service API

Project description

OFSC

A simple Python wrapper for Oracle OFS REST API

Functions implemented

Core / Activities

get_activities (self, params, response_type=TEXT_RESPONSE)
get_activity (self, activity_id, response_type=TEXT_RESPONSE):
update_activity (self, activity_id, data, response_type=TEXT_RESPONSE)
move_activity (self, activity_id, data, response_type=TEXT_RESPONSE)
get_file_property(self, activityId, label, mediaType="application/octet-stream", response_type=FULL_RESPONSE)

Core / Events

get_subscriptions(self, response_type=TEXT_RESPONSE)
create_subscription(self, data, response_type=TEXT_RESPONSE)
delete_subscription(self, subscription_id, response_type=FULL_RESPONSE)
get_subscription_details(self, subscription_id, response_type=TEXT_RESPONSE)
get_events(self, params, response_type=TEXT_RESPONSE)

Core / Resources

get_resource(self, resource_id, inventories=False, workSkills=False, workZones=False, workSchedules=False , response_type=TEXT_RESPONSE)
get_position_history(self, resource_id,date,response_type=TEXT_RESPONSE)
get_resource_route(self, resource_id, date, activityFields = None, offset=0, limit=100, response_type=TEXT_RESPONSE)
get_resource_descendants(self, resource_id,  resourceFields=None, offset=0, limit=100, inventories=False, workSkills=False, workZones=False, workSchedules=False, response_type=TEXT_RESPONSE)

Core / Users

get_users(self, offset=0, limit=100, response_type=FULL_RESPONSE):
get_user(self, login, response_type=FULL_RESPONSE):
update_user (self, login, data, response_type=TEXT_RESPONSE):

Metadata / Capacity

get_capacity_areas (self, expand="parent", fields=capacityAreasFields, status="active", queryType="area", response_type=FULL_RESPONSE):
get_capacity_area (self,label, response_type=FULL_RESPONSE)

get_activity_groups (self, expand="parent", offset=0, limit=100, response_type=FULL_RESPONSE):
get_activity_group (self,label, response_type=FULL_RESPONSE)

get_activity_types(self, offset=0, limit=100, response_type=FULL_RESPONSE):
get_activity_type (self, label, response_type=FULL_RESPONSE)

Metadata / properties

get_properties (self, offset=0, limit=100, response_type=FULL_RESPONSE):

Test History

OFS REST API Version PyOFSC
20C 1.7
21A 1.8, 1.8,1, 1.9
21D 1.15
22B 1.16

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ofsc-1.16.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

ofsc-1.16-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file ofsc-1.16.tar.gz.

File metadata

  • Download URL: ofsc-1.16.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for ofsc-1.16.tar.gz
Algorithm Hash digest
SHA256 8c64df99023c9be36565fd28bdd7cf15e906df14c8ad27a801be44e4498c2c96
MD5 fb2fff14c9557ef503c8d9ed0a243f7d
BLAKE2b-256 88cc7197a2fbbb7bb40d3af38d6d9595a8dc960431b7f60333fb4adf97cc2884

See more details on using hashes here.

File details

Details for the file ofsc-1.16-py3-none-any.whl.

File metadata

  • Download URL: ofsc-1.16-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for ofsc-1.16-py3-none-any.whl
Algorithm Hash digest
SHA256 06dc924a2ed7653c98962fbd9d337e5ad0eacf96bc822bc7b1d09a505ac31a3b
MD5 22a7545f53e00cd3eca417c107964858
BLAKE2b-256 b6287c8304685336c42535e125e886eb88fe56ec27b3c0f68e67870f1cda65f5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page