Recommended Services
get
/appstore/publisher/v1/applications/{listingVersionId}/recommendedservices
Get the list of all the recommended services configured for a listing.
Request
Path Parameters
-
listingVersionId: integer(int64)
ListingId for which to return the recommended services.
Query Parameters
-
limit: integer(int32)
Limit tells how many records to return (starting from the offset). Limit should be greater than zero and less than or equal to 100 (default=30).
-
offset: integer(int32)
Offset and limit together determine how many records to return from the collection. Offset is the starting index of the records to return, which should be greater than or equal to zero (default=0).
Response
Supported Media Types
- application/json;qs=1
- application/xml;qs=.5
200 Response
Successful Operation
Nested Schema : recommendedService
Type:
Show Source
object
-
code(optional):
string
-
largeAppIconId(optional):
integer(int64)
-
links(optional):
array link
-
name(optional):
string
-
partnerName(optional):
string
-
rating(optional):
number(double)
-
reviewCount(optional):
integer(int64)
-
serviceId(optional):
integer(int64)
-
smallAppIconId(optional):
integer(int64)
-
tagLine(optional):
string
Nested Schema : Link
Type:
Show Source
object
-
href(optional):
string
-
rel(optional):
string
Allowed Values:
[ "SELF", "CANONICAL", "NEXT", "TEMPLATE", "PREV" ]
400 Response
Invalid Parameter Value
401 Response
Not Authorized
404 Response
Entity Not Found
500 Response
System Error
Examples
The following example fetches the recommended services counfigured for the application, by submitting a GET request on the REST resource using cURL.
cURL Example
curl -X GET -H "X-Oracle-UserId: partner-email" -H "Authorization: Bearer Access-token" "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/applications/7216078/recommendedservices"
Request Header
X-Oracle-UserId: fname.lname@oracle.com Authorization: Bearer Access-token
Request Body
None
HTTP Status Code:
200 OK
JSON Response:
{ "items": [ { "recommendedService": { "name": "CRMNow PTY Ltd", "serviceId": 618974, "icon": { "contentURL": "https://cloud.oracle.com/partner/content?contentId=1556492}, }, "tagLine": "We are here to to ensure our clients' final CRM Solution will meet today business challenges.", "rating": 0, "reviewCount": 0 } }, { "recommendedService": { "name": "CRM Specialist", "serviceId": 450645, "icon": { "contentURL": "https://cloud.oracle.com/partner/content?contentId=450664" }, "tagLine": "BExpert offers the market flexible solutions, dedicated to serving 100% of its clients' needs", "rating": 0, "reviewCount": 0 } } ], "hasMore": false, "count": 2, "totalResults": 2, "links": [ { "rel": "CANONICAL", "href": "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/applications/7216078/recommendedservices" }, { "rel": "SELF", "href": "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/applications/7216078/recommendedservices" } ] }Back to Top