GET to /service-points/20fee9ce-edbb-43cf-890f-0ef65094f5de returns:
404 Not found
No suitable module found for path /service-points/20fee9ce-edbb-43cf-890f-0ef65094f5de
I note that the module descriptor refers to /service-types/{id} instead of /service-points, maybe that's the problem? The raml refers to /service-points/{servicepointId}
To recreate:
Post to
/service-points
:{ "id": "20fee9ce-edbb-43cf-890f-0ef65094f5de", "name": "Circ Desk 3", "code": "cd3", "discoveryDisplayName": "Circulation Desk -- Broom Closet" }
mod-inventory-storage returns:
{ "id": "20fee9ce-edbb-43cf-890f-0ef65094f5de", "name": "Circ Desk 3", "code": "cd3", "discoveryDisplayName": "Circulation Desk -- Broom Closet", "metadata": { "createdDate": "2018-04-13T22:29:24.757+0000", "createdByUserId": "1ad737b0-d847-11e6-bf26-cec0c932ce01", "updatedDate": "2018-04-13T22:29:24.757+0000", "updatedByUserId": "1ad737b0-d847-11e6-bf26-cec0c932ce01" } }
GET to
/service-points
returns:{ "servicepoints": [ { "id": "20fee9ce-edbb-43cf-890f-0ef65094f5de", "name": "Circ Desk 3", "code": "cd3", "discoveryDisplayName": "Circulation Desk -- Broom Closet", "metadata": { "createdDate": "2018-04-13T22:29:24.757+0000", "createdByUserId": "1ad737b0-d847-11e6-bf26-cec0c932ce01", "updatedDate": "2018-04-13T22:29:24.757+0000", "updatedByUserId": "1ad737b0-d847-11e6-bf26-cec0c932ce01" } } ], "totalRecords": 1 }
GET to
/service-points/20fee9ce-edbb-43cf-890f-0ef65094f5de
returns:404 Not found No suitable module found for path /service-points/20fee9ce-edbb-43cf-890f-0ef65094f5de
I note that the module descriptor refers to /service-types/{id} instead of /service-points, maybe that's the problem? The raml refers to /service-points/{servicepointId}