Update a specific suspense by suspense Id
put
/PASService/rest/services/v1/suspenses/{suspenseId}
Updates a suspense based on the specified suspenses Id
Request
Path Parameters
-
suspenseId(required): string(guid)
Suspense Id
Supported Media Types
- application/json
Root Schema : schema
Type:
stringResponse
204 Response
successful operation
Examples
This example describes how to update a specific suspense by 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/C28C7883-DDC2-4BBF-A821-AFECC43413DC"
Example Request Body
The following shows an example of the request body in JSON format:
{
"suspense":
{
"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",
"companyId": "BCAC85F4-D419-4D5F-9AA3-5CAB3B5EE2D7",
"TestField": "Test",
"amount": 349.25,
"currencyCode": "USD"
"attachedAmount": 0 ,
"policyNumber": "DI0000078255",
"typeCode":"02",
"statusCode":"16",
"effectiveFromDate": "1990-01-01T00:00:00Z",
"effectiveToDate": "1990-01-01T00:00:00Z",
"firstName": "Jane",
"lastName": "Wagner",
"accountNumber": "01010101325456",
"bankNumber": "010101013254",
"checkNumber": "22222"
}
}