Get Account
get
/rest/v19/accounts/{customerId}
This action returns the specified account information.
Request
Supported Media Types
- application/json
Path Parameters
-
customerId(required): string
The unique alternate identifier for the account.
Response
Supported Media Types
- application/json
Default Response
Root Schema : accounts
Type:
Show Source
object-
_crm_custom_AddressLine1:
string
Title:
Address Line 1 -
_crm_custom_AddressLine2:
string
Title:
Address Line 2 -
_crm_custom_addressLine3:
string
Title:
Address Line 3 -
_crm_custom_City:
string
Title:
City -
_crm_custom_Country:
string
Title:
Country -
_crm_custom_county:
string
Title:
County -
_crm_custom_oRCL_OSC_AddressLine1_c:
string
Title:
OSC Address Line 1 -
_crm_custom_oRCL_OSC_AddressLine2_c:
string
Title:
OSC Address Line 2 -
_crm_custom_oRCL_OSC_City_c:
string
Title:
OSC City -
_crm_custom_oRCL_OSC_Country_c:
string
Title:
OSC Country -
_crm_custom_oRCL_OSC_PostalCode_c:
string
Title:
OSC Postal Code -
_crm_custom_oRCL_OSC_State_c:
string
Title:
OSC State -
_crm_custom_PostalCode:
string
Title:
Postal Code -
_crm_custom_State:
string
Title:
State -
companyName:
string
Title:
Company NameThe name of the account. -
customerId:
string
Title:
Customer IdThe unique alternate identifier for the account party. -
customerRep:
string
Title:
Customer RepresentativeName of Sales Account Owner. -
dateAdded:
string
Title:
Date AddedDate Added -
dateModified:
string
Title:
Date ModifiedDate Modified -
email:
string
Title:
EmailThe e-mail address of the account(s) primary contact. -
fax:
string
Title:
FaxThe fax number of the organization in the local format. The number should not include area code, country code, or extension. -
firstName:
string
Title:
First NameThe unique account name displayed on account related screens. -
id:
integer
Title:
IdId -
lastName:
string
Title:
Last NameLast Name -
phone:
string
Title:
PhoneThe phone number of the organization in the local format. The number should not include area code, country code, or extension.
Examples
The following example returns the specified account information by submitting a GET request to the REST resource using cURL.
curl -X POST -H "Authorization: Bearer <token>" -H "Accept: application/json" https://sitename.oracle.com/rest/v19/accounts/100
Response Body Sample
The following example shows the contents of the response body in JSON format:
{
"firstName": "Jones Pizza",
"phone": "2135555555",
"companyName": "Jones Pizza",
"customerId": "100",
"email": "ljones@jonespizza.net",
"links": [{
"rel": "self",
"href": "https://sitename.oracle.com/rest/v19/accounts/100"
}
]
}