# Where do I get the Fragment and Series names for methods relying on the Web SDK

**URL:** <https://community.cumulocity.com/t/where-do-i-get-the-fragment-and-series-names-for-methods-relying-on-the-web-sdk/4312>\
**Category:** Forum\
**Tags:** cumulocity\
**Created:** [August 28, 2023, 8:58pm UTC](https://community.cumulocity.com/t/where-do-i-get-the-fragment-and-series-names-for-methods-relying-on-the-web-sdk/4312 "2023-08-28T20:58:20Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Korbinian\_Butz](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/korbinian_butz/32/10473_2.png) [@Korbinian\_Butz](https://community.cumulocity.com/u/Korbinian_Butz)\
**Post date:** [August 28, 2023, 9:52pm UTC](https://community.cumulocity.com/t/where-do-i-get-the-fragment-and-series-names-for-methods-relying-on-the-web-sdk/4312/2 "2023-08-28T21:52:18Z")

</div>

Hi Lucas,

was this template already used and you have such measurements in your tenant?

In general, measurements are following a specific structure that foresees each measurement value to be embedded within a fragment and a series (often the fragment is being used for classification purposes and the series as measurement-name).  
In this example "c8y\_Steam is the `fragment`, “Temperature” the `series` and “c8y\_TemperatureMeasurement” the `type`:

```json
{
  "source": {
    "id": "251982"
  },
  "time": "2020-03-19T12:03:27.845Z",
  "type": "c8y_TemperatureMeasurement",
  "c8y_Steam": {
    "Temperature": {
      "unit": "C",
      "value": 100
    }
  }
}

```

You’ll need to have `1..n` fragments with `1..n` series per fragment in your measurement. Each series needs to contain exactly one `value` attribute. See measurement-design in this [domain model article](https://community.cumulocity.com/t/the-cumulocity-iot-domain-model-how-to-design-a-good-domain-model/1487#measurement-design-11) for more info.

If you have produced these measurements already:  
Use [this](https://cumulocity.com/api/core/10.16.0/#operation/getMeasurementCollectionResource) API Endpoint to query your devices measurements. `GET /measurement/measurements?source={your device id}` should reveal the structure how your measurements are stored - including the fragments/series names. You can import the openApi spec to any REST Client (e.g. Postman) to do these queries. From your screenshot I would expect fragmentName is “mode” and series “bariatric”.

Another REST Endpoint that might be of interest is this one to [retrieve all supported measurement fragments and series of a Managed Object](https://cumulocity.com/api/core/10.16.0/#operation/getSupportedSeriesManagedObjectResource)

---

_[View the full topic](https://community.cumulocity.com/t/where-do-i-get-the-fragment-and-series-names-for-methods-relying-on-the-web-sdk/4312)._
