Get Fund Asset Classes for a Fund
get
/PASService/rest/services/v1/funds/{fundId}/fundAssetClasses
Gets Asset Class mappings for the specified Fund.
Request
Path Parameters
-
fundId(required): string(guid)
Fund GUID.
Query Parameters
-
assetClassFundId: string
Asset Class Fund GUID.
-
assetClassId: string
Asset Class GUID.
-
limit: integer(int32)
Maximum number of results.
-
offset: integer(int32)
Zero-based result offset.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Fund Asset Class mappings were retrieved successfully.
400 Response
The Fund ID is invalid.
Examples
This example describes how to get Fund Asset Classes for a Fund.
Example cURL Command
Use the following cURL command to submit a request on the REST resource:
curl \
-X GET \
-H "Accept: application/json" \
-u 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-L "http://server:port/PASService/rest/services/v1/funds/{fundId}/fundAssetClasses"
Example Response Body
The following shows an example of the response body in JSON format:
{
"count": 1,
"offset": 0,
"limit": 100,
"fundAssetClasses": [
{
"links": [
{
"href": "http://fsgbu-mum-1189.snbomprshared2.gbucdsint02bom.oraclevcn.com:6060/PASService/rest/services/v1/funds/B4C7BB12-8F34-FE2D-E040-8C0AC5A5270D/fundAssetClasses/A1BC76A1-228E-4F1F-B06F-3E46174720A9",
"rel": "self",
"mediaType": "application/json",
"method": "GET"
}
],
"assetClassFundId": "A1BC76A1-228E-4F1F-B06F-3E46174720A9",
"fundId": "B4C7BB12-8F34-FE2D-E040-8C0AC5A5270D",
"assetClassId": "4972598C-7579-46E7-B0D6-E291002FAF67"
}
]
}