{{ define "requestMultiKey" }} {{ template "header" .}} {{ $page := .}} {{$catalogue := .Catalogue}}
{{ if .Error }}
{{.Error}}
{{ end }} {{ if not .DenyRequest }} {{ end }}
{{ if not .DenyRequest }}

Selected APIs

List of APIs the key will be generated for

No selected APIs
    {{if $catalogue}}
  1. {{$catalogue.Name}} {{$catalogue.AuthType}}
  2. {{end}}

Available APIs to connect

List of APIs availble for key request. Once an API is selected the entire list is filtered by the selected APIs authentication type.

No APIs available for selection
    {{$authType := $catalogue.AuthType}} {{ range $index, $apiDetail := .APIS}} {{ if $apiDetail.Show }} {{ if ne $apiDetail.AuthType "oauth"}} {{ if $catalogue}} {{if ne $apiDetail.PolicyID $catalogue.PolicyID}}
  1. {{$apiDetail.Name}} {{$apiDetail.AuthType}}
  2. {{end}} {{else}}
  3. {{$apiDetail.Name}} {{$apiDetail.AuthType}}
  4. {{end}} {{end}} {{end}} {{end}}
{{if gt (len .PortalConfig.KeyRequestFields) 0 }}

Key request form

{{ range $fieldname := .PortalConfig.KeyRequestFields }}
{{ end }} {{end}} {{ if $catalogue }} {{ end }}
{{ end }}
{{ template "navigation" . }} {{ template "footer" .}} {{ template "scripts" .}} {{ end }}