TractorService

The TractorService methods are used to create, retrieve, and delete tractor data.

Endpoint Address: [SystemsLinkRootUrl]/TractorService.svc

Methods

Method Name Parameters C# return type Description

Name

C# data type

Delete

tractorId

string

void

Deletes the Tractor object with the specified tractorId from the database.

Get

tractorId

string

Tractor

Returns the Tractor object with the specified tractorId.

NewItem

Tractor

Creates a new Tractor object.

Save

tractor

Tractor

Tractor

Saves the Tractor object to the database.

Search

filter

FilterObjectOfTractor

PagedResultOfTractor

Search for Tractor object.

Properties and column mapping

Property Database column Comments

Name

C# data type

Name

Data type

AcquiredDate

DateTime?

trc_dateacquired

datetime

AlternateTractorId

string

trc_altid

varchar(25)

Branch

string

trc_branch

varchar(12)

ControlData

string

Not mapped to database.

CreatedBy

string

Not mapped to database.

CreatedDateTime

DateTime?

trc_createdate

datetime

Division

string

trc_division

varchar(6)

Driver1

string

trc_driver

varchar(8)

Driver2

string

trc_driver2

varchar(8)

Fleet

string

trc_fleet

varchar(6)

FuelCapacity

int?

Not mapped to database.

FuelLevel

int?

Not mapped to database.

LicenseNumber

string

trc_licnum

varchar(12)

LicenseState

string

trc_licstate

varchar(6)

Make

string

trc_make

varchar(8)

Misc1

string

trc_misc1

varchar(254)

Misc2

string

trc_misc2

varchar(254)

Misc3

string

trc_misc3

varchar(254)

Misc4

string

trc_misc4

varchar(254)

Model

string

trc_model

varchar(8)

Odometer

int?

Not mapped to database.

Owner

string

trc_owner

varchar(12)

RetireDateTime

DateTime?

trc_retiredate

datetime

RuleData

List <ConcurrencyFieldRule>

Not mapped to database.

Serial

string

StartDate

DateTime?

trc_startdate

datetime

Status

string

Not mapped to database.

SubCompany

string

Not mapped to database.

TeamLeader

string

Not mapped to database.

Terminal

string

trc_terminal

varchar(6)

TractorId

string

trc_number

Not mapped to database.

TractorType1

string

trc_type1

varchar(6)

TractorType2

string

trc_type2

varchar(6)

TractorType3

string

trc_type3

varchar(6)

TractorType4

string

trc_type4

varchar(6)

Trailer1

string

trc_trailer1

varchar(13)

Trailer2

string

trc_trailer2

varchar(13)

UpdateDateTime

DateTime?

trc_updatedon

datetime

UpdatedBy

string

trc_updatedby

varchar(256)

Year

int

trc_year

int