Skip to content

Add support for getting gear attached to an activity - #99

Open
drewbrew wants to merge 6 commits into
petergardfjall:masterfrom
drewbrew:add-gear-support
Open

Add support for getting gear attached to an activity#99
drewbrew wants to merge 6 commits into
petergardfjall:masterfrom
drewbrew:add-gear-support

Conversation

@drewbrew

Copy link
Copy Markdown

Uses the gear-service to get a list of JSON objects

Example data:

[
    {
        "gearPk": 12345678,
        "uuid": "abcdef12345678abcdef12345678",
        "userProfilePk": 12345,
        "gearMakeName": "Other",
        "gearModelName": "Unknown Bike",
        "gearTypeName": "Bike",
        "gearStatusName": "active",
        "displayName": "gray",
        "customMakeModel": "Marin Headlands 1",
        "imageNameLarge": null,
        "imageNameMedium": null,
        "imageNameSmall": null,
        "dateBegin": "2022-02-18T00:00:00.0",
        "dateEnd": null,
        "maximumMeters": 643737.6000000001,
        "notified": true,
        "createDate": "2022-06-23T18:37:07.0",
        "updateDate": "2022-07-10T18:03:00.0"
    },
    {
        "gearPk": 12345679,
        "uuid": "bcdef12345678abcdef12345678a",
        "userProfilePk": 12345,
        "gearMakeName": "Other",
        "gearModelName": "Unknown Shoes",
        "gearTypeName": "Shoes",
        "gearStatusName": "active",
        "displayName": "bike",
        "customMakeModel": "Shimano RC3",
        "imageNameLarge": null,
        "imageNameMedium": null,
        "imageNameSmall": null,
        "dateBegin": "2022-05-17T00:00:00.0",
        "dateEnd": null,
        "maximumMeters": 643738.0,
        "notified": true,
        "createDate": "2022-06-23T18:39:00.0",
        "updateDate": "2022-07-10T18:03:00.0"
    }
]

Uses the `gear-service` to get a list of JSON objects

Example data:

```json
[
    {
        "gearPk": 12345678,
        "uuid": "abcdef12345678abcdef12345678",
        "userProfilePk": 12345,
        "gearMakeName": "Other",
        "gearModelName": "Unknown Bike",
        "gearTypeName": "Bike",
        "gearStatusName": "active",
        "displayName": "gray",
        "customMakeModel": "Marin Headlands 1",
        "imageNameLarge": null,
        "imageNameMedium": null,
        "imageNameSmall": null,
        "dateBegin": "2022-02-18T00:00:00.0",
        "dateEnd": null,
        "maximumMeters": 643737.6000000001,
        "notified": true,
        "createDate": "2022-06-23T18:37:07.0",
        "updateDate": "2022-07-10T18:03:00.0"
    },
    {
        "gearPk": 12345679,
        "uuid": "bcdef12345678abcdef12345678a",
        "userProfilePk": 12345,
        "gearMakeName": "Other",
        "gearModelName": "Unknown Shoes",
        "gearTypeName": "Shoes",
        "gearStatusName": "active",
        "displayName": "bike",
        "customMakeModel": "Shimano RC3",
        "imageNameLarge": null,
        "imageNameMedium": null,
        "imageNameSmall": null,
        "dateBegin": "2022-05-17T00:00:00.0",
        "dateEnd": null,
        "maximumMeters": 643738.0,
        "notified": true,
        "createDate": "2022-06-23T18:39:00.0",
        "updateDate": "2022-07-10T18:03:00.0"
    }
]
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant