Search the Omeda Knowledge Base

< All Topics

Phone Lookup By Customer Id


This API provides the ability look up a Customer’s Phone Numbers by the Customer id.

General Technical Requirements

The following technical requirements apply to all requests for this API.

Base Resource URI



brandAbbreviation is the abbreviation for the brand customerId is the internal customer id (encrypted customer id may also be used)

HTTP Headers

The HTTP header must contain the following element: x-omeda-appid a unique id provided to you by Omeda to access your data. The request will fail without a valid id.

Content Type

The content type is application/json. JSON application/json

JSON is the preferred data exchange format, because it is lightweight and, in most cases, faster to process and utilizes less bandwidth. There are many available open-source JSON libraries available. See for details.

Supported HTTP Methods

There is one HTTP method supported:

  1. GET : See W3C’s GET specs for details.

Lookup Phone Information By Customer Id

Retrieves a record containing all available phone information about a customer.

Field Definition

The following table describes the hierarchical data elements.

Phone Numbers Elements

Element NameDescription
CustomerElement containing an http reference to the owning customer resource.
PhoneNumberseach Phone element contains all phone information.

Phone Elements

Element NameAlways Returned…Data TypeDescription
IdYesIntegerunique phone identifier
PhoneContactTypeYesIntegerinteger that defines the type of phone (see Standard API Constants and Codes)
PhoneNumberYesStringactual phone number
ExtensionNoStringphone extension
ChangedDateYesDateTimeDate & time record last changed. yyyy-MM-dd HH:mm:ss format. Example: 2010-03-08 21:23:34.
StatusCodeNoByteStatus of the postal address: 1 is the primary address, 2 is an active address.
CountryCallingCodeNoIntegercountry calling code


HTTP Response Codes

200 OKThe request has succeeded. See Example Response below.
403 ForbiddenTypically, this error occurs when the credentials are erroneous. Potentially, an incorrect x-omeda-appid.
404 Not FoundTypically, this error occurs with a malformed URL or the resource that is searched for is not found.
500 Internal Server ErrorIn the rare case that there is a server-side problem, this response will be returned. This generally indicates a problem of a more serious nature, and submitting additional requests may not be advisable. Please contact your Omeda Account Representative if the issue continues.


      "CountryCallingCode": 1,
      "StatusCode": 1,
      "ChangedDate": "2015-03-08 21:23:34"
      "CountryCallingCode": 1,
      "StatusCode": 1,
      "ChangedDate": "2015-03-08 21:23:34"
  "SubmissionId" : "24B9BF6F-0677-462B-942A-D87EEBD10F77"


         "Error":"No phone number found for customer 12345."
Possible Error Messages

In the event of an error, an error response will be returned. Here are some of the possible responses you might receive.

No phone number found for customer {customerId}.
Table of Contents
Scroll to Top