Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.

http framework setup

Just seeing how much I am allowed to do:

I have this setup


in postman I do this:



in the log (because postman comes back with "could not get a response") i see this:
{
"status": 204,
"phrase": "This is a valid endpoint but the web API module has not yet been created.",
"method": "GET",
"URL": "http://localhost/api/bsmob_Jobclockon/job/9999"
}


Have I crossed the boundary, if so, which one.

btw 'http://localhost/api/bsmob_Jobclockon/workorder' is ok so 'bsmob_Jobclockon_api' has ben created and working.

Comments

  • Did you click the Create APIs button again after you added that "job" resource?
  • No, I clicked 'apply' only.
    I thought 'create APIs' was only if you needed to create the ssp for the base api (bsmob_jobclockon)
  • I get it. Lot's to learn. Here is the relevant text:

    How do I create an API?

    When creating an API you are either creating a new resource coupled with one or more supported HTTP methods or you are updating an existing resource by adding new supported HTTP methods. The below documentation creates an API for new resource but the process of creating an API for an updated resource is very similar.
  • Sorry, only read it once and assumed 'creating an API' was referring to ssp.
    Ah, that could explain a few failed attempts that I thought was malformed at my end.
  • You are not completely wrong. Every "resource" has its own stored procedure. So your "job" resource - even though it is a sub-resource to "bsmob_Jobclockon" - will have its own "JOB_API" stored procedure.
  • edited March 2022
    I think the terminology has me completely fooled. Did not know that. That explains why I get 'Latin' returned.

    Ah, look, I have a job_api ssp!!!

    Wonder how many extraneous ones I have from random button clicks!!!
  • Just curious, what does "ssp" mean to you? I've already assumed it meant "system stored procedure" (i.e., a Revelation Software provided routine).
  • I thought it referred to ANY stored procedure in the system. 😁
    Sorry, wont be able to get out of the habit.
Sign In or Register to comment.