POST api/Company/UpdateTicketDataTracker?companyId={companyId}&ticketDataId={ticketDataId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyId

integer

Required

ticketDataId

globally unique identifier

Required

Body Parameters

Collection of MobileTicketDataTracker
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

TicketDataId

globally unique identifier

None.

TicketStartDate

date

None.

TicketStopDate

date

None.

TicketStartLat

decimal number

None.

TicketStartLong

decimal number

None.

TicketStopLat

decimal number

None.

TicketStopLong

decimal number

None.

CreatedOn

date

None.

CreatedBy

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": "fb50178f-c70e-4f03-a731-8f298844c83a",
    "TicketDataId": "27bd15bc-d9af-4a22-b806-68f902df94b5",
    "TicketStartDate": "2026-10-24T06:06:20.9064782+00:00",
    "TicketStopDate": "2026-10-24T06:06:20.9064782+00:00",
    "TicketStartLat": 1.0,
    "TicketStartLong": 1.0,
    "TicketStopLat": 1.0,
    "TicketStopLong": 1.0,
    "CreatedOn": "2026-10-24T06:06:20.9064782+00:00",
    "CreatedBy": "sample string 2"
  },
  {
    "Id": "fb50178f-c70e-4f03-a731-8f298844c83a",
    "TicketDataId": "27bd15bc-d9af-4a22-b806-68f902df94b5",
    "TicketStartDate": "2026-10-24T06:06:20.9064782+00:00",
    "TicketStopDate": "2026-10-24T06:06:20.9064782+00:00",
    "TicketStartLat": 1.0,
    "TicketStartLong": 1.0,
    "TicketStopLat": 1.0,
    "TicketStopLong": 1.0,
    "CreatedOn": "2026-10-24T06:06:20.9064782+00:00",
    "CreatedBy": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfMobileTicketDataTracker xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OilTicketing.Core.Api">
  <MobileTicketDataTracker>
    <CreatedBy>sample string 2</CreatedBy>
    <CreatedOn>2026-10-24T06:06:20.9064782+00:00</CreatedOn>
    <Id>fb50178f-c70e-4f03-a731-8f298844c83a</Id>
    <TicketDataId>27bd15bc-d9af-4a22-b806-68f902df94b5</TicketDataId>
    <TicketStartDate>2026-10-24T06:06:20.9064782+00:00</TicketStartDate>
    <TicketStartLat>1</TicketStartLat>
    <TicketStartLong>1</TicketStartLong>
    <TicketStopDate>2026-10-24T06:06:20.9064782+00:00</TicketStopDate>
    <TicketStopLat>1</TicketStopLat>
    <TicketStopLong>1</TicketStopLong>
  </MobileTicketDataTracker>
  <MobileTicketDataTracker>
    <CreatedBy>sample string 2</CreatedBy>
    <CreatedOn>2026-10-24T06:06:20.9064782+00:00</CreatedOn>
    <Id>fb50178f-c70e-4f03-a731-8f298844c83a</Id>
    <TicketDataId>27bd15bc-d9af-4a22-b806-68f902df94b5</TicketDataId>
    <TicketStartDate>2026-10-24T06:06:20.9064782+00:00</TicketStartDate>
    <TicketStartLat>1</TicketStartLat>
    <TicketStartLong>1</TicketStartLong>
    <TicketStopDate>2026-10-24T06:06:20.9064782+00:00</TicketStopDate>
    <TicketStopLat>1</TicketStopLat>
    <TicketStopLong>1</TicketStopLong>
  </MobileTicketDataTracker>
</ArrayOfMobileTicketDataTracker>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.