---
schema_version: "1"
id: 1b32d922a2cbc63921a3a0e987308d822af498f8327802ada4f5a3589654ae10
title: EPC API Response Format
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/industries/cme/guides/comms-t-epc-api-response-format.md
canonical_url: https://developer.salesforce.com/docs/industries/cme/guide/comms-t-epc-api-response-format.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 544f293afb28a4591df08c94ae418dc236a382157a749a08930fc1861b2526ee
products:
  - Communications, Media, Energy and Utilities APIs (Managed Package)
  - Industries Developer Documentation
---
# EPC API Response Format

The EPC REST API uses the DomainResponse class to represent the output for REST calls.

The API responses permit a structured interaction between the requesting entities and back-end operations and are composed of objects wrapped in a result epcResponse object. The wrapper object is represented by the following properties or elements:

- overallResult: Specifies the overall result of the API call.

- failureReason: If the API call fails, this element describes the reason for the failure.

- warningMessage: If the API call is successful but encounters errors, this field lists the errors.

- entities: Lists the objects specified in the API call

- supplimentaryEntity: Lists any additional objects or information related to the objects specified in the API call.

- hierarchy: If applicable, displays the children of objects specified by the API call.

- children: If the hierarchy is displayed, lists the children of the objects specified by the API call.

- pageInfo: Specifies various properties related to pagination such as:

  - currentPage: Specifies the current page.

  - pageSize: Specifies the number of items on the page.

  - totalCount: Specifies the total number of records.

  - totalPages: Specifies the total pages. The total number of pages is the totalCount divided by pageSize.

- numberOfProduct: Lists the number of products returned.
