Retrieving a Portfolio
Description
This web service returns the Administrator Parameters for Portfolio Builder defined in Auto Portfolio Admin Params custom settings.
Definition
GET https://<domain>/services/apexrest/peer/v1/portfolioAdminParameters/*
Error messages
The table given below describes the error messages, the error codes and the status code of this particular web service:
Error code | Error Message | System.Label | Reason | HTTP Status Code |
---|---|---|---|---|
API_EXCEPTION | <exception_message> | NA | You will receive this error if any unexpected error occurs during the processing of the request, the system will raise the exception. | 500 |
Sample Request
The sample request to be sent is as shown below:
https://na11.salesforce.com/services/apexrest/peer/v1/portfolioAdminParameters
Sample Response
The sample request to be sent is as shown below:
{ "status": "SUCCESS", "response": [], "errorMessage": null, "errorCode": "NO_ERROR", "content": [ { "attributes": { "type": "peer__Admin_Parameters__c" }, "peer__Portfolio_Valid_Time__c": 200, "peer__Minimum_Amount_For_Investment__c": 4000 } ] }