Changes

stoney core: Resellers Resource - REST API

13 bytes added, 13:33, 14 May 2014
/* Reseller collection retrieval (GET) */
The service responds with a HTTP status code 200 (OK) on success and returns the various resellers.
'''Sort'''Note that the service will only return a limited amount of objects at once and provides links for retrieving further objects. Refer to the [[stoney_core:_REST_API#Pagination|Pagination chapter]] for more information.
==== Sort ====
If you don't add a sort attribute, the collection will be sorted by '''id''' (ascending). If you would like a sorted collection answer, the query parameter sort must be added with the object's sort attribute(s) as the value: <code>https://api.example.com/v1/resellers?sort=resellerName,isActive</code>. For further information on filtering, sorting and searching, visit [[stoney_core:_REST_API#Filtering.2C_sorting_and_searching | stoney core: REST API]].
'''==== Search (fulltext)'''====
To form a fulltext search, append the url query parameter '''q''' with the desired search text: <code>https://api.example.com/v1/resellers?q=example</code>. The document [[stoney_core:_Search_Resource_-_REST_API#Resellers_Search_.28GET.29 | stoney core: Search Resource - REST API]] describes the search in detail.
'''==== Search (with filter)'''====To form a specific search, append the url query attribute(s) name (for example '''resellerName''') with the desired search text: <code>https://api.example.com/v1/resellers?resellerName=example</code>. The document [[stoney_core:_Search_Resource_-_REST_API#Resellers_Search_.28GET.29 | stoney core: Search Resource - REST API]] describes the possible You're allowed to search for all attributes that are returned in detail. Note that the service will only return a limited amount of objects at once and provides links for retrieving further objects. Refer to the [[stoney_core:_REST_API#PaginationReseller_element_retrieval_response_message_body |Pagination chapterReseller element retrieval response message body]] for more information.
==== Reseller collection retrieval request message ====
SLB, editor, reviewer
3,368
edits