Get plan slices by Id
get
/PASService/rest/services/plans/{id}/planslices
Get plan slices based on the specified plan Id
Request
Path Parameters
-
id: string
Pattern:
\{?[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}\}?
Plan Id
Query Parameters
Back to Top
Response
Supported Media Types
- application/json
Default Response
successful operation
Examples
This example describes how to get a plan slices based on the specified plan Id.
Example cURL Command
Use the following cURL command to submit a request on the REST resource:
curl -X GET -H "Accept: application/json" -u username:password "server:port/PASService/rest/services/plans/17CFE15E-0CDC-4CBA-A8BE-25BC0A0647D5/planslices"
Example Response Body
The following shows an example of the response body in JSON format:
"{ "count": 1, "offset": 0, "limit": 100, "plans": [ { "links": [ { "href": "http://server:port/PASService/rest/services/plans/17CFE15E-0CDC-4CBA-A8BE-25BC0A0647D5/planslices/56C8DF66-6266-44DF-8656-78EDA7576D47", "rel": "self", "mediaType": "application/json", "method": "GET" }, { "href": "http://server:port/PASService/rest/services/codes?codeName=PlanAllocationMethod&codeValue=01", "rel": "codes/planAllocationMethodCode", "mediaType": "application/json", "method": "GET" }, { "href": "http://server:port/PASService/rest/services/codes?codeName=PlanBusinessStatus&codeValue=Approved", "rel": "codes/businessStatus", "mediaType": "application/json", "method": "GET" } ], "effectiveFrom": "2015-08-04T00:00:00Z", "effectiveTo": "2016-08-04T00:00:00Z", "planName": "plan 32", "systemCode": "01", "defaultCurrencyCode": "USD", "pointInTimeValuation": "Y", "mixedValuation": "N", "planAllocationMethodCode": "01", "updatedGmt": "2019-12-19T11:08:32Z", "activeGmt": "2019-12-19T11:08:02Z", "recordStatusCode": "ACTIVE", "updatedBy": "qatester3", "businessStatusCode": "Approved", "planSliceId": "56C8DF66-6266-44DF-8656-78EDA7576D47", "planId": "17CFE15E-0CDC-4CBA-A8BE-25BC0A0647D5", "companyId": "80798FC2-FEB9-4998-A575-513FF89698B1", "marketMakerId": "22FBC7C1-D8E0-4741-9D22-DF929A2890B5", "productId": "0689ACFC-F2B0-4BA9-8987-DE6C1AD83AC1", "MaximumFaceAmount": { "currency": "USD" } } ] } "