{"id":20484610,"url":"https://github.com/sap-samples/fsm-scheduling-samples","last_synced_at":"2026-03-17T19:22:40.263Z","repository":{"id":38462172,"uuid":"321415297","full_name":"SAP-samples/fsm-scheduling-samples","owner":"SAP-samples","description":"SAP Field Service Management - artificial intelligence scheduling - reference implementation and tools.","archived":false,"fork":false,"pushed_at":"2025-03-07T13:12:37.000Z","size":4682,"stargazers_count":3,"open_issues_count":43,"forks_count":5,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-13T14:53:27.541Z","etag":null,"topics":["booking-api","field-service-management","plugins","reference-implementation","sample","sample-code","sap-fsm","scheduling"],"latest_commit_sha":null,"homepage":"https://www.sap.com/products/field-service-management.html","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SAP-samples.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-12-14T16:58:42.000Z","updated_at":"2025-04-04T03:37:24.000Z","dependencies_parsed_at":"2023-11-21T20:28:02.181Z","dependency_job_id":"882fe550-78b6-4ebe-9428-24e2fe9bf308","html_url":"https://github.com/SAP-samples/fsm-scheduling-samples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SAP-samples/fsm-scheduling-samples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP-samples%2Ffsm-scheduling-samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP-samples%2Ffsm-scheduling-samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP-samples%2Ffsm-scheduling-samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP-samples%2Ffsm-scheduling-samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SAP-samples","download_url":"https://codeload.github.com/SAP-samples/fsm-scheduling-samples/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP-samples%2Ffsm-scheduling-samples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30629152,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-17T17:32:55.572Z","status":"ssl_error","status_checked_at":"2026-03-17T17:32:38.732Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["booking-api","field-service-management","plugins","reference-implementation","sample","sample-code","sap-fsm","scheduling"],"created_at":"2024-11-15T16:24:16.028Z","updated_at":"2026-03-17T19:22:40.236Z","avatar_url":"https://github.com/SAP-samples.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SAP Field Service Management - Intelligent Scheduling Samples\n\n[![REUSE status](https://api.reuse.software/badge/github.com/SAP-samples/fsm-scheduling-samples)](https://api.reuse.software/info/github.com/SAP-samples/fsm-scheduling-samples)\n\n# About this repository\n\nIn this repository you will find example code, code snippet and a example scheduling workbench-app application to work with SAP FSM APIs for advanced scheduling use cases and reference implementation for integration scenarios.\n\n## Demo application \n\nFind a workbench demo here: [demo-application](https://fsm-scheduling-samples.cfapps.eu10.hana.ondemand.com)\n\n# Requirements\n\nto use the examples in this repository you will need a SAP FSM account with admin-role data access with account (id \u0026 name) / company (id \u0026 name)  / user (id \u0026 name) as well as the name of the data-cluster (eu|de|us|au|cn)\n\nto build and run the source code:\n- docker 19.x\n- nodejs v10.x\n- npm v6.9.x\n\n\u003e**NOTE:** We recommend using unix based systems to follow this guide. Note that for OSX and Windows tools might be installed differently.\n\n\n# Getting started, Download and Installation\n\nCheckout the [how-to.md](./docs/how-to.md) quick guide in the `/docs`-folder.\nHTTP requests may be found in ``/workbench/backend/http_requests`` directory. You will need to [set an environment](https://www.jetbrains.com/help/idea/http-client-in-product-code-editor.html) with with several variables in order to execute the requests. \n\n## Running pre build docker container locally\n```bash\ndocker run --rm -e PORT=3000 -p 3000:3000 --name fsm-scheduling-samples gausim/fsm-scheduling-samples:latest\n```\nopen http://localhost:3000 in your browser\n\n## Build from source \u0026 run workbench-app locally\nuse the cli the following command in the `/workbench-app`-folder\n```bash\ncd workbench \u0026\u0026 ./cli.sh \n```\nuse commands:\n```\nr -\u003e run container\nb -\u003e build container\nd -\u003e deploy\n```\n\n# Configuration\n- For workbench configuration options see this [readme](./workbench/README.md)-file\n\n# Limitations\n- Refer to [constraints and limitations](https://help.sap.com/viewer/fsm_ai/Cloud/en-US/constraints-limitations.html) documentation\n\n# Known Issues\n- Maintainers of the project have to observe changes in the DTO Model and make sure the [fsm-sdk dependency is updated](https://github.com/SAP/fsm-sdk/blob/master/src/test/update-dto-versions.ts) accordingly, otherwise the query API will fail. The update in fsm-sdk has to be manually executed.\n\n# Supplements\nOn top of the workbench application, you can also configure Business Rules to trigger reoptimization and avoid scenarios like overlapping jobs for a Technician. Refer to [business-rules](/business-rules) folder.\n\n# How to obtain support\n\n## Product support\n- In case you need further help, check out the [SAP Field Service Management Help Portal](https://help.sap.com/viewer/product/SAP_FIELD_SERVICE_MANAGEMENT/Cloud/en-US) or report and incident in [SAP Support Portal](https://support.sap.com) with the component \"CEC-SRV-FSM\".\n\n## Technical request \n- [https://developers.sap.com/](https://developers.sap.com) and developers@sap.com\n\n- Technical questions about code in this repository, please open an issue [here](https://github.com/SAP-samples/fsm-scheduling-samples/issues/new)\n\n## Related documentation \n\n- [SAP Field Service Management - Product Website](https://www.sap.com/germany/products/field-service-management.html)\n- [AI-based Scheduling](https://help.sap.com/viewer/fsm_ai/Cloud/en-US/ai-based-scheduling-overview.html) \n  - [Best Matching Technician](https://help.sap.com/viewer/fsm_ai/Cloud/en-US/best-matching-technician-two-versions.html)\n  - [Sample Business Rules for Optimization](https://help.sap.com/viewer/fsm_ai/Cloud/en-US/optimization-business-rules.html)\n- [Optimization API](https://eu.coresystems.net/optimization/api/v1/swagger-ui/#/)\n- [Service Management API](https://help.sap.com/viewer/fsm_service_api/Cloud/en-US/service-api-overview.html) [Spec](https://app.swaggerhub.com/apis/coresystemsFSM/ServiceManagementAPI) \n\n\n# Contributing\n\nWant to contribute? Check out our [contribution](./CONTRIBUTING.md) guide and follow our [code of conduct](./CODE_OF_CONDUCT).\n\n# License\nCopyright (c) 2021 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the [LICENSE](LICENSES/Apache-2.0.txt) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsap-samples%2Ffsm-scheduling-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsap-samples%2Ffsm-scheduling-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsap-samples%2Ffsm-scheduling-samples/lists"}