Get an Account Lookup
get
/rest/v16/pricingSetup/lookups/accounts/{lookupId}
Use this endpoint to retrieve the specified account by lookup.
Request
Path Parameters
Query Parameters
-
fields: string
This parameter filters the resource attributes. Only the specified attributes are returned, which means that if no attributes are specified, all attributes are returned.
Response
Supported Media Types
- application/json
200 Response
Success
Root Schema : AccountLookup
Type:
Show Source
object
-
createdBy:
Created By
Title:
Created By
Read Only:true
The details of the user who created the record. -
description:
string
-
id:
string()
Title:
Id
Read Only:true
The unique identifier of the account. Usually a number or a string depending on the integration. -
lastModifiedBy:
Last Modified By
Title:
Last Modified By
Read Only:true
The details of the user who modified the record. -
links:
array Links
Title:
Links
Read Only:true
The link relations associated with the resource instance. -
lookupCode:
string()
Title:
Customer Id
Read Only:true
The customer Identifier of the account. -
meaning:
string()
Title:
Company Name
Read Only:true
The company name of the account.
Nested Schema : Created By
Title:
Created By
Read Only:
true
The details of the user who created the record.
Match All
Show Source
Nested Schema : Last Modified By
Title:
Last Modified By
Read Only:
true
The details of the user who modified the record.
Match All
Show Source
Nested Schema : Links
Type:
array
Title:
Links
Read Only:
true
The link relations associated with the resource instance.
Show Source
Nested Schema : UserDetails
Type:
Show Source
object
-
emailId:
string()
Title:
Email Id
Email Id of the user -
firstName:
string()
Title:
First Name
First Name of the user -
lastName:
string()
Title:
Last Name
Last Name of the user
Examples
The following examples show how to retrieve a customer account using the specified lookup Id by submitting a GET request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl - X GET - i - H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" - H "Content-type: application/json" https://sitename.oracle.com/rest/v16/pricingSetup/lookups/accounts/38452139
Response Body Sample
{ "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v16/pricingSetup/lookups/accounts/38452139" }, { "rel": "parent", "href": "https://sitename.oracle.com/rest/v16/pricingSetup/lookups/accounts" } ], "id": "38452139", "lookupCode": "Customer_Platinum1", "meaning": "Customer_Platinum1" }