Using the native published REST-services, can a GET-operation look like rest/svc/v1/entity/{entityID}

0
Never mind, found it on https://docs.mendix.com/howto/integration/publish-rest-service Yes it can. __ Hi community, Using the native published REST-services, can a GET-operation look like rest/svc/v1/entity/{entityID} ? I configured an operation, but the example location reads http://localhost:8080/rest/svc/v1/entity?_ID={_ID} I do want to use the URL (as it is a GET-operation), but not in query style. Following up on this, I would like to have another operation, to get child info, like rest/svc/v1/entity/{entityID}/child/{childID}, is that also possible? Thanks in advance! Johan
asked
1 answers
0

Hi Johan,

Yes, you can specify url-segment parameters within curly braces in your operation path, like this:

The microflow will then receive the value as a string, which you can use in your logic.

And ditto for multiple URL segment params:

answered