Get an Account Lookup

get

/rest/v19/pricingSetup/lookups/accounts/{lookupId}

Use this endpoint to retrieve a customer account using the specified lookup Id.

Request

Path Parameters
Query Parameters
  • This parameter filters the resource attributes. Only the specified attributes are returned, which means that if no attributes are specified, all attributes are returned.
Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : AccountLookup
Type: object
Show Source
Nested Schema : Created By
Title: Created By
Read Only: true
The details of the user who created the record.
Match All
The details of the user who created the record.
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
The details of the user who modified the record.
Show Source
Nested Schema : UserDetails
Type: object
Show Source
Back to Top

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 -H "Authorization: Bearer <token>" - H "Content-type: application/json"
https://sitename.oracle.com/rest/v19/pricingSetup/lookups/accounts/38452139

Response Body Sample

{
  "links": [{
      "rel": "self",
      "href": "https://sitename.oracle.com/rest/v19/pricingSetup/lookups/accounts/38452139"
    }, {
      "rel": "parent",
      "href": "https://sitename.oracle.com/rest/v19/pricingSetup/lookups/accounts"
    }
  ],
  "id": "38452139",
  "lookupCode": "Customer_Platinum1",
  "meaning": "Customer_Platinum1"
}
Back to Top