Get a specific suspense by suspense Id
get
/PASService/rest/services/v1/suspenses/{suspenseId}
Gets a suspense based on the specified suspense Id
Request
Path Parameters
-
suspenseId(required): string(guid)
Suspense Id
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
successful operation
Examples
This example describes how to get a suspense based on the specified suspense Id.
Example cURL Command
Use the following cURL command to submit a request on the REST resource:
curl \
-X GET \
-H "Content-Type: application/json" \
-u 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-L "http://server:port/PASService/rest/services/v1/suspense/95B63F21-E86D-42AA-B2D0-FDEBF3F9E427"
Example Response Body
The following shows an example of the response body in JSON format:
{
"suspense": {
"links": [
{
"href": "http://localhost:8081/PASService/rest/services/suspenses/95B63F21-E86D-42AA-B2D0-FDEBF3F9E427",
"rel": "self",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://localhost:8081/PASService/rest/services/codes?codeName=SuspenseType&codeValue=02",
"rel": "codes/suspenseType",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://localhost:8081/PASService/rest/services/codes?codeName=SuspenseStatus&codeValue=15",
"rel": "codes/suspenseStatus",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://localhost:8081/PASService/rest/services/companies/51673985-8606-4ABF-9EEE-85328BE03DA5",
"rel": "companies",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://localhost:8081/PASService/rest/services/suspenses/95B63F21-E86D-42AA-B2D0-FDEBF3F9E427/accounting",
"rel": "accounting",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://localhost:8081/PASService/rest/services/suspenses/95B63F21-E86D-42AA-B2D0-FDEBF3F9E427",
"rel": "masterSuspense",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://localhost:8081/PASService/rest/services/suspenses/95B63F21-E86D-42AA-B2D0-FDEBF3F9E427/childSuspenses",
"rel": "childsuspenses",
"mediaType": "application/json",
"method": "GET"
}
],
"suspenseId": "95B63F21-E86D-42AA-B2D0-FDEBF3F9E427",
"suspenseNumber": 44252,
"typeCode": "02",
"statusCode": "15",
"amount": 349.25,
"currencyCode": "USD",
"attachedAmount": 0,
"companyId": "BCAC85F4-D419-4D5F-9AA3-5CAB3B5EE2D7",
"policyNumber": "FPP_1290123",
"effectiveDate": "1990-01-01T00:00:00Z",
"effectiveFromDate": "1990-01-01T00:00:00Z",
"effectiveToDate": "1990-01-01T00:00:00Z",
"clientNumber": "shubhama",
"firstName": "Rey",
"lastName": "Johnson",
"accountNumber": "01010101325456",
"bankNumber": "010101013254",
"checkNumber": "22222",
"batchNumber": null,
"updatedGMT": "1990-01-01T00:00:00Z",
"masterSuspenseId": null,
"codes": [
{
"codeName": "AsCodeSuspenseStatus",
"codeValue": "15",
"longDescription": "Open",
"shortDescription": "Open"
},
{
"codeName": "AsCodeSuspenseType",
"codeValue": "02",
"longDescription": "Check_Manual",
"shortDescription": "Check_Manual"
}
],
"childSuspenses": [
{
"links": [
{
"href": "http://localhost:8081/PASService/rest/services/suspenses/F5FEE89C-DBFE-4EDA-B2EB-23EA3006D5DA",
"rel": "self",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://localhost:8081/PASService/rest/services/suspenses/95B63F21-E86D-42AA-B2D0-FDEBF3F9E427",
"rel": "masterSuspense",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://localhost:8081/PASService/rest/services/codes?codeName=SuspenseType&codeValue=02",
"rel": "codes/suspenseType",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://localhost:8081/PASService/rest/services/codes?codeName=SuspenseStatus&codeValue=15",
"rel": "codes/suspenseStatus",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://localhost:8081/PASService/rest/services/companies/51673985-8606-4ABF-9EEE-85328BE03DA5",
"rel": "companies",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://localhost:8081/PASService/rest/services/suspenses/F5FEE89C-DBFE-4EDA-B2EB-23EA3006D5DA/accounting",
"rel": "accounting",
"mediaType": "application/json",
"method": "GET"
}
],
"suspenseId": "F5FEE89C-DBFE-4EDA-B2EB-23EA3006D5DA",
"suspenseNumber": "44254",
"typeCode": "02",
"statusCode": "15",
"amount": 149.2,
"currencyCode": "USD",
"attachedAmount": 0,
"companyId": "BCAC85F4-D419-4D5F-9AA3-5CAB3B5EE2D7",
"policyNumber": "DI0000078257",
"effectiveDate": "1990-01-01T00:00:00Z",
"effectiveToDate": "1990-01-01T00:00:00Z",
"clientNumber": "shubhama",
"firstName": "Jane",
"lastName": "Wagner",
"accountNumber": "01010101325456",
"bankNumber": "010101013254",
"checkNumber": "22222",
"batchNumber": null,
"updatedGMT": "1990-01-01T00:00:00Z",
"masterSuspenseId": "95B63F21-E86D-42AA-B2D0-FDEBF3F9E427",
"codes": [
{
"codeName": "AsCodeSuspenseStatus",
"codeValue": "15",
"longDescription": "Open",
"shortDescription": "Open"
},
{
"codeName": "AsCodeSuspenseType",
"codeValue": "02",
"longDescription": "Check_Manual",
"shortDescription": "Check_Manual"
}
]
}
],
"accounting": {
"accountingDetailId": " F882ED11-C5C6-4F91-836A-670C47E342C8",
"activityId": null,
"suspenseId": "95B63F21-E86D-42AA-B2D0-FDEBF3F9E427",
"fundId": null,
"chartOfAccountsEntry": " CD22D806-553B-4B97-972B-BFAFB904BF43",
"accountNumber": " Inbound Suspense PreCutoff ",
"DebitCreditScore": "02",
"amount": 349.25,
"currencyCode": "USD",
"gainLossFlag": "0",
"doReversalAccounting": "1",
"entryDescription": "Suspense records before GMT Cutoff",
"entryDate": "1990-01-01T00:00:00Z",
"activeDate": "1990-01-01T00:00:00Z",
"entryGmt": "1990-01-01T00:00:00Z"
},
"multifields": {
"ComboTestMF": [
{
"index": 0,
"ComboTest1": {
"textValue": "00",
"optionText": "No"
},
"ComboTest2": {
"textValue": "00",
"optionText": "No"
},
"ComboTest3": {
"textValue": "00",
"optionText": "No"
},
"ComboTest4": {
"textValue": "00",
"optionText": "No"
},
"ComboTest5": {
"textValue": "00",
"optionText": "No"
},
"ComboTest6": {
"textValue": "00",
"optionText": "No"
}
}
],
"TextTestMF": [
{
"index": 0,
"TextTest1": "Test"
}
],
"RadioTestMF": [
{
"index": 0,
"RadioTest2": {
"textValue": "00",
"optionText": "No"
},
"RadioTest1": {
"textValue": "00",
"optionText": "No"
},
"RadioTest4": {
"textValue": "00",
"optionText": "No"
},
"RadioTest3": {
"textValue": "00",
"optionText": "No"
}
}
],
"CheckTestMF": [
{
"index": 0,
"CheckboxTest2": "UNCHECKED",
"CheckboxTest1": "UNCHECKED",
"CheckboxTest4": "UNCHECKED",
"CheckboxTest3": "UNCHECKED"
}
]
},
"RadioTest": {
"textValue": "01",
"optionText": "Yes"
},
"ComboField": {
"textValue": "01",
"optionText": "Savings"
},
"TaxIDSource": {
"textValue": "01",
"optionText": "Application"
},
"LetterSendDate": "2001-01-01T00:00:00Z",
"TransactionField": "Best",
"TestField": "Test"
}
}