POST api/lpa/allocate/bay

Request Information

URI Parameters

None.

Body Parameters

LPABayAllocationRequestMDL
NameDescriptionTypeAdditional information
vehicleNumber

string

None.

cameraId

integer

None.

deviceNo

string

None.

Request Formats

application/json, text/json

Sample:
{
  "vehicleNumber": "sample string 1",
  "cameraId": 2,
  "deviceNo": "sample string 3"
}

application/xml, text/xml

Sample:
<LPABayAllocationRequestMDL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FTSMDLClassLibrary.LPA">
  <cameraId>2</cameraId>
  <deviceNo>sample string 3</deviceNo>
  <vehicleNumber>sample string 1</vehicleNumber>
</LPABayAllocationRequestMDL>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'LPABayAllocationRequestMDL'.

Response Information

Resource Description

LPAMessages
NameDescriptionTypeAdditional information
Message_Id

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Message_Id": 1,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<LPAMessages xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FTSMDLClassLibrary.WebAPIMDL.LPA">
  <Message>sample string 2</Message>
  <Message_Id>1</Message_Id>
</LPAMessages>