Update client phones

put

/PASService/rest/services/clients/{clientId}/phones/{phoneId}

Updates a client phone based on the specified client Id and phone 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}\}?
    Client Id
  • Pattern: \{?[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}\}?
    phones 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 a client phone based on the specified client Id and phone 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/7EB775B5-E542-42E6-BEEF-52F58E160AA8/phones/714D7379-D203-4E31-908B-B2B828755061"

Example Request Body

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

"{
  "phone": {
    "countryCode": "US",
    "callingCode": "1",
    "phoneNumber": "3025558787",
    "extension": "43434",
    "preferred": "Y",
    "phoneType": "01",
    "phoneId": "714D7379-D203-4E31-908B-B2B828755061",
    "status": "01",
    "type": "01"
  }
}"
Back to Top