POST api/LPRO/InsertManualTicket

Request Information

URI Parameters

None.

Body Parameters

ManualTicketReportSequence
NameDescriptionTypeAdditional information
StationID

integer

None.

ReportDate

string

None.

ConsiderLL

string

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

ManualTicketFormFields

Collection of ManualTicketFormFieldResponse

None.

Request Formats

application/json, text/json

Sample:
{
  "StationID": 1,
  "ReportDate": "sample string 2",
  "ConsiderLL": "sample string 3",
  "Latitude": 4.0,
  "Longitude": 5.0,
  "ManualTicketFormFields": [
    {
      "FieldId": 1,
      "ItemId": "sample string 2",
      "ItemName": "sample string 3",
      "ItemLabel": "sample string 4",
      "ItemValue": "sample string 5",
      "FieldType": "sample string 6",
      "Required": true,
      "OrderIndex": 8,
      "UnitType": "sample string 9",
      "Unit": "sample string 10"
    },
    {
      "FieldId": 1,
      "ItemId": "sample string 2",
      "ItemName": "sample string 3",
      "ItemLabel": "sample string 4",
      "ItemValue": "sample string 5",
      "FieldType": "sample string 6",
      "Required": true,
      "OrderIndex": 8,
      "UnitType": "sample string 9",
      "Unit": "sample string 10"
    }
  ]
}

application/xml, text/xml

Sample:
<ManualTicketReportSequence xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BirdDog.Models.Result">
  <ConsiderLL>sample string 3</ConsiderLL>
  <Latitude>4</Latitude>
  <Longitude>5</Longitude>
  <ManualTicketFormFields>
    <ManualTicketFormFieldResponse>
      <FieldId>1</FieldId>
      <FieldType>sample string 6</FieldType>
      <ItemId>sample string 2</ItemId>
      <ItemLabel>sample string 4</ItemLabel>
      <ItemName>sample string 3</ItemName>
      <ItemValue>sample string 5</ItemValue>
      <OrderIndex>8</OrderIndex>
      <Required>true</Required>
      <Unit>sample string 10</Unit>
      <UnitType>sample string 9</UnitType>
    </ManualTicketFormFieldResponse>
    <ManualTicketFormFieldResponse>
      <FieldId>1</FieldId>
      <FieldType>sample string 6</FieldType>
      <ItemId>sample string 2</ItemId>
      <ItemLabel>sample string 4</ItemLabel>
      <ItemName>sample string 3</ItemName>
      <ItemValue>sample string 5</ItemValue>
      <OrderIndex>8</OrderIndex>
      <Required>true</Required>
      <Unit>sample string 10</Unit>
      <UnitType>sample string 9</UnitType>
    </ManualTicketFormFieldResponse>
  </ManualTicketFormFields>
  <ReportDate>sample string 2</ReportDate>
  <StationID>1</StationID>
</ManualTicketReportSequence>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />