Skip to main content
Solved

Creating Resources - Reg

  • July 12, 2023
  • 5 replies
  • 102 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. 

5 replies

Forum|alt.badge.img+22
  • Superhero (Employee)
  • Answer
  • July 12, 2023

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


Forum|alt.badge.img+4
  • Author
  • Sidekick
  • July 12, 2023

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)
  • July 12, 2023

That is correct. Follow the entities in Scheduling Schema.


Forum|alt.badge.img+4
  • Author
  • Sidekick
  • July 12, 2023

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


Forum|alt.badge.img+22
  • Superhero (Employee)
  • July 12, 2023

Here you go.