License Distribution Service - Example in PHP


ListCustomers shows the customers within LDS repository

NoCustomer Name
1customer
2Company One, John Smith


object(stdClass)#6 (1) {
  ["ListCustomersResult"]=>
  object(stdClass)#7 (1) {
    ["Customer"]=>
    array(2) {
      [0]=>
      object(stdClass)#8 (10) {
        ["Name"]=>
        string(8) "customer"
        ["Company"]=>
        string(0) ""
        ["Department"]=>
        string(0) ""
        ["Email"]=>
        string(0) ""
        ["Jobtitle"]=>
        string(0) ""
        ["Identifier"]=>
        string(36) "1a1593b4-1413-4bfe-864e-1750fb3ece31"
        ["EntityId"]=>
        string(36) "358e3bf7-0a97-4277-90a2-7f6ce14106a6"
        ["CustomPropertyList"]=>
        object(stdClass)#9 (1) {
          ["Property"]=>
          array(2) {
            [0]=>
            object(stdClass)#10 (2) {
              ["Name"]=>
              string(11) "Customer_ID"
              ["Value"]=>
              string(1) "1"
            }
            [1]=>
            object(stdClass)#11 (2) {
              ["Name"]=>
              string(7) "Company"
              ["Value"]=>
              string(12) "UNISERV GmbH"
            }
          }
        }
        ["CommentList"]=>
        object(stdClass)#12 (1) {
          ["Comment"]=>
          string(7) "asdasda"
        }
        ["version"]=>
        string(3) "3.0"
      }
      [1]=>
      object(stdClass)#13 (10) {
        ["Name"]=>
        string(23) "Company One, John Smith"
        ["Company"]=>
        string(16) "Company One GmbH"
        ["Department"]=>
        string(19) "Data Quality Center"
        ["Email"]=>
        string(27) "Henning.Behrens@uniserv.com"
        ["Jobtitle"]=>
        string(0) ""
        ["Identifier"]=>
        string(36) "1cc08f1b-8b9e-48ca-85af-3f436df9093a"
        ["EntityId"]=>
        string(36) "ddbe5b67-cf91-42b5-ac1e-e812137620be"
        ["CustomPropertyList"]=>
        object(stdClass)#14 (1) {
          ["Property"]=>
          object(stdClass)#15 (2) {
            ["Name"]=>
            string(17) "ETHER_ID_CUSTOMER"
            ["Value"]=>
            string(16) "C8A516AD01AFC9FA"
          }
        }
        ["CommentList"]=>
        object(stdClass)#16 (1) {
          ["Comment"]=>
          string(18) "Example Customer 1"
        }
        ["version"]=>
        string(3) "3.0"
      }
    }
  }
}

Copyright 2009 X-Formation - All Rights Reserved