Uploaded image for project: 'mod-inn-reach'
  1. mod-inn-reach
  2. MODINREACH-227

Create API endpoint (GET) for location mappings

    XMLWordPrintable

Details

    • Volaris Sprint 134, Volaris Sprint 135
    • 2
    • Volaris
    • TBD

    Description

      Overview:

      Create an endpoint to get location-mappings for all libraries in a single request.

      Example:

      [
       {
        id: "1081f7ee-7657-4e6c-9bec-30750786ae20",
        innReachLocationId: "c625c7e0-02c9-4264-a899-d329c2e032c9",
        locationId: "758258bc-ecc1-41b8-abca-f7b610822ffd",
        libraryId: "05d23bb3-a1a2-40e6-ba85-c8fb9bd38d80",
        matadata: {},
       },
       {
        id: "53fbd987-c00c-4775-a13b-1c8ce57260b4",
        innReachLocationId: "c625c7e0-02c9-4264-a899-d329c2e032b8",
        locationId: "758258bc-ecc1-41b8-abca-f7b610822arp",
        libraryId: "05d23bb3-a1a2-40e6-ba85-c8fb9bd38d23",
        matadata: {},
       }
        ...
      ]

      or 

      [
        {
          libararyId: "05d23bb3-a1a2-40e6-ba85-c8fb9bd38d23",
          locationMappings: [
            {
              id: "1081f7ee-7657-4e6c-9bec-30750786ae20",
              innReachLocationId: "c625c7e0-02c9-4264-a899-d329c2e032c9",
              locationId: "758258bc-ecc1-41b8-abca-f7b610822ffd",
              matadata: {},
            },
            ...
          ]
        },
        {
          libararyId: "05d23bb3-a1a2-40e6-ba85-c8fb9bd38d80",
          locationMappings: [
            {
              id: "1081f7ee-7657-4e6c-9bec-30750786ae20",
              innReachLocationId: "c625c7e0-02c9-4264-a899-d329c2e032c9",
              locationId: "758258bc-ecc1-41b8-abca-f7b610822ffd",
              matadata: {},
            },
            ...
          ]
        },
        ...
      ]

       

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Dmytro_Melnyshyn Dmytro Melnyshyn
                Dmytro_Melnyshyn Dmytro Melnyshyn
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases