このリクエストを送信すると (updateContext/APPEND)
{ "updateAction":"APPEND",
"contextElements":[
{ "id":"AssetPerformanceCEP759",
"isPattern":"false",
"attributes":[
{ "name":"TimeInstant",
"type":"urn:x-ogc:def:trs:IDAS:1.0:ISO8601",
"value":"2014-04-29T13:18:05Z" },
{ "value":"12,10",
"name":"location",
"type":"Location",
"metadatas":[
{ "name":"location",
"type":"string",
"value":"WSG84" },
{ "name":"phenomenon",
"type":"string",
"value":"urn:x-ogc:def:phenomenon:IDAS:1.0:location" },
{ "name":"TimeInstant",
"type":"urn:x-ogc:def:trs:IDAS:1.0:ISO8601",
"value":"2014-04-29T13:18:05Z"}
]}
],
"type":"ModelPerformanceCEP"}
]}
2 回、次の応答を受け取ります。
"statusCode" : {
"code" : "472",
"reasonPhrase" : "request parameter is invalid/not allowed",
"details" : "action: APPEND - entity: (AssetPerformanceCEP759, ModelPerformanceCEP) - offending attribute: location - attemp to define a location attribute (location) when another one has been previously defined (location)"
}
属性は1つ("name": "location")
です。属性が更新された場合 (ロケーション属性は別の定義ではありません)、Orion はそれを更新できます (orion が他の定義と同様に)