From: Petter Reinholdtsen Date: Fri, 1 Jun 2012 13:13:16 +0000 (+0000) Subject: Add example output. X-Git-Url: https://pere.pagekite.me/gitweb/homepage.git/commitdiff_plain/4ab1bba9f12101d661c24fc95ab56752bfcb67e5?ds=sidebyside Add example output. --- diff --git a/blog/data/2012-06-01-dell-support-json.txt b/blog/data/2012-06-01-dell-support-json.txt index bab0e198e6..e228077d21 100644 --- a/blog/data/2012-06-01-dell-support-json.txt +++ b/blog/data/2012-06-01-dell-support-json.txt @@ -39,6 +39,49 @@ my $asset = $a -> result; print Dumper($asset) ;

+

The output can look like this:

+ +

+$VAR1 = {
+          'Asset' => {
+                     'Entitlements' => {
+                                       'EntitlementData' => [
+                                                            {
+                                                              'EntitlementType' => 'Expired',
+                                                              'EndDate' => '2009-07-29T00:00:00',
+                                                              'Provider' => '',
+                                                              'StartDate' => '2006-07-29T00:00:00',
+                                                              'DaysLeft' => '0'
+                                                            },
+                                                            {
+                                                              'EntitlementType' => 'Expired',
+                                                              'EndDate' => '2009-07-29T00:00:00',
+                                                              'Provider' => '',
+                                                              'StartDate' => '2006-07-29T00:00:00',
+                                                              'DaysLeft' => '0'
+                                                            },
+                                                            {
+                                                              'EntitlementType' => 'Expired',
+                                                              'EndDate' => '2007-07-29T00:00:00',
+                                                              'Provider' => '',
+                                                              'StartDate' => '2006-07-29T00:00:00',
+                                                              'DaysLeft' => '0'
+                                                            }
+                                                          ]
+                                     },
+                     'AssetHeaderData' => {
+                                          'SystemModel' => 'GX620',
+                                          'ServiceTag' => '8DSGD2J',
+                                          'SystemShipDate' => '2006-07-29T19:00:00-05:00',
+                                          'Buid' => '2323',
+                                          'Region' => 'Europe',
+                                          'SystemID' => 'PLX_GX620',
+                                          'SystemType' => 'OptiPlex'
+                                        }
+                   }
+        };
+

+

I have not been able to find any documentation from Dell about this service outside the inline