TrailerService
TrailerService methods are used to create, retrieve, and delete trailer data.
Endpoint Address: [SystemsLinkRootUrl]/TrailerService.svc
Methods
Method Name | Parameters | C# return type | Description | |
---|---|---|---|---|
Name |
C# data type |
|||
Delete |
trailerId |
string |
void |
Delete a trailer object specified by trailerId from the database. |
Get |
trailerId |
string |
Trailer |
Return a trailer object specified by trailerId. |
GetTrailerHistory |
trailerId |
string |
List<TrailerCommunicationHistory> |
Return a list of TrailerCommunicationHistory objects specified by trailerId. |
NewItem |
Trailer |
Create a trailer object. |
||
Save |
trailer |
Trailer |
Trailer |
Save a trailer object to the database. |
Search |
filter |
FilterObjectOfTrailer |
PagedResultOfTrailer |
Search for trailers. |
Properties and column mapping
Property | Database column | Comments | ||
---|---|---|---|---|
Name |
C# data type |
Name |
Data type |
|
Branch |
string |
trl_branch |
varchar(12) |
|
ControlData |
string |
Not mapped to database. |
||
CreatedBy |
string |
Not mapped to database. |
||
CreatedDateTime |
DateTime? |
trl_createdate |
varchar(12) |
|
Division |
string |
trl_division |
varchar(6) |
|
Fleet |
string |
trl_fleet |
varchar(6) |
|
ILTSCAC |
string |
trl_ilt_scac |
char(4) |
|
LicenseNumber |
string |
trl_licnum |
varchar(12) |
|
LicenseState |
string |
trl_licstate |
varchar(6) |
|
Make |
string |
trl_make |
varchar(8) |
|
Misc1 |
string |
trl_misc1 |
varchar(254) |
|
Misc2 |
string |
trl_misc2 |
varchar(254) |
|
Misc3 |
string |
trl_misc3 |
varchar(254) |
|
Misc4 |
string |
trl_misc4 |
varchar(254) |
|
Model |
string |
trl_model |
varchar(12) |
|
Owner |
string |
trl_owner |
varchar(12) |
|
RuleData |
List <ConcurrencyFieldRule> |
Not mapped to database. |
||
Status |
string |
trl_status |
varchar(6) |
|
SubCompany |
string |
trl_company |
varchar(12) |
|
Terminal |
string |
trl_terminal |
varchar(6) |
|
TrailerId |
string |
trl_id |
varchar(13) |
|
TrailerNumber |
string |
trl_number |
varchar(8) |
|
TrailerType1 |
string |
trl_type1 |
varchar(6) |
|
TrailerType2 |
string |
trl_type2 |
varchar(6) |
|
TrailerType3 |
string |
trl_type3 |
varchar(6) |
|
TrailerType4 |
string |
trl_type4 |
varchar(6) |
|
UpdateDateTime |
DateTime? |
trl_updateon |
datetime |
|
UpdatedBy |
string |
trl_updatedby |
varchar(256) |
|
Year |
int? |
trl_year |
int |