diff --git a/docs/odata-json-format/odata-json-format.html b/docs/odata-json-format/odata-json-format.html index 1e27803f..8b90188b 100644 --- a/docs/odata-json-format/odata-json-format.html +++ b/docs/odata-json-format/odata-json-format.html @@ -1313,12 +1313,12 @@

}
-

Example 31: null value accompanied by an instance annotation

+

Example 31: An action is invoked when a utilities customer moves into a building, it returns the address. After a successful move-in it might return the null value accompanied by an instance annotation:

{
   "@context": "http://host/service/$metadata#Model.Address",
   "@Core.Messages": [{
-    "code": "EPOSTCODE",
-    "message": "Could not resolve postcode XYZ",
+    "code": "EADDRESS",
+    "message": "Street name not yet determined",
     "severity": "error"
   }]
 }
diff --git a/docs/odata-json-format/odata-json-format.md b/docs/odata-json-format/odata-json-format.md index d0272483..7deb04a8 100644 --- a/docs/odata-json-format/odata-json-format.md +++ b/docs/odata-json-format/odata-json-format.md @@ -1974,13 +1974,15 @@ Example 30: empty collection of complex values ::: ::: example -Example 31: `null` value accompanied by an instance annotation +Example 31: An action is invoked when a utilities customer moves into a building, +it returns the address. After a successful move-in it might return the +`null` value accompanied by an instance annotation: ```json { "@context": "http://host/service/$metadata#Model.Address", "@Core.Messages": [{ - "code": "EPOSTCODE", - "message": "Could not resolve postcode XYZ", + "code": "EADDRESS", + "message": "Street name not yet determined", "severity": "error" }] } diff --git a/odata-json-format/10 Media Entity.md b/odata-json-format/10 Media Entity.md index d31dd19c..95ebc2d0 100644 --- a/odata-json-format/10 Media Entity.md +++ b/odata-json-format/10 Media Entity.md @@ -110,13 +110,15 @@ Example ##ex: empty collection of complex values ::: ::: example -Example ##ex: `null` value accompanied by an instance annotation +Example ##ex: An action is invoked when a utilities customer moves into a building, +it returns the address. After a successful move-in it might return the +`null` value accompanied by an instance annotation: ```json { "@context": "http://host/service/$metadata#Model.Address", "@Core.Messages": [{ - "code": "EPOSTCODE", - "message": "Could not resolve postcode XYZ", + "code": "EADDRESS", + "message": "Street name not yet determined", "severity": "error" }] }