Changes

stoney core: Resellers Resource Mapping (REST - LDAP)

2,017 bytes added, 17:47, 3 January 2014
/* Resellers Resource Mapping */
= Resellers Resource Mapping =
 
If not specified otherwise, the following rules apply:
 
* an attribut which exists in the LDAP object but has no corresponding entry in the API will never be exported
* the mapping has always to be explicit for the API attributes: it is always considered an error if the client provides an attribute which is not listed below (aka no ''hidden'' attributes)
* whether an attribute is mandatory or not is specified by the corresponding LDAP object specification
* the attribute in ''bold'' letters is the REST API ressource identifier and can as such never be specified in a <code>POST</code> request but will always be generated on the server side
* specifying a read-only attribut in a <code>PUT</code> or <code>PATCH</code> is allowed as long as the value is the same as currently set
 
Base DN: uid=4000000,ou=reseller,dc=stoney-cloud,dc=org
 
{| border="1" class="wikitable sortable"
! LDAP Attribute
! API Attribute
! Details
|-
|| '''uid''' || '''id''' || Always read-only.
|-
|| organizationName || organizationName||
|-
|| givenName || givenName||
|-
|| surname || surname||
|-
|-
|| sstIsCompany || isCompany||
|-
|| sstIsActive || isActive||
|-
|| sstExternalID || (none) ||
|-
|| sstBelongsToResellerUID || (none) || Set to uid on creation.
|-
|| ou=address?organizationName || organizationName ||
|-
|| ou=address?sstGender || gender ||
|-
|| ou=address?givenName || givenName ||
|-
|| ou=address?surname || surname ||
|-
|| ou=address?postalAddress || postalAddress ||
|-
|| ou=address?postOfficeBox || postOfficeBox ||
|-
|| ou=address?stateOrProvinceName ||stateOrProvinceName ||
|-
|| ou=address?countryName || countryName ||
|-
|| ou=address?postalCode || postalCode ||
|-
|| ou=address?localityName || localityName ||
|-
|| ou=address?preferredLanguage || preferredLanguage ||
|-
|| ou=address?mail || mail ||
|-
|| ou=address?telephoneNumber || telephoneNumber ||
|-
|| ou=address?mobileTelephoneNumber || mobileTelephoneNumber ||
|-
|| ou=address?sstWebsiteURL || websiteURL ||
|}
= Resellers Collection Mapping =
Bureaucrat, administrator
425
edits