Table of Contents

Get Application User Accounts List

Gets a list of Application User Accounts for one user.

URL

/cnbs/v1/apu/users/id/accounts

Method(s)

GET

Parameters

Required GET

Example GET

cURL:

curl -X GET https://<<your.server.here>>/CNBS/v1/apu/users/id/accounts?sap-client=800&sap-language=EN&apiid=CNBSMV01R&user_id=A959E6704DF21EEAA1AEA05F353B4A56 -H content-type: application/json -H cnbssysid: nR4kLO/8HCiuv+1hev5fbMgcMpOwhKf3GvJZvxZ3ZPQ=

Response

The response consists of an accounts list table (data) and a status (status).

Example Response

JSON:

{
  "data": [
        {
            "account_id": "3vSR8UKsh09w91Pw791G5uUdvZ3Vou",
            "user_id": "A959E6704DF21EEAA1AEA05F353B4A56",
            "account_type": "Payer",
            "primary_account": "3000",
            "sales_organization": "3000",
            "distribution_channel": "10",
            "division": "00",
            "company_code": "1000",
            "allow_payments": "X",
            "allow_deposits": ""
        }
  ],
  "status": {
    "message_type": "S",
    "message_identification": "/CNBS/X_API",
    "message_number": 10,
    "message_line_string": "Request successfully processed ,document selected 1"
  }
}