Update a specific suspense by suspense Id

patch

/PASService/rest/services/v1/suspenses/{suspenseId}

Updates a suspense based on the specified suspense Id

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: string
Back to Top

Response

204 Response

successful operation
Back to Top

Examples

This example describes how to update a specific suspense by suspense Id by providing partial payload.

Note

Below is the list of Fields that are not allowed for update using PATCH.

  • effectiveDate
  • companyId
  • masterSuspenseId
  • typeCode
  • suspenseNumber
  • suspenseId

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": "Yes"
            }
           }
         ]
       },
     "amount": 540,
     "checkNumber": "22220"
    }
}
Back to Top