]> pere.pagekite.me Git - homepage.git/commitdiff
Add example output.
authorPetter Reinholdtsen <pere@hungry.com>
Fri, 1 Jun 2012 13:13:16 +0000 (13:13 +0000)
committerPetter Reinholdtsen <pere@hungry.com>
Fri, 1 Jun 2012 13:13:16 +0000 (13:13 +0000)
blog/data/2012-06-01-dell-support-json.txt

index bab0e198e6e92b990883c84f14d21c1e27f78aa3..e228077d21d93246a5b15043d5ff6d693dd3211d 100644 (file)
@@ -39,6 +39,49 @@ my $asset = $a -> result;
 print Dumper($asset) ;
 </pre></p>
 
 print Dumper($asset) ;
 </pre></p>
 
+<p>The output can look like this:</p>
+
+<p><pre>
+$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'
+                                        }
+                   }
+        };
+</pre></p>
+
 <p>I have not been able to find any documentation from Dell about this
 service outside the
 <a href="http://xserv.dell.com/services/assetservice.asmx?op=GetAssetInformation">inline
 <p>I have not been able to find any documentation from Dell about this
 service outside the
 <a href="http://xserv.dell.com/services/assetservice.asmx?op=GetAssetInformation">inline