HOS Add Load
Available in PIT v2.3
This ILE API wraps the Add HOS Load Web Service. See its documentation for a further explanation of the input and output parameters, as well as the possible error conditions.
API Name: HSLODCR
Parameter Interface:
Parameter | Direction | Type | Length | Precision | Description |
---|---|---|---|---|---|
Create Load | Input | DS | n/a | n/a | See the Create Load structure below |
Error Category | Output | Decimal | 3 | 0 | Error Category, if any |
Error Code | Output | Decimal | 5 | 0 | Error Code, if any |
Error Description | Output | Character | 150 varying | n/a | Error description, if any |
An error category of 0 means that the creation of the carrier was successful.
Create Load Structure (HSLODCRDS):
This DS is used by the caller of the HOS Create Load web service wrapper to optionally specify one or more fields upon creation.
The caller MUST initialize (clear) the DS prior to use. This will zero the lengths of each field. Fields with zero lengths are considered null and will not be included in the update request sent to the web service.
The caller MUST assign values to each of the required fields. Note that it is up to the caller to ensure the validity of the field values and field combinations. Fields that are optional may be left in their initialized states i.e. zero lengths.
Field | Type | Length | Precision | Description |
---|---|---|---|---|
LoadID | Character Varying | 100 | n/a | |
LoadedTime | Character Varying | 100 | n/a | date format of '2009-12-25T12:15:00.0000000-00:00' in GMT |
UnloadedTime | Character Varying | 100 | n/a | date format of '2009-12-25T12:15:00.0000000-00:00' in GMT |
Trailers | Character Varying | 50 x 20 | n/a | |
Tractor | Character Varying | 100 | n/a | |
LoadType | Character Varying | 100 | n/a | |
Description | Character Varying | 256 | n/a | |
DriverID | Character Varying | 100 | n/a |