GET api/Load/GetList?personnelId={personnelId}&vehicleId={vehicleId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
personnelId | integer |
Required |
|
vehicleId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
BaseResponseOfLoadMasterName | Description | Type | Additional information |
---|---|---|---|
Item | LoadMaster |
None. |
|
Items | Collection of LoadMaster |
None. |
|
NumberOfRowsProcessed | integer |
None. |
|
ResponseStatus | ResponseStatus |
None. |
Response Formats
application/json, text/json
Sample:
{ "Item": { "LoadId": 1, "LoadUniqueId": "44993a3e-8140-48a2-978a-f11d16755c94", "VehicleId": 1, "PersonnelId": 1, "Description": "sample string 3", "LoadNumber": 4, "VehicleCapacity": 5, "StartingPoint": 1, "EndingPoint": 1, "Duration": 6, "TotalEstimatedQuantity": 7.0, "TotalActualQuantity": 8.0, "TotalEstimatedMileage": 9, "DurationWithStops": 10, "MogoLoadNumber": 11, "IsDirty": true, "ChangeVersion": 13, "IsCurrentInMogo": true, "User": "sample string 15", "TargetDate": "2024-09-19T12:27:08.820549-04:00", "IsSelected": true, "IsSelectedVisibility": 0, "IsActive": true, "IsInactive": false, "IsActiveVisibility": 2, "CreatedOn": "2024-09-19T12:27:08.820549-04:00", "CreatedBy": "sample string 19", "ModifiedOn": "2024-09-19T12:27:08.820549-04:00", "ModifiedBy": "sample string 20", "RowState": 0, "IsChecked": true, "MessageId": "sample string 22" }, "Items": [ { "LoadId": 1, "LoadUniqueId": "44993a3e-8140-48a2-978a-f11d16755c94", "VehicleId": 1, "PersonnelId": 1, "Description": "sample string 3", "LoadNumber": 4, "VehicleCapacity": 5, "StartingPoint": 1, "EndingPoint": 1, "Duration": 6, "TotalEstimatedQuantity": 7.0, "TotalActualQuantity": 8.0, "TotalEstimatedMileage": 9, "DurationWithStops": 10, "MogoLoadNumber": 11, "IsDirty": true, "ChangeVersion": 13, "IsCurrentInMogo": true, "User": "sample string 15", "TargetDate": "2024-09-19T12:27:08.820549-04:00", "IsSelected": true, "IsSelectedVisibility": 0, "IsActive": true, "IsInactive": false, "IsActiveVisibility": 2, "CreatedOn": "2024-09-19T12:27:08.820549-04:00", "CreatedBy": "sample string 19", "ModifiedOn": "2024-09-19T12:27:08.820549-04:00", "ModifiedBy": "sample string 20", "RowState": 0, "IsChecked": true, "MessageId": "sample string 22" }, { "LoadId": 1, "LoadUniqueId": "44993a3e-8140-48a2-978a-f11d16755c94", "VehicleId": 1, "PersonnelId": 1, "Description": "sample string 3", "LoadNumber": 4, "VehicleCapacity": 5, "StartingPoint": 1, "EndingPoint": 1, "Duration": 6, "TotalEstimatedQuantity": 7.0, "TotalActualQuantity": 8.0, "TotalEstimatedMileage": 9, "DurationWithStops": 10, "MogoLoadNumber": 11, "IsDirty": true, "ChangeVersion": 13, "IsCurrentInMogo": true, "User": "sample string 15", "TargetDate": "2024-09-19T12:27:08.820549-04:00", "IsSelected": true, "IsSelectedVisibility": 0, "IsActive": true, "IsInactive": false, "IsActiveVisibility": 2, "CreatedOn": "2024-09-19T12:27:08.820549-04:00", "CreatedBy": "sample string 19", "ModifiedOn": "2024-09-19T12:27:08.820549-04:00", "ModifiedBy": "sample string 20", "RowState": 0, "IsChecked": true, "MessageId": "sample string 22" } ], "NumberOfRowsProcessed": 1, "ResponseStatus": { "ErrorCode": "sample string 1", "Message": "sample string 2", "StackTrace": "sample string 3", "Errors": [ "sample string 1", "sample string 2" ], "Title": "sample string 4" } }
application/xml, text/xml
Sample:
<BaseResponseOfLoadMasterw9FlUMmQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RCCI.Models"> <ResponseStatus> <ErrorCode>sample string 1</ErrorCode> <Errors xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </Errors> <Message>sample string 2</Message> <StackTrace>sample string 3</StackTrace> <Title>sample string 4</Title> </ResponseStatus> <Item> <IsChecked xmlns="http://schemas.datacontract.org/2004/07/RCCI.Common">true</IsChecked> <MessageId xmlns="http://schemas.datacontract.org/2004/07/RCCI.Common">sample string 22</MessageId> <ProposedChanges xmlns="http://schemas.datacontract.org/2004/07/RCCI.Common" /> <RowState xmlns="http://schemas.datacontract.org/2004/07/RCCI.Common">Unchanged</RowState> <CreatedBy>sample string 19</CreatedBy> <CreatedOn>2024-09-19T12:27:08.820549-04:00</CreatedOn> <IsActive>true</IsActive> <ModifiedBy>sample string 20</ModifiedBy> <ModifiedOn>2024-09-19T12:27:08.820549-04:00</ModifiedOn> <ChangeVersion>13</ChangeVersion> <Description>sample string 3</Description> <Duration>6</Duration> <DurationWithStops>10</DurationWithStops> <EndingPoint>1</EndingPoint> <IsCurrentInMogo>true</IsCurrentInMogo> <IsDirty>true</IsDirty> <IsSelected>true</IsSelected> <LoadId>1</LoadId> <LoadNumber>4</LoadNumber> <LoadUniqueId>44993a3e-8140-48a2-978a-f11d16755c94</LoadUniqueId> <MogoLoadNumber>11</MogoLoadNumber> <PersonnelId>1</PersonnelId> <StartingPoint>1</StartingPoint> <TargetDate>2024-09-19T12:27:08.820549-04:00</TargetDate> <TotalActualQuantity>8</TotalActualQuantity> <TotalEstimatedMileage>9</TotalEstimatedMileage> <TotalEstimatedQuantity>7</TotalEstimatedQuantity> <User>sample string 15</User> <VehicleCapacity>5</VehicleCapacity> <VehicleId>1</VehicleId> </Item> <Items> <LoadMaster> <IsChecked xmlns="http://schemas.datacontract.org/2004/07/RCCI.Common">true</IsChecked> <MessageId xmlns="http://schemas.datacontract.org/2004/07/RCCI.Common">sample string 22</MessageId> <ProposedChanges xmlns="http://schemas.datacontract.org/2004/07/RCCI.Common" /> <RowState xmlns="http://schemas.datacontract.org/2004/07/RCCI.Common">Unchanged</RowState> <CreatedBy>sample string 19</CreatedBy> <CreatedOn>2024-09-19T12:27:08.820549-04:00</CreatedOn> <IsActive>true</IsActive> <ModifiedBy>sample string 20</ModifiedBy> <ModifiedOn>2024-09-19T12:27:08.820549-04:00</ModifiedOn> <ChangeVersion>13</ChangeVersion> <Description>sample string 3</Description> <Duration>6</Duration> <DurationWithStops>10</DurationWithStops> <EndingPoint>1</EndingPoint> <IsCurrentInMogo>true</IsCurrentInMogo> <IsDirty>true</IsDirty> <IsSelected>true</IsSelected> <LoadId>1</LoadId> <LoadNumber>4</LoadNumber> <LoadUniqueId>44993a3e-8140-48a2-978a-f11d16755c94</LoadUniqueId> <MogoLoadNumber>11</MogoLoadNumber> <PersonnelId>1</PersonnelId> <StartingPoint>1</StartingPoint> <TargetDate>2024-09-19T12:27:08.820549-04:00</TargetDate> <TotalActualQuantity>8</TotalActualQuantity> <TotalEstimatedMileage>9</TotalEstimatedMileage> <TotalEstimatedQuantity>7</TotalEstimatedQuantity> <User>sample string 15</User> <VehicleCapacity>5</VehicleCapacity> <VehicleId>1</VehicleId> </LoadMaster> <LoadMaster> <IsChecked xmlns="http://schemas.datacontract.org/2004/07/RCCI.Common">true</IsChecked> <MessageId xmlns="http://schemas.datacontract.org/2004/07/RCCI.Common">sample string 22</MessageId> <ProposedChanges xmlns="http://schemas.datacontract.org/2004/07/RCCI.Common" /> <RowState xmlns="http://schemas.datacontract.org/2004/07/RCCI.Common">Unchanged</RowState> <CreatedBy>sample string 19</CreatedBy> <CreatedOn>2024-09-19T12:27:08.820549-04:00</CreatedOn> <IsActive>true</IsActive> <ModifiedBy>sample string 20</ModifiedBy> <ModifiedOn>2024-09-19T12:27:08.820549-04:00</ModifiedOn> <ChangeVersion>13</ChangeVersion> <Description>sample string 3</Description> <Duration>6</Duration> <DurationWithStops>10</DurationWithStops> <EndingPoint>1</EndingPoint> <IsCurrentInMogo>true</IsCurrentInMogo> <IsDirty>true</IsDirty> <IsSelected>true</IsSelected> <LoadId>1</LoadId> <LoadNumber>4</LoadNumber> <LoadUniqueId>44993a3e-8140-48a2-978a-f11d16755c94</LoadUniqueId> <MogoLoadNumber>11</MogoLoadNumber> <PersonnelId>1</PersonnelId> <StartingPoint>1</StartingPoint> <TargetDate>2024-09-19T12:27:08.820549-04:00</TargetDate> <TotalActualQuantity>8</TotalActualQuantity> <TotalEstimatedMileage>9</TotalEstimatedMileage> <TotalEstimatedQuantity>7</TotalEstimatedQuantity> <User>sample string 15</User> <VehicleCapacity>5</VehicleCapacity> <VehicleId>1</VehicleId> </LoadMaster> </Items> <NumberOfRowsProcessed>1</NumberOfRowsProcessed> </BaseResponseOfLoadMasterw9FlUMmQ>