Retrieve an account

get

/api/REST/1.0/data/account/{id}

Retrieves the account specified by the id parameter

Request

Supported Media Types
Path Parameters
Query Parameters
  • Level of detail returned by the request. Eloqua APIs can retrieve entities at three different levels of depth: minimal, partial, and complete. Any other values passed are reset to complete by default. For more information, see Request depth.
  • Id of the account view.
Back to Top

Response

Supported Media Types

200 Response

OK
Body ()
Root Schema : Account
Type: object
Title: Account
Show Source
Nested Schema : crmSystemMappings
Type: array
Lists CRM Users linked to the Account. Each crmSystemMappings contains a type, CRMUsername(s), and Eloqua loginName values for all of the Eloqua Users linked to the Account. This property is only returned if Eloqua Users are linked to the Account. For instructions on how to link Eloqua Users to Accounts, refer to the linkUsers parameter in this tutorial. This property is also only returned when the request depth is complete.
Show Source
Nested Schema : fieldValues
Type: array
Array containing type and id values for all of the accountFields associated with a given account.
Show Source
Nested Schema : CrmSystemMapping
Type: object
Title: CrmSystemMapping
Show Source
Nested Schema : FieldValue
Type: object
Title: FieldValue
Show Source
  • Read Only: true
    The id of the field to be set to the corresponding value.
  • The asset's type in Eloqua. This is a read-only property.
  • The value to set the corresponding field id to. Date values must be submitted as a unix timestamp.

400 Response

Bad request. See Status Codes for information about other possible HTTP status codes.

401 Response

Unauthorized. See Status Codes for information about other possible HTTP status codes.

403 Response

Forbidden. See Status Codes for information about other possible HTTP status codes.

404 Response

The requested resource was not found. See Status Codes for information about other possible HTTP status codes.

500 Response

The service has encountered an error. See Status Codes for information about other possible HTTP status codes.
Back to Top

Examples

Retrieve the account asset with Id #1:


GET /api/REST/1.0/data/account/1
			

Response:


{
    "type":"Account",
    "id":"1",
    "createdAt":"1423758306",
    "depth":"complete",
    "description":"This is an example company.",
    "name":"Cyberdyne Systems",
    "updatedAt":"1423758306",
    "address1":"123 Industry Lane",
    "address2":"",
    "address3":"",
    "businessPhone":"5555555555",
    "city":"Los Angeles ",
    "country":"United States",
    "fieldValues":[],
    "postalCode":"",
    "province":"CA"
}
			
Back to Top