Difference between revisions of "stoney core: Search Resource Mapping (REST - LDAP)"

From stoney cloud
Jump to: navigation, search
[unchecked revision][unchecked revision]
(Global Search Response Object (stoney core: Resellers Resource))
Line 15: Line 15:
 
* organizationName (resellerName)
 
* organizationName (resellerName)
  
The following LDAP attributes must be returned (this requires a sub search on each dn found):
+
The following LDAP attributes must be returned:
 
* uid (id)
 
* uid (id)
 
* sstIsCompany (isCompany)
 
* sstIsCompany (isCompany)
Line 62: Line 62:
  
 
|}
 
|}
 
  
 
== Global Search Response Object (stoney core: Customers Resource) ==
 
== Global Search Response Object (stoney core: Customers Resource) ==

Revision as of 16:46, 14 May 2014

Also visit stoney core: Search Resource - REST API and stoney core: Global Searches.

Overview

stoney core: search resource methods

Global Search (GET)

The global search only incorporates a subset of attributes in the search. Detailed examples are described under stoney core: Global Searches.


Global Search Response Object (stoney core: Resellers Resource)

All the resellers are stored under the sub tree ou=reseller,dc=stoney-cloud,dc=org. The actual LDIF of a reseller is described under Reseller uid (per Reseller).

The following LDAP attributes must be included in the search:

  • uid (id)
  • organizationName (resellerName)

The following LDAP attributes must be returned:

  • uid (id)
  • sstIsCompany (isCompany)
  • sstIsActive (isActive)
  • organizationName (resellerName)
  • countryName (countryCode)
  • postalCode (postalCode)
  • localityName (localityName)

Global Search Response Object (stoney core: Resellers Resource) Mapping

API Attribute LDAP Attribute
id uid
isCompany sstIsCompany
isActive sstIsActive
countryCode postalCode
resellerName organizationName
resellerName postalCode
localityName localityName

Global Search Response Object (stoney core: Customers Resource)

The following sequence describes the customers search:


Global Search Response Object (stoney core: Customers Resource) Mapping

API Attribute LDAP Attribute
id uid
user mail


People Search (GET)

The following sequence describes the people search:


People Search (GET) Mapping

API Attribute LDAP Attribute
id uid
user mail

Links