Details
-
Type: extRequest
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:None
-
External Participants:
-
HD-Enabler:Orion
Description
Dear FIWARE Team,
Within the scope of research project powered by FIWARE in energy sector. We are going to have ontology include in our project therefore NGSI-ld is very well fit to our concept. But we face some issuses in the first step of our setup.
We used your tutorial how to post data to FIWARE/orion-ld but in fact it does not work and we afraid that this is not very well defined in orion-ld. We used this link to post an example e of Json-ld into CB.
https://fiware-datamodels.readthedocs.io/en/latest/ngsi-ld_howto/index.html
our request looks like :
curl -iX POST 'http://localhost:1026/v2/entities' -H 'Content-Type: application/json' -d '
{
"id": "urn:ngsi-ld:Vehicle:A4567",
"type": "Vehicle",
"brandName":
{ "type": "Property", "value": "Mercedes" },
"isParked": {
"type": "Relationship",
"object": "urn:ngsi-ld:OffStreetParking:Downtown1",
"observedAt": "2017-07-29T12:00:04",
"providedBy":
{ "type": "Relationship", "object": "urn:ngsi-ld:Person:Bob" }},
"@context": [
"http://example.org/cim/commonTerms.jsonld",
"http://example.org/cim/vehicle.jsonld",
"http://example.org/cim/parking.jsonld"
]
}'
And response is like
{"error":"BadRequest","description":"unrecognized property for context attribute"}. Could you please help us to get how we can define CRUD for NGSI-ld ?
Thank you in advance,
Best regards,
-----------------------------------------------------------------------
Maliheh Haghgoo, M.Sc.
Research Associate
RWTH Aachen University
E.ON Energy Research Center, Institute for Automation of Complex Power Systems
Mathieustraße 10
52074 Aachen, Germany
Room 10.11
www.eonerc.rwth-aachen.de<http://www.eonerc.rwth-aachen.de/>
Phone: +49 241 80 49587
MHaghgoo@eonerc.rwth-aachen.de<MHaghgoo@eonerc.rwth-aachen.de>
__________________________________________________________________________________________
You can get more information about our cookies and privacy policies on the following links:
- http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/FIWARE_Privacy_Policy
- http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Cookies_Policy_FIWARE
Fiware-tech-help mailing list
Fiware-tech-help@lists.fiware.org
https://lists.fiware.org/listinfo/fiware-tech-help
[Created via e-mail received from: "Haghgoo, Maliheh" <mhaghgoo@eonerc.rwth-aachen.de>]
Activity
Fix Version/s | 2021 [ 12600 ] |
Resolution | Done [ 10000 ] | |
Status | Answered [ 10104 ] | Closed [ 6 ] |
Status | In Progress [ 3 ] | Answered [ 10104 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
External Participants | mhaghgoo@eonerc.rwth-aachen.de |
Assignee | Jose Manuel Cantera [ jmcantera ] |
HD-Enabler | Orion [ 10875 ] |
Field | Original Value | New Value |
---|---|---|
Component/s | FIWARE-TECH-HELP [ 10278 ] |