Tractor object

First available in 2014.2.

The Tractor object methods are used to create and retrieve tractor data.

External methods

The Return Value for all methods is Tractor.ReturnObject.
Method Name Parameters Tractor.ReturnObject.ReturnCode Description

Name

Data type (in C#)

NewTractor

tokenValue

string

0 = successful

1000 = errors occurred

Authenticates the token value and creates a new Tractor object in memory

NewTractors

tokenValue

string

0 = successful

1000 = errors occurred

Authenticates the token value and creates the specified number of new Tractor objects in memory

total

int

RetrieveTractor

tokenValue

string

0 = successful

100 = no records found

1000 = errors occurred

Authenticates the token value and returns all Tractor objects that meet the provided criteria

criteria

Tractor.Criteria

SaveTractor

tokenValue

String

0 = successful

100 = validation errors occurred and updates prevented

500 = update proceeded with warnings

1000 = error occurred and updates prevented

Authenticates the token value, saves the provided Tractor objects, and updates the database if requested, then returns the saved objects if the save was successful

tractors

List<tractors>

updateDB

bool