Uploaded image for project: 'mod-inventory-storage'
  1. mod-inventory-storage
  2. MODINVSTOR-110

/service-points/{id} endpoint returns 404

    XMLWordPrintable

Details

    Description

      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}

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                kurt Kurt Nordstrom
                wayne Wayne Schneider
                Marc Johnson Marc Johnson
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 2 hours, 15 minutes
                    2h 15m

                    TestRail: Runs

                      TestRail: Cases