POST api/GPS/SendBulk
Request Information
URI Parameters
None.
Body Parameters
Collection of MogoGpsName | Description | Type | Additional information |
---|---|---|---|
MogoGpsId | integer |
None. |
|
DataLogical | string |
None. |
|
BranchNo | string |
None. |
|
GpsDateTime | date |
None. |
|
CaptureDateTime | string |
None. |
|
DtCaptureDateTime | date |
None. |
|
VehicleId | integer |
None. |
|
Truck | integer |
None. |
|
TruckName | string |
None. |
|
PersonnelId | integer |
None. |
|
Driver | integer |
None. |
|
DriverName | string |
None. |
|
GpsLat | decimal number |
None. |
|
GpsLatNs | string |
None. |
|
GpsLong | decimal number |
None. |
|
GpsLongEw | string |
None. |
|
Speed | integer |
None. |
|
Heading | decimal number |
None. |
|
BatchId | string |
None. |
|
OrderNo | string |
None. |
|
GpsReadingType | GpsReadingTypes |
None. |
|
LoadNo | integer |
None. |
|
LoadName | string |
None. |
|
InformationalMessage | string |
None. |
|
IsGpsSuccessful | boolean |
None. |
|
Location | Location |
None. |
|
NormalizedAnchorPoint | Point |
None. |
|
Record | string |
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:
[ { "MogoGpsId": 1, "DataLogical": "sample string 2", "BranchNo": "sample string 3", "GpsDateTime": "2024-09-19T12:23:42.5461567-04:00", "CaptureDateTime": "sample string 5", "DtCaptureDateTime": "2024-09-19T12:23:42.5461567-04:00", "VehicleId": 7, "Truck": 8, "TruckName": "sample string 9", "PersonnelId": 10, "Driver": 11, "DriverName": "sample string 12", "GpsLat": 13.0, "GpsLatNs": "sample string 14", "GpsLong": 15.0, "GpsLongEw": "sample string 16", "Speed": 17, "Heading": 18.0, "BatchId": "sample string 19", "OrderNo": "sample string 20", "GpsReadingType": 0, "LoadNo": 21, "LoadName": "sample string 22", "InformationalMessage": "sample string 23", "IsGpsSuccessful": true, "Location": "1.1,2.1,3.1", "NormalizedAnchorPoint": "1.1,2.1", "Record": "sample string 25", "IsActive": true, "IsInactive": false, "IsActiveVisibility": 2, "CreatedOn": "2024-09-19T12:23:42.5461567-04:00", "CreatedBy": "sample string 28", "ModifiedOn": "2024-09-19T12:23:42.5461567-04:00", "ModifiedBy": "sample string 29", "RowState": 0, "IsChecked": true, "MessageId": "sample string 31" }, { "MogoGpsId": 1, "DataLogical": "sample string 2", "BranchNo": "sample string 3", "GpsDateTime": "2024-09-19T12:23:42.5461567-04:00", "CaptureDateTime": "sample string 5", "DtCaptureDateTime": "2024-09-19T12:23:42.5461567-04:00", "VehicleId": 7, "Truck": 8, "TruckName": "sample string 9", "PersonnelId": 10, "Driver": 11, "DriverName": "sample string 12", "GpsLat": 13.0, "GpsLatNs": "sample string 14", "GpsLong": 15.0, "GpsLongEw": "sample string 16", "Speed": 17, "Heading": 18.0, "BatchId": "sample string 19", "OrderNo": "sample string 20", "GpsReadingType": 0, "LoadNo": 21, "LoadName": "sample string 22", "InformationalMessage": "sample string 23", "IsGpsSuccessful": true, "Location": "1.1,2.1,3.1", "NormalizedAnchorPoint": "1.1,2.1", "Record": "sample string 25", "IsActive": true, "IsInactive": false, "IsActiveVisibility": 2, "CreatedOn": "2024-09-19T12:23:42.5461567-04:00", "CreatedBy": "sample string 28", "ModifiedOn": "2024-09-19T12:23:42.5461567-04:00", "ModifiedBy": "sample string 29", "RowState": 0, "IsChecked": true, "MessageId": "sample string 31" } ]
application/xml, text/xml
Sample:
<ArrayOfMogoGps xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RCCI.Models"> <MogoGps> <IsChecked xmlns="http://schemas.datacontract.org/2004/07/RCCI.Common">true</IsChecked> <MessageId xmlns="http://schemas.datacontract.org/2004/07/RCCI.Common">sample string 31</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 28</CreatedBy> <CreatedOn>2024-09-19T12:23:42.5461567-04:00</CreatedOn> <IsActive>true</IsActive> <ModifiedBy>sample string 29</ModifiedBy> <ModifiedOn>2024-09-19T12:23:42.5461567-04:00</ModifiedOn> <BatchId>sample string 19</BatchId> <BranchNo>sample string 3</BranchNo> <CaptureDateTime>sample string 5</CaptureDateTime> <DataLogical>sample string 2</DataLogical> <Driver>11</Driver> <DriverName>sample string 12</DriverName> <DtCaptureDateTime>2024-09-19T12:23:42.5461567-04:00</DtCaptureDateTime> <GpsDateTime>2024-09-19T12:23:42.5461567-04:00</GpsDateTime> <GpsLat>13</GpsLat> <GpsLatNs>sample string 14</GpsLatNs> <GpsLong>15</GpsLong> <GpsLongEw>sample string 16</GpsLongEw> <GpsReadingType>Unknown</GpsReadingType> <Heading>18</Heading> <InformationalMessage>sample string 23</InformationalMessage> <IsGpsSuccessful>true</IsGpsSuccessful> <LoadName>sample string 22</LoadName> <LoadNo>21</LoadNo> <Location xmlns:d3p1="http://schemas.datacontract.org/2004/07/Microsoft.Maps.MapControl.WPF"> <d3p1:Altitude>3.1</d3p1:Altitude> <d3p1:AltitudeReference>Ground</d3p1:AltitudeReference> <d3p1:Latitude>1.1</d3p1:Latitude> <d3p1:Longitude>2.1</d3p1:Longitude> </Location> <MogoGpsId>1</MogoGpsId> <NormalizedAnchorPoint xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Windows"> <d3p1:_x>1.1</d3p1:_x> <d3p1:_y>2.1</d3p1:_y> </NormalizedAnchorPoint> <OrderNo>sample string 20</OrderNo> <PersonnelId>10</PersonnelId> <Record>sample string 25</Record> <Speed>17</Speed> <Truck>8</Truck> <TruckName>sample string 9</TruckName> <VehicleId>7</VehicleId> </MogoGps> <MogoGps> <IsChecked xmlns="http://schemas.datacontract.org/2004/07/RCCI.Common">true</IsChecked> <MessageId xmlns="http://schemas.datacontract.org/2004/07/RCCI.Common">sample string 31</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 28</CreatedBy> <CreatedOn>2024-09-19T12:23:42.5461567-04:00</CreatedOn> <IsActive>true</IsActive> <ModifiedBy>sample string 29</ModifiedBy> <ModifiedOn>2024-09-19T12:23:42.5461567-04:00</ModifiedOn> <BatchId>sample string 19</BatchId> <BranchNo>sample string 3</BranchNo> <CaptureDateTime>sample string 5</CaptureDateTime> <DataLogical>sample string 2</DataLogical> <Driver>11</Driver> <DriverName>sample string 12</DriverName> <DtCaptureDateTime>2024-09-19T12:23:42.5461567-04:00</DtCaptureDateTime> <GpsDateTime>2024-09-19T12:23:42.5461567-04:00</GpsDateTime> <GpsLat>13</GpsLat> <GpsLatNs>sample string 14</GpsLatNs> <GpsLong>15</GpsLong> <GpsLongEw>sample string 16</GpsLongEw> <GpsReadingType>Unknown</GpsReadingType> <Heading>18</Heading> <InformationalMessage>sample string 23</InformationalMessage> <IsGpsSuccessful>true</IsGpsSuccessful> <LoadName>sample string 22</LoadName> <LoadNo>21</LoadNo> <Location xmlns:d3p1="http://schemas.datacontract.org/2004/07/Microsoft.Maps.MapControl.WPF"> <d3p1:Altitude>3.1</d3p1:Altitude> <d3p1:AltitudeReference>Ground</d3p1:AltitudeReference> <d3p1:Latitude>1.1</d3p1:Latitude> <d3p1:Longitude>2.1</d3p1:Longitude> </Location> <MogoGpsId>1</MogoGpsId> <NormalizedAnchorPoint xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Windows"> <d3p1:_x>1.1</d3p1:_x> <d3p1:_y>2.1</d3p1:_y> </NormalizedAnchorPoint> <OrderNo>sample string 20</OrderNo> <PersonnelId>10</PersonnelId> <Record>sample string 25</Record> <Speed>17</Speed> <Truck>8</Truck> <TruckName>sample string 9</TruckName> <VehicleId>7</VehicleId> </MogoGps> </ArrayOfMogoGps>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>