# I need example projects to use the bulk Measurement creation using the Measurement Representation or Measurement CollectionRepresentation sdk and example to create a new property and updates that property in ManageObjectRepresentations

**URL:** <https://community.cumulocity.com/t/i-need-example-projects-to-use-the-bulk-measurement-creation-using-the-measurement-representation-or-measurement-collectionrepresentation-sdk-and-example-to-create-a-new-property-and-updates-that-property-in-manageobjectrepresentations/3081>\
**Category:** Forum\
**Tags:** cumulocity\
**Created:** [July 8, 2022, 12:39pm UTC](https://community.cumulocity.com/t/i-need-example-projects-to-use-the-bulk-measurement-creation-using-the-measurement-representation-or-measurement-collectionrepresentation-sdk-and-example-to-create-a-new-property-and-updates-that-property-in-manageobjectrepresentations/3081 "2022-07-08T12:39:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sp00725748](https://avatars.discourse-cdn.com/v4/letter/s/2bfe46/32.png) [@sp00725748](https://community.cumulocity.com/u/sp00725748)\
**Post date:** [July 8, 2022, 12:39pm UTC](https://community.cumulocity.com/t/i-need-example-projects-to-use-the-bulk-measurement-creation-using-the-measurement-representation-or-measurement-collectionrepresentation-sdk-and-example-to-create-a-new-property-and-updates-that-property-in-manageobjectrepresentations/3081/1 "2022-07-08T12:39:55Z")

</div>

#### What product/components do you use and which version/fix level?

cumulocity

#### Are you using a free trial or a product with a customer license?

customer license

#### What are trying to achieve? Please describe in detail.

I need some example projects to use the bulk Measurement creation using the MeasurementRepresentation/MeasurementCollectionRepresentation sdk of cumulocity.  
Also, I need some example projects or code snippets that create a new property and updates that property in ManageObjectRepresentations.  
Anyone, if you have come across or used such kindly share the same.

#### Do you get any error messages? Please provide a **full error** message screenshot and log file.

#### Have you installed latest fixes for the products

---

<div class="post-metadata">

**Author:** ![Philipp\_Emmel](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/philipp_emmel/32/19455_2.png) [@Philipp\_Emmel](https://community.cumulocity.com/u/Philipp_Emmel)\
**Post date:** [July 8, 2022, 1:33pm UTC](https://community.cumulocity.com/t/i-need-example-projects-to-use-the-bulk-measurement-creation-using-the-measurement-representation-or-measurement-collectionrepresentation-sdk-and-example-to-create-a-new-property-and-updates-that-property-in-manageobjectrepresentations/3081/2 "2022-07-08T13:33:16Z")

</div>

I’m not aware of any public example where bulk measurement creation is used within an application. Here are the unit test that illustrate how it is done: [cumulocity-clients-java/java-client/src/test/java/com/cumulocity/sdk/client/measurement/MeasurementApiImplTest.java at 75b232aad653da1f70972d7e6be3144836a03669 · Cumulocity-IoT/cumulocity-clients-java · GitHub](https://github.com/Cumulocity-IoT/cumulocity-clients-java/blob/75b232aad653da1f70972d7e6be3144836a03669/java-client/src/test/java/com/cumulocity/sdk/client/measurement/MeasurementApiImplTest.java#L251)

You can find an example for setting managed object properties here: [cumulocity-microservice-templates/metrics/src/main/java/com/c8y/ms/templates/metrics/service/DeviceService.java at 74d5d9a72c1c7d2619b17b6c1df2f3c9093c6fb2 · Cumulocity-IoT/cumulocity-microservice-templates · GitHub](https://github.com/Cumulocity-IoT/cumulocity-microservice-templates/blob/74d5d9a72c1c7d2619b17b6c1df2f3c9093c6fb2/metrics/src/main/java/com/c8y/ms/templates/metrics/service/DeviceService.java#L124)

---

<div class="post-metadata">

**Author:** ![Tristan\_Bastian](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/tristan_bastian/32/18259_2.png) [@Tristan\_Bastian](https://community.cumulocity.com/u/Tristan_Bastian)\
**Post date:** [July 8, 2022, 1:33pm UTC](https://community.cumulocity.com/t/i-need-example-projects-to-use-the-bulk-measurement-creation-using-the-measurement-representation-or-measurement-collectionrepresentation-sdk-and-example-to-create-a-new-property-and-updates-that-property-in-manageobjectrepresentations/3081/3 "2022-07-08T13:33:32Z")

</div>

HI Sethu,

you can always try searching through the GitHub organization of Software AG.  
You will quickly find multiple samples using the `MeasurementCollectionRepresentation`: [Code search results · GitHub](https://github.com/search?q=org%3ASoftwareAG+MeasurementCollectionRepresentation&type=code)

Same should work for the `ManagedObjectRepresentation`: [Code search results · GitHub](https://github.com/search?q=org%3ASoftwareAG+ManagedObjectRepresentation&type=code)

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/system/32/31990_2.png) [@system](https://community.cumulocity.com/u/system)\
**Post date:** [October 6, 2022, 1:34pm UTC](https://community.cumulocity.com/t/i-need-example-projects-to-use-the-bulk-measurement-creation-using-the-measurement-representation-or-measurement-collectionrepresentation-sdk-and-example-to-create-a-new-property-and-updates-that-property-in-manageobjectrepresentations/3081/4 "2022-10-06T13:34:26Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
