Update client address

put

/PASService/rest/services/clients/{clientId}/addresses/{addressId}

Updates the address of the client based on the specified client Id and address Id

Request

Supported Media Types
Path Parameters
  • Pattern: \{?[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}\}?
    Address Id
  • Pattern: \{?[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}\}?
    Client Id
Body ()
Root Schema : schema
Type: string
Back to Top

Response

Supported Media Types

Default Response

successful operation
Back to Top

Examples

This example describes how to update the address of the client based on the specified client Id and address Id.

Example cURL Command

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

curl -X PUT -H "Accept: application/json" -u username:password "server:port/PASService/rest/services/clients/DE91F107-6BCC-46AB-877C-05D810E5C563/addresses/44FA3D58-5F37-4323-94A9-936B7CF9932C"

Example Request Body

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

"{
  "address": {
    "multiFields": {
      
    },
    "defaultFlag": "A",
    "eMailCorrespondenceFlag": "A",
    "effectiveDate": "2020-01-06T00:00:00Z",
    "addressLine1": "1801 Walnut Street",
    "addressLine2": "18 Walnut Street1",
    "addressLine3": "18 Walnut Street2",
    "addressLine4": "18 Walnut Street3",
    "addressLine5": "18 Walnut Street4",
    "addressLine6": "18 Walnut Street5",
    "city": "Philadelphia",
    "postalID": "2323232-232",
    "email": "ad1@mail.com",
    "faxNumber": "234422-232",
    "phones": [
      
    ],
    "addressType": "02",
    "clientId": "DE91F107-6BCC-46AB-877C-05D810E5C563",
    "addressId": "44FA3D58-5F37-4323-94A9-936B7CF9932C",
    "expiryDate": "2020-01-06T16:38:45Z",
    "region": "CA",
    "municipality": "CA-",
    "state": "38",
    "country": "US",
    "phone": "123-123-1233"
  }
}"
Back to Top