Previous Next JavaScript must be enabled to correctly display this content

## Create suspenses

post

/PASService/rest/services/v1/suspenses

Creates single or multiple suspenses

### Request

There are no request parameters for this operation.

Supported Media Types

- application/json

Request Body - application/json ()
Root Schema : schema
Type: `string`
Back to Top

### Response

#### 201 Response

successful operation
Back to Top

### Examples

This example describes how to create a suspense.

Example cURL Command

Use the following cURL command to submit a request on the REST resource:

    curl -X POST \
         -H "Accept: application/json" \
         -H "Content-Type: application/json" \
         -u 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
         -L "http://server:port/PASService/rest/services/v1/suspense/BCAC85F4-D419-4D5F-9AA3-5CAB3B5EE2D7" \
         -d '{"Use this placeholder to plug-in the example request body given below"}'

Example Request Body

The following shows an example of the request body in JSON format:

    {
      "suspenses": [
        {
          "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",
          "amount": 349.58,
          "attachedAmount": 0,
          "currencyCode": "USD",
          "companyId": "BCAC85F4-D419-4D5F-9AA3-5CAB3B5EE2D7",
          "policyNumber": "DI0000078255",
          "typeCode": "02",
          "statusCode": "15",
          "effectiveDate": "1990-01-01T00:00:00Z",
          "effectiveFromDate": "1990-01-01T00:00:00Z",
          "effectiveToDate": "1990-01-01T00:00:00Z",
          "firstName": "Jane",
          "lastName": "Wagner",
          "accountNumber": "01010101325456",
          "bankNumber": "010101013254",
          "checkNumber": "22222",
          "masterSuspenseId": "B6C02A5C-AE13-46F4-A97E-AAD798A02E2B"
        }
      ]
    }

Back to Top