Home > Cloud Cruiser 3 > REST API reference > Customers > Get a customer by account ID

Get a customer by account ID

Retrieves the detailed information of the customer specified by their accountId .

URL syntax

http://<ccServerURL
>/rest/v1/customers/customer/accountId/<accountId
>

HTTP method

GET

Request

URL path parameters (required)

accountId (type: string )

Request body

None

Response

Content-Type
application/xml
Response body

XML text with root element customer .

JAXB type
com.cloudcruiser.server.webservices.v1.dto.customer.Customer

Example

URL
http://localhost:8080/rest/v1/customers/customer/accountId/B-AA
Response body
<?xml version="1.0" encoding="UTF-8"?>
<customer xmlns="http://www.cloudcruiser.com/webservices/v1/Customer" id="7">
  <accountId>B-AA</accountId>
  <active>true</active>
  <accountLevel description="Business Unit" level="2"/>
  <ratePlan name="default" id="1"/>
  <accountingDay>1</accountingDay>
  <fiscalStartMonth>1</fiscalStartMonth>
  <description>Business Unit A</description>
</customer>
Java
Customer customer = customerServiceProxy.getCustomerByAccountId("B-AA");
Last modified

Tags

This page has no custom tags.

Classifications

This page has no classifications.
© Copyright 2018 Hewlett Packard Enterprise Development LP