GET api/Zone/Get/GetByPeriodId?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Zone
NameDescriptionTypeAdditional information
Id

integer

None.

SlNo

string

None.

zone

string

None.

Direction

string

None.

Protected_Line_Reach_Settings

string

None.

Time_Settings

string

None.

Remarks

string

None.

Period

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "SlNo": "sample string 2",
    "zone": "sample string 3",
    "Direction": "sample string 4",
    "Protected_Line_Reach_Settings": "sample string 5",
    "Time_Settings": "sample string 6",
    "Remarks": "sample string 7",
    "Period": "sample string 8"
  },
  {
    "Id": 1,
    "SlNo": "sample string 2",
    "zone": "sample string 3",
    "Direction": "sample string 4",
    "Protected_Line_Reach_Settings": "sample string 5",
    "Time_Settings": "sample string 6",
    "Remarks": "sample string 7",
    "Period": "sample string 8"
  }
]

application/xml, text/xml

Sample:
<ArrayOfZone xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMS.ERPC.API.DAL.Model.DataModel">
  <Zone>
    <Direction>sample string 4</Direction>
    <Id>1</Id>
    <Period>sample string 8</Period>
    <Protected_Line_Reach_Settings>sample string 5</Protected_Line_Reach_Settings>
    <Remarks>sample string 7</Remarks>
    <SlNo>sample string 2</SlNo>
    <Time_Settings>sample string 6</Time_Settings>
    <zone>sample string 3</zone>
  </Zone>
  <Zone>
    <Direction>sample string 4</Direction>
    <Id>1</Id>
    <Period>sample string 8</Period>
    <Protected_Line_Reach_Settings>sample string 5</Protected_Line_Reach_Settings>
    <Remarks>sample string 7</Remarks>
    <SlNo>sample string 2</SlNo>
    <Time_Settings>sample string 6</Time_Settings>
    <zone>sample string 3</zone>
  </Zone>
</ArrayOfZone>