GET api/DGRgateControl/Get?lineId={lineId}&gateId={gateId}&dir={dir}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
lineId

integer

Required

gateId

integer

Required

dir

integer

Required

Body Parameters

None.

Response Information

Resource Description

DGRGateControlResponse
NameDescriptionTypeAdditional information
Success

boolean

None.

ErrorCode

integer

None.

Message

string

None.

CustomerLastName

string

None.

CustomerFirstName

string

None.

DateFrom

date

None.

DateTo

date

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "ErrorCode": 2,
  "Message": "sample string 3",
  "CustomerLastName": "sample string 4",
  "CustomerFirstName": "sample string 5",
  "DateFrom": "2026-03-17T15:07:12.7111678+02:00",
  "DateTo": "2026-03-17T15:07:12.7111678+02:00"
}

application/xml, text/xml

Sample:
<DGRGateControlResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Q2B.BusinessLayer.Models.DGR">
  <CustomerFirstName>sample string 5</CustomerFirstName>
  <CustomerLastName>sample string 4</CustomerLastName>
  <DateFrom>2026-03-17T15:07:12.7111678+02:00</DateFrom>
  <DateTo>2026-03-17T15:07:12.7111678+02:00</DateTo>
  <ErrorCode>2</ErrorCode>
  <Message>sample string 3</Message>
  <Success>true</Success>
</DGRGateControlResponse>