SAP Cloud Platform Open Connectors

GET /accounts/{id}

GET /accounts/{id}

Retrieve a specific account by account Id.

Path Parameters

idThe unique identifier for an account within an organization.

Example Request

curl -X GET \
https://api.openconnectors.us2.ext.hana.ondemand.com/elements/api-v2/accounts/156162\
-H 'authorization: User sAfK7LJGNz5ZHcNrvdJvLI=f03WbTbH6aRKc0HJ3oOIi, Organization 58168435e3b9959a929eb04b6218b9a2' \
-H 'Cache-Control: no-cache' \
-H 'Content-Type: application/json' \

Example Response

[
  {
    "status": "paid",
    "environment": "production",
    "active": true,
    "createdDate": "2017-12-21",
    "id": 163647,
    "name": "Docs Account 2",
    "description": "Docs Account 2",
    "companyId": 59632,
    "externalId": "168l8ya5k73",
    "defaultAccount": false,
    "type": "CompanyAccount"
  },