Get Product Funds for a Fund
get
/PASService/rest/services/v1/funds/{fundId}/productFunds
Gets Product Fund mappings and their status rows for the specified Fund.
Request
Path Parameters
-
fundId(required): string(guid)
Fund GUID.
Query Parameters
-
limit: integer(int32)
Maximum number of results.
-
offset: integer(int32)
Zero-based result offset.
-
productFundId: string
Product Fund GUID.
-
productFundStatusId: string
Product Fund Status GUID.
-
productId: string
Product GUID.
-
statusCode: string
Product Fund status code.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Product Fund mappings were retrieved successfully.
400 Response
The Fund ID is invalid.
Examples
This example describes how to get ProductFund mappings 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}/productFunds"
Example Response Body
The following shows an example of the response body in the JSON format:
{
"count": 2,
"offset": 0,
"limit": 100,
"productFunds": [
{
"links": [
{
"href": "http://server:port/PASService/rest/services/v1/funds/B43AECEB-511B-0210-E040-8C0AC5A51A5C/productFunds/97B241E8-E2CD-4AB6-BC96-CBBBCA912586",
"rel": "self",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port/PASService/rest/services/v1/funds/B43AECEB-511B-0210-E040-8C0AC5A51A5C",
"rel": "fund",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port/PASService/rest/services/v1/products/0689ACFC-F2B0-4BA9-8987-DE6C1AD83AC1",
"rel": "product",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port/PASService/rest/services/v1/codes?codeName=AsCodeFundRemovalMethod",
"rel": "codes/removalMethodCode",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port/PASService/rest/services/v1/codes?codeName=AsCodeProductFundCategory",
"rel": "codes/category",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port/PASService/rest/services/v1/codes?codeName=AsCodeProductFundStatus",
"rel": "codes/statusCode",
"mediaType": "application/json",
"method": "GET"
}
],
"removalPrecedence": 1,
"removalMethodCode": "01",
"depositLevelTracking": "Y",
"allowNegativeValues": "Y",
"valueResetDuration": null,
"category": null,
"statuses": [
{
"statusCode": "01",
"effectiveDate": "2000-01-01T00:00:00Z",
"expirationDate": null,
"activeFromDate": "2024-08-14T03:24:39Z",
"activeToDate": null,
"productFundStatusId": "8A7D2949-A91B-407A-85F3-9113F9F762BA",
"productFundId": "97B241E8-E2CD-4AB6-BC96-CBBBCA912586"
}
],
"productFundId": "97B241E8-E2CD-4AB6-BC96-CBBBCA912586",
"fundId": "B43AECEB-511B-0210-E040-8C0AC5A51A5C",
"productId": "0689ACFC-F2B0-4BA9-8987-DE6C1AD83AC1"
},
{
"links": [
{
"href": "http://server:port/PASService/rest/services/v1/funds/B43AECEB-511B-0210-E040-8C0AC5A51A5C/productFunds/5E03B175-9721-4862-B103-F9490D2084BA",
"rel": "self",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port/PASService/rest/services/v1/funds/B43AECEB-511B-0210-E040-8C0AC5A51A5C",
"rel": "fund",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port/PASService/rest/services/v1/products/1B8EBC08-33FD-484E-BD60-831B03421ADA",
"rel": "product",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port/PASService/rest/services/v1/codes?codeName=AsCodeFundRemovalMethod",
"rel": "codes/removalMethodCode",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port/PASService/rest/services/v1/codes?codeName=AsCodeProductFundCategory",
"rel": "codes/category",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://server:port/PASService/rest/services/v1/codes?codeName=AsCodeProductFundStatus",
"rel": "codes/statusCode",
"mediaType": "application/json",
"method": "GET"
}
],
"removalPrecedence": 1,
"removalMethodCode": "01",
"depositLevelTracking": "Y",
"allowNegativeValues": "Y",
"valueResetDuration": null,
"category": null,
"statuses": [
{
"statusCode": "01",
"effectiveDate": "1980-01-01T00:00:00Z",
"expirationDate": null,
"activeFromDate": "2023-08-02T23:25:06Z",
"activeToDate": null,
"productFundStatusId": "2659925A-205F-437B-9E34-F844B73F5AF8",
"productFundId": "5E03B175-9721-4862-B103-F9490D2084BA"
},
{
"statusCode": "01",
"effectiveDate": "1980-01-01T00:00:00Z",
"expirationDate": null,
"activeFromDate": "2023-08-02T23:24:40Z",
"activeToDate": null,
"productFundStatusId": "8961D90B-6276-4975-A5FA-EB9A2F7E52BB",
"productFundId": "5E03B175-9721-4862-B103-F9490D2084BA"
}
],
"productFundId": "5E03B175-9721-4862-B103-F9490D2084BA",
"fundId": "B43AECEB-511B-0210-E040-8C0AC5A51A5C",
"productId": "1B8EBC08-33FD-484E-BD60-831B03421ADA"
}
]
}