GET api/clients/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

None.

Response Information

Resource Description

ApiResponseOfGetClientResponse
NameDescriptionTypeAdditional information
Data

GetClientResponse

None.

Errors

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "Enabled": true,
    "ClientName": "sample string 2",
    "ClientId": "sample string 3",
    "ClientSecrets": [
      {
        "Key": "8a02eeef-0ba2-47d6-89e7-44a61de68ba4",
        "Value": "sample string 2"
      },
      {
        "Key": "9209529c-4e50-4251-ace0-0beb4b34eb0a",
        "Value": "sample string 2"
      }
    ],
    "RedirectUris": [
      {
        "Key": "1ff985ce-2003-4b0f-aea9-9c40b34f84d1",
        "Value": "sample string 2"
      },
      {
        "Key": "3d90b06d-06ea-463d-89e9-add9af075d14",
        "Value": "sample string 2"
      }
    ],
    "AllowedScopes": [
      {
        "Key": "8058208c-e705-44ee-b9bf-4461fcd877ee",
        "Value": "sample string 2"
      },
      {
        "Key": "b537404a-abbb-4a02-8c97-efef9a686a23",
        "Value": "sample string 2"
      }
    ],
    "AllowedCorsOrigins": [
      {
        "Key": "5e1fc36a-6c93-4764-aa1d-24bbf91be4d6",
        "Value": "sample string 2"
      },
      {
        "Key": "103dc18e-1f56-448c-9c47-8270f8dfce71",
        "Value": "sample string 2"
      }
    ],
    "PostLogoutRedirectUris": [
      {
        "Key": "1d1f35cc-953c-4c46-98dc-cc3810300135",
        "Value": "sample string 2"
      },
      {
        "Key": "6f8fbb09-b8dc-405d-a893-d525b7cab30e",
        "Value": "sample string 2"
      }
    ],
    "Flow": 4,
    "RequireConsent": true,
    "AllowRememberConsent": true,
    "ClientUri": "sample string 7",
    "AccessTokenType": 8,
    "AccountId": "2f7dfb64-7bc1-48c6-9b92-a7fed5c9e451",
    "AccessTokenLifetime": 9,
    "EnableLocalLogin": true,
    "IdentityProviderRestrictions": [
      {
        "Key": "61e84bb7-4d40-4b12-8d59-97249174caf4",
        "Value": "sample string 2"
      },
      {
        "Key": "a94003c4-6922-4dfa-93e2-9c8041a2c90c",
        "Value": "sample string 2"
      }
    ],
    "ClientSignupFlowTemplate": [
      {
        "Key": 1,
        "Value": "sample string 1"
      },
      {
        "Key": 1,
        "Value": "sample string 1"
      }
    ],
    "ApiDlpGetAmxToken": "sample string 11",
    "ApiDlpPostAmxToken": "sample string 12",
    "AmxSecret": "sample string 13",
    "LayoutId": "sample string 14"
  },
  "Errors": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<ApiResponseOfGetClientResponsekbK6XzSn 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.Client">
    <d2p1:AccessTokenLifetime>9</d2p1:AccessTokenLifetime>
    <d2p1:AccessTokenType>8</d2p1:AccessTokenType>
    <d2p1:AccountId>2f7dfb64-7bc1-48c6-9b92-a7fed5c9e451</d2p1:AccountId>
    <d2p1:AllowRememberConsent>true</d2p1:AllowRememberConsent>
    <d2p1:AllowedCorsOrigins xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
      <d3p1:KeyValuePairOfguidstring>
        <d3p1:key>5e1fc36a-6c93-4764-aa1d-24bbf91be4d6</d3p1:key>
        <d3p1:value>sample string 2</d3p1:value>
      </d3p1:KeyValuePairOfguidstring>
      <d3p1:KeyValuePairOfguidstring>
        <d3p1:key>103dc18e-1f56-448c-9c47-8270f8dfce71</d3p1:key>
        <d3p1:value>sample string 2</d3p1:value>
      </d3p1:KeyValuePairOfguidstring>
    </d2p1:AllowedCorsOrigins>
    <d2p1:AllowedScopes xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
      <d3p1:KeyValuePairOfguidstring>
        <d3p1:key>8058208c-e705-44ee-b9bf-4461fcd877ee</d3p1:key>
        <d3p1:value>sample string 2</d3p1:value>
      </d3p1:KeyValuePairOfguidstring>
      <d3p1:KeyValuePairOfguidstring>
        <d3p1:key>b537404a-abbb-4a02-8c97-efef9a686a23</d3p1:key>
        <d3p1:value>sample string 2</d3p1:value>
      </d3p1:KeyValuePairOfguidstring>
    </d2p1:AllowedScopes>
    <d2p1:AmxSecret>sample string 13</d2p1:AmxSecret>
    <d2p1:ApiDlpGetAmxToken>sample string 11</d2p1:ApiDlpGetAmxToken>
    <d2p1:ApiDlpPostAmxToken>sample string 12</d2p1:ApiDlpPostAmxToken>
    <d2p1:ClientId>sample string 3</d2p1:ClientId>
    <d2p1:ClientName>sample string 2</d2p1:ClientName>
    <d2p1:ClientSecrets xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
      <d3p1:KeyValuePairOfguidstring>
        <d3p1:key>8a02eeef-0ba2-47d6-89e7-44a61de68ba4</d3p1:key>
        <d3p1:value>sample string 2</d3p1:value>
      </d3p1:KeyValuePairOfguidstring>
      <d3p1:KeyValuePairOfguidstring>
        <d3p1:key>9209529c-4e50-4251-ace0-0beb4b34eb0a</d3p1:key>
        <d3p1:value>sample string 2</d3p1:value>
      </d3p1:KeyValuePairOfguidstring>
    </d2p1:ClientSecrets>
    <d2p1:ClientSignupFlowTemplate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
      <d3p1:KeyValuePairOfClientSignupFlowTemplateKeysstring4T9o1gJJ>
        <d3p1:key>IsActive</d3p1:key>
        <d3p1:value>sample string 1</d3p1:value>
      </d3p1:KeyValuePairOfClientSignupFlowTemplateKeysstring4T9o1gJJ>
      <d3p1:KeyValuePairOfClientSignupFlowTemplateKeysstring4T9o1gJJ>
        <d3p1:key>IsActive</d3p1:key>
        <d3p1:value>sample string 1</d3p1:value>
      </d3p1:KeyValuePairOfClientSignupFlowTemplateKeysstring4T9o1gJJ>
    </d2p1:ClientSignupFlowTemplate>
    <d2p1:ClientUri>sample string 7</d2p1:ClientUri>
    <d2p1:EnableLocalLogin>true</d2p1:EnableLocalLogin>
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:Flow>4</d2p1:Flow>
    <d2p1:IdentityProviderRestrictions xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
      <d3p1:KeyValuePairOfguidstring>
        <d3p1:key>61e84bb7-4d40-4b12-8d59-97249174caf4</d3p1:key>
        <d3p1:value>sample string 2</d3p1:value>
      </d3p1:KeyValuePairOfguidstring>
      <d3p1:KeyValuePairOfguidstring>
        <d3p1:key>a94003c4-6922-4dfa-93e2-9c8041a2c90c</d3p1:key>
        <d3p1:value>sample string 2</d3p1:value>
      </d3p1:KeyValuePairOfguidstring>
    </d2p1:IdentityProviderRestrictions>
    <d2p1:LayoutId>sample string 14</d2p1:LayoutId>
    <d2p1:PostLogoutRedirectUris xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
      <d3p1:KeyValuePairOfguidstring>
        <d3p1:key>1d1f35cc-953c-4c46-98dc-cc3810300135</d3p1:key>
        <d3p1:value>sample string 2</d3p1:value>
      </d3p1:KeyValuePairOfguidstring>
      <d3p1:KeyValuePairOfguidstring>
        <d3p1:key>6f8fbb09-b8dc-405d-a893-d525b7cab30e</d3p1:key>
        <d3p1:value>sample string 2</d3p1:value>
      </d3p1:KeyValuePairOfguidstring>
    </d2p1:PostLogoutRedirectUris>
    <d2p1:RedirectUris xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
      <d3p1:KeyValuePairOfguidstring>
        <d3p1:key>1ff985ce-2003-4b0f-aea9-9c40b34f84d1</d3p1:key>
        <d3p1:value>sample string 2</d3p1:value>
      </d3p1:KeyValuePairOfguidstring>
      <d3p1:KeyValuePairOfguidstring>
        <d3p1:key>3d90b06d-06ea-463d-89e9-add9af075d14</d3p1:key>
        <d3p1:value>sample string 2</d3p1:value>
      </d3p1:KeyValuePairOfguidstring>
    </d2p1:RedirectUris>
    <d2p1:RequireConsent>true</d2p1:RequireConsent>
  </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>
</ApiResponseOfGetClientResponsekbK6XzSn>