POST api/Load/Send
Request Information
URI Parameters
None.
Body Parameters
LoadMasterName | Description | Type | Additional information |
---|---|---|---|
LoadId | integer |
None. |
|
LoadUniqueId | globally unique identifier |
None. |
|
VehicleId | integer |
None. |
|
PersonnelId | integer |
None. |
|
Description | string |
None. |
|
LoadNumber | integer |
None. |
|
VehicleCapacity | integer |
None. |
|
StartingPoint | integer |
None. |
|
EndingPoint | integer |
None. |
|
Duration | integer |
None. |
|
TotalEstimatedQuantity | decimal number |
None. |
|
TotalActualQuantity | decimal number |
None. |
|
TotalEstimatedMileage | integer |
None. |
|
DurationWithStops | integer |
None. |
|
MogoLoadNumber | integer |
None. |
|
IsDirty | boolean |
None. |
|
ChangeVersion | integer |
None. |
|
IsCurrentInMogo | boolean |
None. |
|
User | string |
None. |
|
TargetDate | date |
None. |
|
IsSelected | boolean |
None. |
|
IsSelectedVisibility | Visibility |
None. |
|
IsActive | boolean |
None. |
|
IsInactive | boolean |
None. |
|
IsActiveVisibility | Visibility |
None. |
|
CreatedOn | date |
None. |
|
CreatedBy | string |
None. |
|
ModifiedOn | date |
None. |
|
ModifiedBy | string |
None. |
|
RowState | RowState |
None. |
|
IsChecked | boolean |
None. |
|
MessageId | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "LoadId": 1, "LoadUniqueId": "ab28993d-3a9f-4fff-a73a-9cc434620084", "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:35:41.8205497-04:00", "IsSelected": true, "IsSelectedVisibility": 0, "IsActive": true, "IsInactive": false, "IsActiveVisibility": 2, "CreatedOn": "2024-09-19T12:35:41.8205497-04:00", "CreatedBy": "sample string 19", "ModifiedOn": "2024-09-19T12:35:41.8205497-04:00", "ModifiedBy": "sample string 20", "RowState": 0, "IsChecked": true, "MessageId": "sample string 22" }
application/xml, text/xml
Sample:
<LoadMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RCCI.Models"> <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:35:41.8205497-04:00</CreatedOn> <IsActive>true</IsActive> <ModifiedBy>sample string 20</ModifiedBy> <ModifiedOn>2024-09-19T12:35:41.8205497-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>ab28993d-3a9f-4fff-a73a-9cc434620084</LoadUniqueId> <MogoLoadNumber>11</MogoLoadNumber> <PersonnelId>1</PersonnelId> <StartingPoint>1</StartingPoint> <TargetDate>2024-09-19T12:35:41.8205497-04:00</TargetDate> <TotalActualQuantity>8</TotalActualQuantity> <TotalEstimatedMileage>9</TotalEstimatedMileage> <TotalEstimatedQuantity>7</TotalEstimatedQuantity> <User>sample string 15</User> <VehicleCapacity>5</VehicleCapacity> <VehicleId>1</VehicleId> </LoadMaster>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
MogoLiveResponseName | Description | Type | Additional information |
---|---|---|---|
MogoLiveEvent | MogoLiveEvent |
None. |
|
MogoLiveEvents | Collection of MogoLiveEvent |
None. |
|
ResponseStatus | ResponseStatus |
None. |
Response Formats
application/json, text/json
Sample:
{ "MogoLiveEvent": { "TableName": "sample string 1", "Id": "b5b3e8d3-b671-4d63-9817-0ef8e8bfd41b", "Success": true, "WasTransactionRolledBack": true, "Message": "sample string 5", "Action": 0, "ErrorMessage": "sample string 6" }, "MogoLiveEvents": [ { "TableName": "sample string 1", "Id": "b5b3e8d3-b671-4d63-9817-0ef8e8bfd41b", "Success": true, "WasTransactionRolledBack": true, "Message": "sample string 5", "Action": 0, "ErrorMessage": "sample string 6" }, { "TableName": "sample string 1", "Id": "b5b3e8d3-b671-4d63-9817-0ef8e8bfd41b", "Success": true, "WasTransactionRolledBack": true, "Message": "sample string 5", "Action": 0, "ErrorMessage": "sample string 6" } ], "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:
<MogoLiveResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RCCI.Models.Response.Common"> <ResponseStatus xmlns="http://schemas.datacontract.org/2004/07/RCCI.Models"> <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> <MogoLiveEvent> <Action>Insert</Action> <ErrorMessage>sample string 6</ErrorMessage> <Id>b5b3e8d3-b671-4d63-9817-0ef8e8bfd41b</Id> <Message>sample string 5</Message> <Success>true</Success> <TableName>sample string 1</TableName> <WasTransactionRolledBack>true</WasTransactionRolledBack> </MogoLiveEvent> <MogoLiveEvents> <MogoLiveEvent> <Action>Insert</Action> <ErrorMessage>sample string 6</ErrorMessage> <Id>b5b3e8d3-b671-4d63-9817-0ef8e8bfd41b</Id> <Message>sample string 5</Message> <Success>true</Success> <TableName>sample string 1</TableName> <WasTransactionRolledBack>true</WasTransactionRolledBack> </MogoLiveEvent> <MogoLiveEvent> <Action>Insert</Action> <ErrorMessage>sample string 6</ErrorMessage> <Id>b5b3e8d3-b671-4d63-9817-0ef8e8bfd41b</Id> <Message>sample string 5</Message> <Success>true</Success> <TableName>sample string 1</TableName> <WasTransactionRolledBack>true</WasTransactionRolledBack> </MogoLiveEvent> </MogoLiveEvents> </MogoLiveResponse>