Skip to main content
Solved

Creating Resources - Reg

  • Jul 12, 2023 10:38 AM UTC
  • 5 replies
  • 126 views

Forum|alt.badge.img+4

Dear Community,

 

May I know how to create a scheduling resource through “IFSSchedulingRESTfulGateway” API ?  as I can see only  “GET  https://MyHost/IFSSchedulingRESTfulGateway/api/v1/scheduling/resource “  and No  POST in the interface guide. When I tried with POST methods the API threw an error “Method not allowed”.

Best answer by Sajith Anushan

You need to use  https://MyHost/IFSSchedulingRESTfulGateway/api/v1/scheduling/data  POST endpoint with dataType = SCHEDULE parameter. 

View original

5 replies

Forum|alt.badge.img+22
  • Superhero (Employee)
  • Answer
  • Jul 12, 2023 10:46 AM UTC

You need to use  https://MyHost/IFSSchedulingRESTfulGateway/api/v1/scheduling/data  POST endpoint with dataType = SCHEDULE parameter. 


Forum|alt.badge.img+4
  • Author
  • Sidekick
  • Jul 12, 2023 10:49 AM UTC

Thank you for the swift response Sajith, Hope this is the same way we have to update (UPDATE) the resource for example to the the skills and qualifications etc. 


Forum|alt.badge.img+22
  • Superhero (Employee)
  • Jul 12, 2023 11:01 AM UTC

That is correct. Follow the entities in Scheduling Schema.


Forum|alt.badge.img+4
  • Author
  • Sidekick
  • Jul 12, 2023 11:05 AM UTC

Thank you Sajith,  Would you  mind sending the latest “Scheduling Schema” here please ?


Forum|alt.badge.img+22
  • Superhero (Employee)
  • Jul 12, 2023 11:07 AM UTC

Here you go.