Group

You can query a list of group (e.g. i an storelocator mobile application) and you'll retrieve a list of object as describe below. But all the business object of Adelya pertain to a group. For security reason and in order not to overload the returned dataset, a small subset of those properties are returned. See below.



SocialUrls

a subobject that group the mains social urls of a Group



Criteria

Depending on your customization, a Group may have additionnal information. This information is stored in criteria, there is 10 numeric and 10 alphanumeric criteria available



Example

Creating a new independent sub account


{
 Group:{
  "codeGroup":"TESTAPI2",
  "descrGroup":"Test API creation",
  "idExternal":"my_account_ref",
  "type":"M",
  "managementType":"INDEPENDENT",
  "socialUrls" : {
    "facebook":"https://www.facebook.com/matestpage"
  }
 }
}


Group as a property of an Object

Example

discover Group information on an object


{  
   "AdEvent":{  
      "id":"63230648",
      "type":"UPDATE",
      "date":"2013-10-29 11:49:07",
      "sparam":"",
      "fvalue":"0.0",
      "comment":"",
      "member":"123082",      
      "user":"113222",
      "group":{  
         "id":"9",
         "codeGroup":"WWWADELYATEST",
         "idExternal":"",
         "salesDescr":"Adelya"
      }
   }
}