[HTTP POST] ~/accounts/users/apps

Description: Get a list of available app for a given user

Request Information

URI Parameters

None.

Body Parameters

Collection of Object

None.

Formats

Response Information

Description

Successful Response - OK (200):

A list of AppInfo DTOs

Response Content : Collection of AppInfo

NameDescriptionTypeAdditional information
Id

The Id of the App

integer

None.

Name

The Name of the Account

string

None.

AppKey

Flag for the User's access level on the Account

string

None.

AccountId

The Id of the Account

integer

None.


Response Codes:

  • 200 - OK
    • The user App Information was retrieved and returned successfully.
  • 500 - InternalServerError
    • An error occurred while processing this request.

Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2",
    "AppKey": "sample string 3",
    "AccountId": 4
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "AppKey": "sample string 3",
    "AccountId": 4
  }
]

application/csp-report

Sample:
[{"Id":1,"Name":"sample string 2","AppKey":"sample string 3","AccountId":4},{"Id":1,"Name":"sample string 2","AppKey":"sample string 3","AccountId":4}]

application/xml, text/xml

Sample:
<ArrayOfAppInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/W50API.Models.DTO">
  <AppInfo>
    <AccountId>4</AccountId>
    <AppKey>sample string 3</AppKey>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </AppInfo>
  <AppInfo>
    <AccountId>4</AccountId>
    <AppKey>sample string 3</AppKey>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </AppInfo>
</ArrayOfAppInfo>