GET api/Intranet/GetAliases

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

AliasList
NameDescriptionTypeAdditional information
Aliases

Collection of Alias

None.

TotalCount

Total number of items in the list

integer

None.

Error

Error description if the operation failed

string

None.

Success

Operation result

boolean

None.

ErrorCode

Error code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "aliases": [
    {
      "catalogName": "sample string 1",
      "url": "sample string 2",
      "description": "sample string 3"
    },
    {
      "catalogName": "sample string 1",
      "url": "sample string 2",
      "description": "sample string 3"
    }
  ],
  "totalCount": 1,
  "error": "sample string 2",
  "success": true,
  "errorCode": 4
}

application/xml, text/xml

Sample:
<AliasList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAMClient.Models">
  <_x003C_ErrorCode_x003E_k__BackingField>4</_x003C_ErrorCode_x003E_k__BackingField>
  <_x003C_Error_x003E_k__BackingField>sample string 2</_x003C_Error_x003E_k__BackingField>
  <_x003C_Success_x003E_k__BackingField>true</_x003C_Success_x003E_k__BackingField>
  <TotalCount>1</TotalCount>
  <Aliases xmlns:d2p1="http://schemas.datacontract.org/2004/07/DAMClient">
    <d2p1:Alias>
      <d2p1:CatalogName>sample string 1</d2p1:CatalogName>
      <d2p1:Description>sample string 3</d2p1:Description>
      <d2p1:Url>sample string 2</d2p1:Url>
    </d2p1:Alias>
    <d2p1:Alias>
      <d2p1:CatalogName>sample string 1</d2p1:CatalogName>
      <d2p1:Description>sample string 3</d2p1:Description>
      <d2p1:Url>sample string 2</d2p1:Url>
    </d2p1:Alias>
  </Aliases>
</AliasList>
bool hasModels = Model.ParameterModels.Count > 0; if (hasModels) {

Parameter Information

}