Advertisement
yzleandro

Untitled

Jul 20th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.81 KB | None | 0 0
  1. XML example:
  2. <Notification>
  3.     <NotificationMetaData>
  4.         <NotificationType>Test</NotificationType>
  5.         <PayloadVersion>1.0</PayloadVersion>
  6.         <UniqueId>7f8a6814-c41b-47d1-bde4-d83beaf9ba47</UniqueId>
  7.         <PublishTime>2019-07-21T00:11:17Z</PublishTime>
  8.         <SellerId>A1TEY33G76VT1J</SellerId>
  9.     </NotificationMetaData>
  10.     <NotificationPayload>
  11.         <TestNotification />
  12.     </NotificationPayload>
  13. </Notification>
  14.  
  15. parsed dict example:
  16. {
  17.   'Notification': {
  18.     'NotificationMetaData': {
  19.       'NotificationType': 'Test',
  20.       'PayloadVersion': '1.0',
  21.       'UniqueId': '5d053e18-fe0e-4cee-8d8d-3f399c8e5bb2',
  22.       'PublishTime': '2019-07-21T00:26:39Z',
  23.       'SellerId': 'A1TEY33G76VT1J'
  24.     },
  25.     'NotificationPayload': {
  26.       'TestNotification': None
  27.     }
  28.   }
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement