The ServiceCustomerProfileActor is used to view the customer order history. The path to this actor is: /atg/userprofiling/ServiceCustomerProfileActor.
This actor contains the detailed actor-chain.
Parameters: None
View Current Customer Example
curl -L -v -b agent_cookies.txt -H "Content-Type: application/json" "http://localhost:8280/rest/model/atg/userprofiling/ServiceCustomerProfileActor/ detailed"
The server response may be similar to the following:
{"profile": {
"middleName": null,
"lastName": "Smith",
"expressCheckout": false,
"defaultCreditCard": null,
"orderPriceLimit": null,
"locale": null,
"currentLocation": "unknown",
"id": "220022",
"registrationDate": {"time": 1363218368049},
"email": "jsmith@example.com",
"homeAddress": {
"middleName": null,
"lastName": "Smith",
"item-id": null,
"state": "MA",
"address1": "1 Main Street",
"address2": null,
"address3": null,
"companyName": null,
"suffix": null,
"repositoryId": "230024",
"country": "USA",
"city": "Cambridge",
"faxNumber": null,
"postalCode": "02046",
"phoneNumber": "6176378687",
"county": null,
"prefix": null,
"firstName": "John"
},
"favoriteStores": [],
"daytimeTelephoneNumber": null,
"billingAddress": null,
"login": null,
"secondaryAddresses": {},
"purchaseLists": [],
"firstName": "John",
"shippingAddress": null,
"allowPartialShipment": false,
"creditCards": {"visa - 1111": {
"id": "usercc10001",
"expirationYear": "2022",
"expirationMonth": "1",
"creditCardNumber": "1111",
"billingAddress": {
"middleName": null,
"lastName": "Smith",
"item-id": null,
"state": "MA",
"address1": "One Main Street",
"address2": null,
"address3": null,
"companyName": null,
"suffix": null,
"repositoryId": "230038",
"country": "USA",
"city": "Cambridge",
"faxNumber": null,
"postalCode": "02046",
"phoneNumber": "6176378687",
"county": null,
"prefix": null,
"firstName": "John"
},
"creditCardType": "visa"
}}
}}
