Changes

stoney core: REST API

1,215 bytes added, 18:04, 3 July 2014
/* Relationships */
The relationships are hierarchical:
'''Service ProviderPerson''' > '''ResellersReseller Employee''' > '''CustomersCustomer Employee''' > '''PeopleReseller Person''' and '''Customer Person'''
The further down you go, the less rights you have (this is currently independent from any existing roles, as these have not been finalized yet). Sees everything and is allowed to do anything.{| border="1" class="wikitable sortable"! API Attribute! LDAP Attribute! Example! Description|- | id| uid| 4000002| Unique id of the person.|- | -| sstBelongsToUID| 1| Hidden (internal) attribute, that will lose it's meaning, when the roles are finalized. Makes a person a super user.|- | isActive| sstIsActive| true| Is the person active or not. Only active people are allowed to authenticate themselves.|- | belongsToResellerId| sstBelongsToResellerUID| 4000000| Shows the reseller, that the person belongs to (only on reseller possible, 1:1 relation).|- | belongsToCustomerId| sstBelongsToCustomerUID| 4000001| Shows the customer, that the person belongs to (only on customer possible, 1:1 relation). | employeeOfId| sstEmployeeOfUID| 4000000| Shows the reseller (in this case), that the person is an employee of (multiple resellers possible, 1:N relation). | employeeOfId| sstEmployeeOfUID| 4000001| Shows the ustomer (in this case), that the person is an employee of (multiple customers possible, 1:N relation).|- |}
= REST API documentation =
SLB, editor, reviewer
3,368
edits