The update actor-chain is used to update a customer profile.

Parameter

Description

firstName

The first name of the customer.

middleName

The middle name or initial of the customer.

lastName

The last name of the customer.

email

The e-mail address of the customer.

dateOfBirth

The customer’s date of birth.

address.address1

The first address field associated with the customer’s address.

address.address2

The second address field associated with the customer’s address.

address.city

The city associated with the customer’s address.

address.companyName

A company name associated with the customer’s address.

address.country

A country associated with the customer’s address.

address.county

A county associated with the customer’s address.

address.jobTitle

A job title associated with the customer’s address.

address.postalCode

The postal code associated with the customer’s address.

address.faxNumber

A fax number associated with the customer’s address.

address.firstName

The first name of the customer associated with the address.

address.middleName

The middle name or initial of the customer associated with the address.

address.lastName

The last name of the customer associated with the address.

address.phoneNumber

The phone number associated with the customer’s address.

address.prefix

A prefix associated with the customer, such as Mr. or Dr.

address.state

The state associated with the customer’s address.

address.suffix

A suffix associated with the customer, such as Jr.

Update Customer Profile Example
curl -L -v -b agent_cookies.txt -H "Content-Type: application/json" –d
"{"firstName":\"Bill\", "middleName":\"Theodore\", "lastName":\"Hitchock\",
"email":\"william13@hotmail.com\", "dateOfBirth":\"AUG 30, 1972\",
"address":{"atg-rest-class-type":"java.util.HashMap", "atg-rest-values":
{"address1":\"333 Main Street\", "address2":\"Suite 900\", "city":\"Tacoma\",
"state":\"WA\", "country":\"USA\", "postalCode":\"00123\", "phoneNumber":
\"555-111-2225\"}} }" "http://localhost:8280/rest/model/atg/svc/agent/ui/
formhandlers/CustomerProfileActor/update"

Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices