Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

dco rest api _ Create a new asset

EcoStruxure IT forum

Schneider Electric support forum about installation and configuration for DCIM including EcoStruxure IT Expert, IT Advisor, Data Center Expert, and NetBotz

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • EcoStruxure IT
  • EcoStruxure IT forum
  • dco rest api _ Create a new asset
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
Cory_McDonald
Admiral Cory_McDonald Admiral
124
Jef
Admiral Jef Admiral
108
gsterling
Captain gsterling Captain
71
APC_Steve
Captain APC_Steve Captain
62
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to EcoStruxure IT forum
DCIM_Support
Picard DCIM_Support
Picard

Posted: ‎2020-07-03 03:01 PM . Last Modified: ‎2024-04-08 01:07 AM

0 Likes
6
645
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-07-03 03:01 PM . Last Modified: ‎2024-04-08 01:07 AM

dco rest api _ Create a new asset

Hi, 

I'm trying  to create a new asset inside an asset with an id specified.

I'm using this api: "/assets/{asset-id}/children

In example I want to create an asset similar to this, in the same parent asset:

 

[ { "id": "c2e5b43a-d826-4346-8c5c-ee793df3cfe3", "type": "storage", "location": "Global/Magazzino ED.9", "parentId": "9a334b63-fe6e-41af-b4a4-bf25e624f324", "parentName": "Global", "parentType": "location", "roomId": null, "roomName": "", "roomType": "", "cageName": "", "rackName": "", "barcode": "", "description": "", "name": "Magazzino ED.9", "manufacturer": "", "modelName": "", "partNumber": "", "serialNumber": "", "customPropertyKeys": "", "customPropertyValues": "", "luceneSearchScore": 0.028692061 }, { "id": "ddd4bbc6-97fb-43bc-aa50-aac2dd05486a", "type": "server", "location": "Global/Magazzino ED.9/PowerEdge R730", "parentId": "c2e5b43a-d826-4346-8c5c-ee793df3cfe3", "parentName": "Magazzino ED.9", "parentType": "storage", "roomId": "c2e5b43a-d826-4346-8c5c-ee793df3cfe3", "roomName": "Magazzino ED.9", "roomType": "storage", "cageName": "", "rackName": "", "barcode": "", "description": "Dell PowerEdge R730", "name": "PowerEdge R730", "manufacturer": "Dell", "modelName": "PowerEdge R730", "partNumber": "", "serialNumber": "123456789", "customPropertyKeys": "Aquired Admin", "customPropertyValues": "06/03/17 Server", "luceneSearchScore": 0.011737661 } ]


So, in /assets/{asset-id}/children I've as a parameter assetCreationVO and I can specify these paramenters:

yCoordinate , bayPositionNumber,rackMountPosition , genomeId,uPosition,bayPosition.


How can I specify custom properties as "name", manufacturer during asset creation?

thanks in advance

luca

(CID:116918715)

Labels
  • Labels:
  • Data Center Operation
Reply

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic
Replies 6
DCIM_Support
Picard DCIM_Support
Picard

Posted: ‎2020-07-03 03:01 PM . Last Modified: ‎2024-04-08 01:07 AM

0 Likes
2
645
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-07-03 03:01 PM . Last Modified: ‎2024-04-08 01:07 AM

I've tried with this AssetVo request:

 

{
"yCoordinate": 0,
"bayPositionNumber": 0,
"rackMountPosition": "TOP_MOUNTED",
"genomeId": "030050000010",
"uPosition": 0,
"bayPosition": "UPPER_SLOT",
"xCoordinate": 0
}

 

but I receive: 

400

Can not construct instance of java.util.UUID from String value '030050000010': not a valid textual representation, problem: UUID has to be represented by the standard 36-char representation at [Source: io.undertow.servlet.spec.ServletInputStreamImpl@6a54a205; line: 4, column: 37] (through reference chain: com.apc.webservice.api.assets.model.AssetCreationVO["genomeId"])


Whare can I find a valid genomeId valid textual representation?

thanks

(CID:116919610)

Reply

Link copied. Please paste this link to share this article on your social media post.

DCIM_Support
Picard DCIM_Support
Picard

Posted: ‎2020-07-03 03:01 PM . Last Modified: ‎2024-04-08 01:07 AM

In response to DCIM_Support
0 Likes
0
645
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-07-03 03:01 PM . Last Modified: ‎2024-04-08 01:07 AM

I've also tried with a valid genomeID (36 char), but also in this case I've a failure response:

 

{ "code": 100108, "message": "Adding assets to this asset is not supported", "details": "c2e5b43a-d826-4346-8c5c-ee793df3cfe3" }


It  seems that  I can't add an asset to this parent.

could you give me any hints?

thanks

luca

(CID:116923282)

Reply

Link copied. Please paste this link to share this article on your social media post.

DCIM_Support
Picard DCIM_Support
Picard

Posted: ‎2020-07-03 03:01 PM . Last Modified: ‎2024-04-08 01:07 AM

In response to DCIM_Support
0 Likes
0
645
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-07-03 03:01 PM . Last Modified: ‎2024-04-08 01:07 AM

I've tried again with same result.

genomeID is a valid genome.

I'm trying to create an asset into an asset that is a location:

 

"type": "location", 
"parentId": null,
"children": null,
"navigationPath": null,
"customProperties": null,
"accessType": "EDIT",
"name": "Global",
"id": "9a334b63-fe6e-41af-b4a4-bf25e624f324"

thanks

(CID:118003996)

Reply

Link copied. Please paste this link to share this article on your social media post.

DCIM_Support
Picard DCIM_Support
Picard

Posted: ‎2020-07-03 03:01 PM . Last Modified: ‎2024-04-08 01:07 AM

0 Likes
0
645
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-07-03 03:01 PM . Last Modified: ‎2024-04-08 01:07 AM

Hi lucama, 

thanks for posting. Lets see who can be of assistance here. @community any ideas?

Kind regards Ditte   

(CID:116923284)

Reply

Link copied. Please paste this link to share this article on your social media post.

DCIM_Support
Picard DCIM_Support
Picard

Posted: ‎2020-07-03 03:01 PM . Last Modified: ‎2024-04-08 01:06 AM

0 Likes
0
645
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-07-03 03:01 PM . Last Modified: ‎2024-04-08 01:06 AM

some one could give me any hint?

 

thanks

(CID:119637966)

Reply

Link copied. Please paste this link to share this article on your social media post.

DCIM_Support
Picard DCIM_Support
Picard

Posted: ‎2020-07-03 03:01 PM . Last Modified: ‎2023-10-22 04:30 AM

0 Likes
0
645
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-07-03 03:01 PM . Last Modified: ‎2023-10-22 04:30 AM

superhero.png

This question is closed for comments. You're welcome to start a new topic if you have further comments on this issue.

Reply

Link copied. Please paste this link to share this article on your social media post.

To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of