{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-guides/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Interpret a push notification","description":"Accelerate E&P application development and protect your innovation by consuming our Data and Domain APIs / Platform APIs.","lang":"en-US","meta":[{"name":"robots","content":"noindex"}],"llmstxt":{"hide":true,"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"interpret-a-push-notification","__idx":0},"children":["Interpret a push notification"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When a message is published to a channel, NTM pushes a copy of the message to each subscriber based on the endpoint (URL) specified in the subscription."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Here is the structure of data being pushed:"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Sample Data"]},":"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"{\n    \"contextAccount\": \"\",\n    \"contextContract\": \"\",\n    \"contextDepartment\": \"\",\n    \"sourceUserId\": \"\",\n    \"sourceAppId\": \"\",\n    \"sourceAppTag\": \"\",\n    \"messageId\": \"\",\n    \"originMsgId\": \"\",\n    \"messageTimestamp\": \"\",\n    \"messageTitle\": \"\",\n    \"messageText\": \"\",\n    \"destinationUserId\": \"\",\n    \"destinationAppId\":\"\"\n}\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"_","__idx":1},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Publisher-related information"]},":"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Information below refers to the context that the publisher used to publish the message:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["contextAccount"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["contextContract"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["contextDepartment"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Identity of publisher is captured under:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["sourceUserId"]},": The user who originated/published the message using a user interface."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["sourceAppId"]},": The application/backend service that made the request on its user's behalf."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["sourceAppTag"]},": This tag is used to identify a sub-application"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Message from the publisher is captured under:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["messageTitle"]},": Subject of the message"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["messageText"]},": Body of the message"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"_-1","__idx":2},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["NTM generated information:"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["originMsgId"]},": A unique identity that NTM issues to a publisher after accepting the request to publish a message."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["messageId"]},": A unique identity that NTM issues to each consumer. Consumers should use this to uniquely identify their copy of a published message."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["messageTimestamp"]},": The time at which NTM received a message from the publisher"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"_-2","__idx":3},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Consumer-related information:"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Identity of consumer is captured under:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["destinationUserId"]},": The identity of user at the receiving end."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["destinationAppId"]},": The identity of application/service at the receiving end."]}]}]},"headings":[{"value":"Interpret a push notification","id":"interpret-a-push-notification","depth":2},{"value":":","id":"_","depth":3},{"value":"","id":"_-1","depth":3},{"value":"","id":"_-2","depth":3}],"frontmatter":{"seo":{"title":"Interpret a push notification"}},"lastModified":"2025-11-07T15:44:55.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/solutions/ntm/tutorial/ntm-interpret-push-notification","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}