Freight object

First available in 2014.2.

For External SystemsLink for TMWSuite use only.

External methods

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

Name

Data type (in C#)

NewFreight

tokenValue

string

0 = successful

1000 = errors occurred

Authenticates the token value and creates a new Freight object with the specified orderheader number and stop number in memory

orderHdrNumber

int

stopNumber

int

NewFreights

tokenValue

string

0 = successful

1000 = errors occurred

Authenticates the token value and creates the specified number of new Freight objects with the specified orderheader number and stop number in memory

orderHdrNumber

int

stopNumber

int

total

int

GetFreight

tokenValue

string

0 = successful

100 = no records found

1000 = errors occurred

Authenticates the token value and returns the Freight object with the specified orderheader number, stop number, and freight number

orderHdrNumber

int

stopNumber

int

freightNumber

int

UpdateFreight

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

orderHdrNumber

int

stopNumber

fgt

Freight

operation

ListOperation

freightNumber

int

DeleteFreight

tokenValue

string

0 = successful

100 = no records found

1000 = errors occurred

Authenticates the token value and deletes the Freight object with the provided orderheader number, stop number, and freight number

orderHdrNumber

int

stopNumber

int

freightNumber

int