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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Constraint
NameDescriptionTypeAdditional information
Id

integer

None.

Corridor

string

None.

Constraints

string

None.

Period

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Corridor": "sample string 2",
    "Constraints": "sample string 3",
    "Period": "sample string 4"
  },
  {
    "Id": 1,
    "Corridor": "sample string 2",
    "Constraints": "sample string 3",
    "Period": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfConstraint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMS.ERPC.API.DAL.Model.DataModel">
  <Constraint>
    <Constraints>sample string 3</Constraints>
    <Corridor>sample string 2</Corridor>
    <Id>1</Id>
    <Period>sample string 4</Period>
  </Constraint>
  <Constraint>
    <Constraints>sample string 3</Constraints>
    <Corridor>sample string 2</Corridor>
    <Id>1</Id>
    <Period>sample string 4</Period>
  </Constraint>
</ArrayOfConstraint>