POST api/externalApplications/getAll

Returns all External Application in specific Account context based on provided filters

Request Information

URI Parameters

None.

Body Parameters

GetExternalApplicationRequest
NameDescriptionTypeAdditional information
KnownSearchFields

Collection of string

None.

KnownSortFields

Collection of string

None.

PageSize

integer

None.

PageIndex

integer

None.

SearchBy

Collection of Filter

None.

SortBy

Collection of Sort

None.

Request Formats

application/json, text/json

Sample:
{
  "KnownSearchFields": [
    "Name",
    "Alias",
    "Description",
    "IsActive"
  ],
  "KnownSortFields": [
    "Name",
    "Alias",
    "Description"
  ],
  "PageSize": 1,
  "PageIndex": 2,
  "SearchBy": [
    {
      "Key": "sample string 1",
      "Value": {},
      "Type": 0
    },
    {
      "Key": "sample string 1",
      "Value": {},
      "Type": 0
    }
  ],
  "SortBy": [
    {
      "Key": "sample string 1",
      "Order": 0
    },
    {
      "Key": "sample string 1",
      "Order": 0
    }
  ]
}

application/xml, text/xml

Sample:
<GetExternalApplicationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Requests.ExternalApplication">
  <KnownSearchFields xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Core">
    <d2p1:string>Name</d2p1:string>
    <d2p1:string>Alias</d2p1:string>
    <d2p1:string>Description</d2p1:string>
    <d2p1:string>IsActive</d2p1:string>
  </KnownSearchFields>
  <KnownSortFields xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Core">
    <d2p1:string>Name</d2p1:string>
    <d2p1:string>Alias</d2p1:string>
    <d2p1:string>Description</d2p1:string>
  </KnownSortFields>
  <PageIndex xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Core">2</PageIndex>
  <PageSize xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Core">1</PageSize>
  <SearchBy xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Core">
    <Filter>
      <Key>sample string 1</Key>
      <Type>None</Type>
      <Value />
    </Filter>
    <Filter>
      <Key>sample string 1</Key>
      <Type>None</Type>
      <Value />
    </Filter>
  </SearchBy>
  <SortBy xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Core">
    <Sort>
      <Key>sample string 1</Key>
      <Order>None</Order>
    </Sort>
    <Sort>
      <Key>sample string 1</Key>
      <Order>None</Order>
    </Sort>
  </SortBy>
</GetExternalApplicationRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiCollectionResponseOfGetExternalApplicationResponse
NameDescriptionTypeAdditional information
PageSize

integer

None.

PageIndex

integer

None.

Total

integer

None.

SearchBy

Collection of Filter

None.

SortBy

Collection of Sort

None.

Data

Collection of GetExternalApplicationResponse

None.

Errors

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "PageSize": 1,
  "PageIndex": 2,
  "Total": 3,
  "SearchBy": [
    {
      "Key": "sample string 1",
      "Value": {},
      "Type": 0
    },
    {
      "Key": "sample string 1",
      "Value": {},
      "Type": 0
    }
  ],
  "SortBy": [
    {
      "Key": "sample string 1",
      "Order": 0
    },
    {
      "Key": "sample string 1",
      "Order": 0
    }
  ],
  "Data": [
    {
      "Id": "7c45d50d-8f0b-41f2-91d7-4a42ea29a1a5",
      "Name": "sample string 2",
      "Description": "sample string 3",
      "IsActive": true,
      "Alias": "sample string 5",
      "GetAmxToken": "sample string 6",
      "PostAmxToken": "sample string 7"
    },
    {
      "Id": "7c45d50d-8f0b-41f2-91d7-4a42ea29a1a5",
      "Name": "sample string 2",
      "Description": "sample string 3",
      "IsActive": true,
      "Alias": "sample string 5",
      "GetAmxToken": "sample string 6",
      "PostAmxToken": "sample string 7"
    }
  ],
  "Errors": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<ApiCollectionResponseOfGetExternalApplicationResponseLgVmlFmJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Core">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Alice.Dto.Responses">
    <d2p1:GetExternalApplicationResponse>
      <d2p1:Alias>sample string 5</d2p1:Alias>
      <d2p1:Description>sample string 3</d2p1:Description>
      <d2p1:GetAmxToken>sample string 6</d2p1:GetAmxToken>
      <d2p1:Id>7c45d50d-8f0b-41f2-91d7-4a42ea29a1a5</d2p1:Id>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:PostAmxToken>sample string 7</d2p1:PostAmxToken>
    </d2p1:GetExternalApplicationResponse>
    <d2p1:GetExternalApplicationResponse>
      <d2p1:Alias>sample string 5</d2p1:Alias>
      <d2p1:Description>sample string 3</d2p1:Description>
      <d2p1:GetAmxToken>sample string 6</d2p1:GetAmxToken>
      <d2p1:Id>7c45d50d-8f0b-41f2-91d7-4a42ea29a1a5</d2p1:Id>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:PostAmxToken>sample string 7</d2p1:PostAmxToken>
    </d2p1:GetExternalApplicationResponse>
  </Data>
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Errors>
  <PageIndex>2</PageIndex>
  <PageSize>1</PageSize>
  <SearchBy>
    <Filter>
      <Key>sample string 1</Key>
      <Type>None</Type>
      <Value />
    </Filter>
    <Filter>
      <Key>sample string 1</Key>
      <Type>None</Type>
      <Value />
    </Filter>
  </SearchBy>
  <SortBy>
    <Sort>
      <Key>sample string 1</Key>
      <Order>None</Order>
    </Sort>
    <Sort>
      <Key>sample string 1</Key>
      <Order>None</Order>
    </Sort>
  </SortBy>
  <Total>3</Total>
</ApiCollectionResponseOfGetExternalApplicationResponseLgVmlFmJ>