Changes

stoney core: Search Resource Mapping (REST - LDAP)

1,164 bytes added, 14:45, 14 May 2014
= stoney core: search resource methods =
== Resellers Global Search (GET) ==The following sequence describes global search only incorporates a subset of attributes in the resellers 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 [[stoney_core:_OpenLDAP_directory_data_organisation#Reseller | ou=reseller,dc=stoney-cloud,dc=org]]. The actual LDIF of a reseller is described under [[stoney_core:_OpenLDAP_directory_data_organisation#Reseller_uid_.28per_Reseller.29 | 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 (this requires a sub search on each dn found):* uid (id)* sstIsCompany (isCompany)* sstIsActive (isActive)* organizationName (resellerName)* countryName (countryCode)* postalCode (postalCode)* localityName (localityName) === Global Search Response Object (GETstoney core: Resellers Resource) Mapping ===
{| border="1" class="wikitable sortable"
! API Attribute
! LDAP Attribute
|-
 
| id
| uid
|-
 | isCompany| sstIsCompany|- | isActive| sstIsActive|- | countryCode| postalCode|-  | resellerName| organizationName|-  | resellerName| postalCode|-  | userlocalityName| maillocalityName
|-
|}
 == Customers Global Search Response Object (GETstoney core: Customers Resource) ==
The following sequence describes the customers search:
=== Customers Global Search Response Object (GETstoney core: Customers Resource) Mapping ===
{| border="1" class="wikitable sortable"
! API Attribute
SLB, editor, reviewer
3,376
edits