Trailer object

First available in 2014.2.

Trailer object methods are used to create and retrieve trailer data.

External methods

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

Name

Data type (in C#)

NewTrailer

tokenValue

string

0 = successful

1000 = errors occurred

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

NewTrailers

tokenValue

string

0 = successful

1000 = errors occurred

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

total

int

RetrieveTrailer

tokenValue

string

0 = successful

100 = no records found

1000 = errors occurred

Authenticates the token value and returns all Trailer objects that meet the specified criteria

criteria

Trailer.Criteria

SaveTrailer

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 and saves the provided Trailer objects and updates the database if requested, then returns the saved objects if the save was successful

trailers

List<trailers>

updateDB

bool