GET v1/ExternalApis/{apiName}

User roles allowed to make this request: DomainAdministrator PowerUser RegularUser Scripter LimitedUser GlobalDomainManager DemoUser

Permissions required to make this request: ExternalApi.Read

Get api configuration by name

Request Information

URI Parameters

NameDescriptionTypeAdditional information
apiName

string

Required

Body Parameters

None.

Response Information

Resource Description

Response Message

ExternalApiModel
NameDescriptionTypeAdditional information
Name

The name used to reference the external api

string

Required

Max length: 16

Description

The description of the api

string

Max length: 4096

Uri

The endpoint of the api

string

Required

Max length: 1024

HelpUri

Address for help about the api

string

Max length: 1024

Headers

The headers for the api

Collection of ExternalApiHeaderModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Description": "sample string 2",
  "Uri": "sample string 3",
  "HelpUri": "sample string 4",
  "Headers": [
    {
      "HeaderId": 1,
      "Name": "sample string 2",
      "Value": "sample string 3",
      "IsObfuscated": true
    },
    {
      "HeaderId": 1,
      "Name": "sample string 2",
      "Value": "sample string 3",
      "IsObfuscated": true
    }
  ]
}

application/xml, text/xml

Sample:
<ExternalApiModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">
  <Description>sample string 2</Description>
  <Headers>
    <ExternalApiHeaderModel>
      <HeaderId>1</HeaderId>
      <IsObfuscated>true</IsObfuscated>
      <Name>sample string 2</Name>
      <Value>sample string 3</Value>
    </ExternalApiHeaderModel>
    <ExternalApiHeaderModel>
      <HeaderId>1</HeaderId>
      <IsObfuscated>true</IsObfuscated>
      <Name>sample string 2</Name>
      <Value>sample string 3</Value>
    </ExternalApiHeaderModel>
  </Headers>
  <HelpUri>sample string 4</HelpUri>
  <Name>sample string 1</Name>
  <Uri>sample string 3</Uri>
</ExternalApiModel>