GET api/Substation/Get/All

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Substation
NameDescriptionTypeAdditional information
SubstationId

integer

None.

Name

string

None.

DRActivated

boolean

None.

ELActivated

boolean

None.

ProtectionId

integer

None.

ConstituentId

integer

None.

SLDUpload

string

None.

SLDMaker

string

None.

Protection

ProtectionMaster

None.

Constituents

ConstituentsMaster

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "SubstationId": 1,
    "Name": "sample string 2",
    "DRActivated": true,
    "ELActivated": true,
    "ProtectionId": 5,
    "ConstituentId": 6,
    "SLDUpload": "sample string 7",
    "SLDMaker": "sample string 8",
    "Protection": {
      "ProtectionId": 1,
      "Value": "sample string 2",
      "Type": "sample string 3"
    },
    "Constituents": {
      "ConstituentId": 1,
      "Value": "sample string 2"
    }
  },
  {
    "SubstationId": 1,
    "Name": "sample string 2",
    "DRActivated": true,
    "ELActivated": true,
    "ProtectionId": 5,
    "ConstituentId": 6,
    "SLDUpload": "sample string 7",
    "SLDMaker": "sample string 8",
    "Protection": {
      "ProtectionId": 1,
      "Value": "sample string 2",
      "Type": "sample string 3"
    },
    "Constituents": {
      "ConstituentId": 1,
      "Value": "sample string 2"
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfSubstation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMS.ERPC.API.DAL.Model.DataModel">
  <Substation>
    <ConstituentId>6</ConstituentId>
    <Constituents>
      <ConstituentId>1</ConstituentId>
      <Value>sample string 2</Value>
    </Constituents>
    <DRActivated>true</DRActivated>
    <ELActivated>true</ELActivated>
    <Name>sample string 2</Name>
    <Protection>
      <ProtectionId>1</ProtectionId>
      <Type>sample string 3</Type>
      <Value>sample string 2</Value>
    </Protection>
    <ProtectionId>5</ProtectionId>
    <SLDMaker>sample string 8</SLDMaker>
    <SLDUpload>sample string 7</SLDUpload>
    <SubstationId>1</SubstationId>
  </Substation>
  <Substation>
    <ConstituentId>6</ConstituentId>
    <Constituents>
      <ConstituentId>1</ConstituentId>
      <Value>sample string 2</Value>
    </Constituents>
    <DRActivated>true</DRActivated>
    <ELActivated>true</ELActivated>
    <Name>sample string 2</Name>
    <Protection>
      <ProtectionId>1</ProtectionId>
      <Type>sample string 3</Type>
      <Value>sample string 2</Value>
    </Protection>
    <ProtectionId>5</ProtectionId>
    <SLDMaker>sample string 8</SLDMaker>
    <SLDUpload>sample string 7</SLDUpload>
    <SubstationId>1</SubstationId>
  </Substation>
</ArrayOfSubstation>