POST api/GPS/SendBulk

Request Information

URI Parameters

None.

Body Parameters

Collection of MogoGps
NameDescriptionTypeAdditional information
MogoGpsId

integer

None.

DataLogical

string

None.

BranchNo

string

None.

GpsDateTime

date

None.

CaptureDateTime

string

None.

DtCaptureDateTime

date

None.

CaptureDateTimeUTC

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.

CreatedOnUTC

date

None.

CreatedBy

string

None.

ModifiedOn

date

None.

ModifiedOnUTC

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": "2025-04-03T16:50:11.6694239-04:00",
    "CaptureDateTime": "sample string 5",
    "DtCaptureDateTime": "2025-04-03T16:50:11.6694239-04:00",
    "CaptureDateTimeUTC": "2025-04-03T16:50:11.6694239-04:00",
    "VehicleId": 8,
    "Truck": 9,
    "TruckName": "sample string 10",
    "PersonnelId": 11,
    "Driver": 12,
    "DriverName": "sample string 13",
    "GpsLat": 14.0,
    "GpsLatNs": "sample string 15",
    "GpsLong": 16.0,
    "GpsLongEw": "sample string 17",
    "Speed": 18,
    "Heading": 19.0,
    "BatchId": "sample string 20",
    "OrderNo": "sample string 21",
    "GpsReadingType": 0,
    "LoadNo": 22,
    "LoadName": "sample string 23",
    "InformationalMessage": "sample string 24",
    "IsGpsSuccessful": true,
    "Location": "1.1,2.1,3.1",
    "NormalizedAnchorPoint": "1.1,2.1",
    "Record": "sample string 26",
    "IsActive": true,
    "IsInactive": false,
    "IsActiveVisibility": 2,
    "CreatedOn": "2025-04-03T16:50:11.6694239-04:00",
    "CreatedOnUTC": "2025-04-03T16:50:11.6694239-04:00",
    "CreatedBy": "sample string 30",
    "ModifiedOn": "2025-04-03T16:50:11.6694239-04:00",
    "ModifiedOnUTC": "2025-04-03T16:50:11.6694239-04:00",
    "ModifiedBy": "sample string 31",
    "RowState": 0,
    "IsChecked": true,
    "MessageId": "sample string 33"
  },
  {
    "MogoGpsId": 1,
    "DataLogical": "sample string 2",
    "BranchNo": "sample string 3",
    "GpsDateTime": "2025-04-03T16:50:11.6694239-04:00",
    "CaptureDateTime": "sample string 5",
    "DtCaptureDateTime": "2025-04-03T16:50:11.6694239-04:00",
    "CaptureDateTimeUTC": "2025-04-03T16:50:11.6694239-04:00",
    "VehicleId": 8,
    "Truck": 9,
    "TruckName": "sample string 10",
    "PersonnelId": 11,
    "Driver": 12,
    "DriverName": "sample string 13",
    "GpsLat": 14.0,
    "GpsLatNs": "sample string 15",
    "GpsLong": 16.0,
    "GpsLongEw": "sample string 17",
    "Speed": 18,
    "Heading": 19.0,
    "BatchId": "sample string 20",
    "OrderNo": "sample string 21",
    "GpsReadingType": 0,
    "LoadNo": 22,
    "LoadName": "sample string 23",
    "InformationalMessage": "sample string 24",
    "IsGpsSuccessful": true,
    "Location": "1.1,2.1,3.1",
    "NormalizedAnchorPoint": "1.1,2.1",
    "Record": "sample string 26",
    "IsActive": true,
    "IsInactive": false,
    "IsActiveVisibility": 2,
    "CreatedOn": "2025-04-03T16:50:11.6694239-04:00",
    "CreatedOnUTC": "2025-04-03T16:50:11.6694239-04:00",
    "CreatedBy": "sample string 30",
    "ModifiedOn": "2025-04-03T16:50:11.6694239-04:00",
    "ModifiedOnUTC": "2025-04-03T16:50:11.6694239-04:00",
    "ModifiedBy": "sample string 31",
    "RowState": 0,
    "IsChecked": true,
    "MessageId": "sample string 33"
  }
]

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 33</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 30</CreatedBy>
    <CreatedOn>2025-04-03T16:50:11.6694239-04:00</CreatedOn>
    <CreatedOnUTC>2025-04-03T16:50:11.6694239-04:00</CreatedOnUTC>
    <IsActive>true</IsActive>
    <ModifiedBy>sample string 31</ModifiedBy>
    <ModifiedOn>2025-04-03T16:50:11.6694239-04:00</ModifiedOn>
    <ModifiedOnUTC>2025-04-03T16:50:11.6694239-04:00</ModifiedOnUTC>
    <BatchId>sample string 20</BatchId>
    <BranchNo>sample string 3</BranchNo>
    <CaptureDateTime>sample string 5</CaptureDateTime>
    <CaptureDateTimeUTC>2025-04-03T16:50:11.6694239-04:00</CaptureDateTimeUTC>
    <DataLogical>sample string 2</DataLogical>
    <Driver>12</Driver>
    <DriverName>sample string 13</DriverName>
    <DtCaptureDateTime>2025-04-03T16:50:11.6694239-04:00</DtCaptureDateTime>
    <GpsDateTime>2025-04-03T16:50:11.6694239-04:00</GpsDateTime>
    <GpsLat>14</GpsLat>
    <GpsLatNs>sample string 15</GpsLatNs>
    <GpsLong>16</GpsLong>
    <GpsLongEw>sample string 17</GpsLongEw>
    <GpsReadingType>Unknown</GpsReadingType>
    <Heading>19</Heading>
    <InformationalMessage>sample string 24</InformationalMessage>
    <IsGpsSuccessful>true</IsGpsSuccessful>
    <LoadName>sample string 23</LoadName>
    <LoadNo>22</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 21</OrderNo>
    <PersonnelId>11</PersonnelId>
    <Record>sample string 26</Record>
    <Speed>18</Speed>
    <Truck>9</Truck>
    <TruckName>sample string 10</TruckName>
    <VehicleId>8</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 33</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 30</CreatedBy>
    <CreatedOn>2025-04-03T16:50:11.6694239-04:00</CreatedOn>
    <CreatedOnUTC>2025-04-03T16:50:11.6694239-04:00</CreatedOnUTC>
    <IsActive>true</IsActive>
    <ModifiedBy>sample string 31</ModifiedBy>
    <ModifiedOn>2025-04-03T16:50:11.6694239-04:00</ModifiedOn>
    <ModifiedOnUTC>2025-04-03T16:50:11.6694239-04:00</ModifiedOnUTC>
    <BatchId>sample string 20</BatchId>
    <BranchNo>sample string 3</BranchNo>
    <CaptureDateTime>sample string 5</CaptureDateTime>
    <CaptureDateTimeUTC>2025-04-03T16:50:11.6694239-04:00</CaptureDateTimeUTC>
    <DataLogical>sample string 2</DataLogical>
    <Driver>12</Driver>
    <DriverName>sample string 13</DriverName>
    <DtCaptureDateTime>2025-04-03T16:50:11.6694239-04:00</DtCaptureDateTime>
    <GpsDateTime>2025-04-03T16:50:11.6694239-04:00</GpsDateTime>
    <GpsLat>14</GpsLat>
    <GpsLatNs>sample string 15</GpsLatNs>
    <GpsLong>16</GpsLong>
    <GpsLongEw>sample string 17</GpsLongEw>
    <GpsReadingType>Unknown</GpsReadingType>
    <Heading>19</Heading>
    <InformationalMessage>sample string 24</InformationalMessage>
    <IsGpsSuccessful>true</IsGpsSuccessful>
    <LoadName>sample string 23</LoadName>
    <LoadNo>22</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 21</OrderNo>
    <PersonnelId>11</PersonnelId>
    <Record>sample string 26</Record>
    <Speed>18</Speed>
    <Truck>9</Truck>
    <TruckName>sample string 10</TruckName>
    <VehicleId>8</VehicleId>
  </MogoGps>
</ArrayOfMogoGps>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'IEnumerable`1'.

Response Information

Resource Description

GeneralResponse
NameDescriptionTypeAdditional information
Result

boolean

None.

StringValue

string

None.

DecimalValue

decimal number

None.

ListOfStrings

Collection of string

None.

DateTimeValue

date

None.

IntegerValue

integer

None.

InterfaceSettings

InterfaceSettings

None.

DictionaryValues

Dictionary of string [key] and boolean [value]

None.

ResponseStatus

ResponseStatus

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": true,
  "StringValue": "sample string 2",
  "DecimalValue": 3.0,
  "ListOfStrings": [
    "sample string 1",
    "sample string 2"
  ],
  "DateTimeValue": "2025-04-03T16:50:11.6694239-04:00",
  "IntegerValue": 5,
  "InterfaceSettings": {
    "QBOnlineIsActive": true,
    "QBDesktopSettings": {
      "IsActive": true,
      "QBFilePath": "sample string 2"
    },
    "AgTraxSettings": {
      "IsActive": true,
      "IsContractsActive": true,
      "UserId": "sample string 3",
      "UserPassword": "sample string 4",
      "ProviderId": "sample string 5",
      "ProviderPassword": "sample string 6",
      "AgTraxUrlAddress": "sample string 7",
      "IsLocationInterfaceFieldActive": true
    },
    "Sage50CloudSettings": {
      "IsActive": true,
      "BaseUrl": "sample string 2",
      "RedirectUrl": "sample string 3",
      "AccessToken": "sample string 4",
      "AccessTokenExpiresOn": "2025-04-03T16:50:11.6694239-04:00",
      "RefreshToken": "sample string 5",
      "RefreshTokenExpiresOn": "2025-04-03T16:50:11.6694239-04:00",
      "AppEnvironment": "sample string 6",
      "RequestedById": "sample string 7"
    },
    "Sage50DesktopSettings": {
      "IsActive": true
    },
    "HighRadiusSettings": {
      "IsActive": true,
      "HighRadiusFolderPath": "sample string 2"
    },
    "SalesforceSettings": {
      "IsActive": true,
      "CreatedOn": "2025-04-03T16:50:11.6694239-04:00",
      "CreatedBy": "sample string 3",
      "ModifiedOn": "2025-04-03T16:50:11.6694239-04:00",
      "ModifiedBy": "sample string 4",
      "RowState": 0,
      "IsChecked": true,
      "MessageId": "sample string 6"
    },
    "DefaultSettings": {
      "CustomerStartCode": "sample string 1",
      "CorpId": "sample string 2",
      "Branch": "sample string 3",
      "TotalHeatCapacity": 1.0
    },
    "PowerBISettings": {
      "IsActive": true,
      "CustHubUrl": "sample string 2"
    },
    "ExportGLEntriesSettings": {
      "IsActive": true,
      "ExportByDivision": true,
      "ExportGLFolderPath": "sample string 3"
    },
    "SageIntacctSettings": {
      "IsActive": true,
      "UrlAddress": "sample string 2",
      "CompanyId": "sample string 3",
      "SenderId": "sample string 4",
      "SenderPassword": "sample string 5",
      "UserId": "sample string 6",
      "UserPassword": "sample string 7",
      "EntityId": "sample string 8",
      "LocationId": "sample string 9",
      "SageIntacctPartner": 0,
      "LocationIdVisibility": 2
    },
    "P3PropaneSettings": {
      "IsActive": true,
      "BranchNo": 1,
      "CompanyId": "sample string 2",
      "UserName": "sample string 3",
      "Password": "sample string 4",
      "ServiceUrl": "sample string 5",
      "ExternalUrl": "sample string 6",
      "UseMultiBranchForP3": true,
      "UseRunCodeForP3": true
    },
    "CavagnaSettings": {
      "IsActive": true,
      "Username": "sample string 2",
      "Password": "sample string 3"
    }
  },
  "DictionaryValues": {
    "sample string 1": true,
    "sample string 3": true
  },
  "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:
<GeneralResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RCCI.Models.Response">
  <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>
  <DateTimeValue>2025-04-03T16:50:11.6694239-04:00</DateTimeValue>
  <DecimalValue>3</DecimalValue>
  <DictionaryValues xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringboolean>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>true</d2p1:Value>
    </d2p1:KeyValueOfstringboolean>
    <d2p1:KeyValueOfstringboolean>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value>true</d2p1:Value>
    </d2p1:KeyValueOfstringboolean>
  </DictionaryValues>
  <IntegerValue>5</IntegerValue>
  <InterfaceSettings xmlns:d2p1="http://schemas.datacontract.org/2004/07/RCCI.Models">
    <d2p1:AgTraxSettings>
      <d2p1:AgTraxUrlAddress>sample string 7</d2p1:AgTraxUrlAddress>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:IsContractsActive>true</d2p1:IsContractsActive>
      <d2p1:IsLocationInterfaceFieldActive>true</d2p1:IsLocationInterfaceFieldActive>
      <d2p1:ProviderId>sample string 5</d2p1:ProviderId>
      <d2p1:ProviderPassword>sample string 6</d2p1:ProviderPassword>
      <d2p1:UserId>sample string 3</d2p1:UserId>
      <d2p1:UserPassword>sample string 4</d2p1:UserPassword>
    </d2p1:AgTraxSettings>
    <d2p1:CavagnaSettings>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:Password>sample string 3</d2p1:Password>
      <d2p1:Username>sample string 2</d2p1:Username>
    </d2p1:CavagnaSettings>
    <d2p1:DefaultSettings>
      <d2p1:Branch>sample string 3</d2p1:Branch>
      <d2p1:CorpId>sample string 2</d2p1:CorpId>
      <d2p1:CustomerStartCode>sample string 1</d2p1:CustomerStartCode>
      <d2p1:TotalHeatCapacity>1</d2p1:TotalHeatCapacity>
    </d2p1:DefaultSettings>
    <d2p1:ExportGLEntriesSettings>
      <d2p1:ExportByDivision>true</d2p1:ExportByDivision>
      <d2p1:ExportGLFolderPath>sample string 3</d2p1:ExportGLFolderPath>
      <d2p1:IsActive>true</d2p1:IsActive>
    </d2p1:ExportGLEntriesSettings>
    <d2p1:HighRadiusSettings>
      <d2p1:HighRadiusFolderPath>sample string 2</d2p1:HighRadiusFolderPath>
      <d2p1:IsActive>true</d2p1:IsActive>
    </d2p1:HighRadiusSettings>
    <d2p1:P3PropaneSettings>
      <d2p1:BranchNo>1</d2p1:BranchNo>
      <d2p1:CompanyId>sample string 2</d2p1:CompanyId>
      <d2p1:ExternalUrl>sample string 6</d2p1:ExternalUrl>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:Password>sample string 4</d2p1:Password>
      <d2p1:ServiceUrl>sample string 5</d2p1:ServiceUrl>
      <d2p1:UseMultiBranchForP3>true</d2p1:UseMultiBranchForP3>
      <d2p1:UseRunCodeForP3>true</d2p1:UseRunCodeForP3>
      <d2p1:UserName>sample string 3</d2p1:UserName>
    </d2p1:P3PropaneSettings>
    <d2p1:PowerBISettings>
      <d2p1:CustHubUrl>sample string 2</d2p1:CustHubUrl>
      <d2p1:IsActive>true</d2p1:IsActive>
    </d2p1:PowerBISettings>
    <d2p1:QBDesktopSettings>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:QBFilePath>sample string 2</d2p1:QBFilePath>
    </d2p1:QBDesktopSettings>
    <d2p1:QBOnlineIsActive>true</d2p1:QBOnlineIsActive>
    <d2p1:Sage50CloudSettings>
      <d2p1:AccessToken>sample string 4</d2p1:AccessToken>
      <d2p1:AccessTokenExpiresOn>2025-04-03T16:50:11.6694239-04:00</d2p1:AccessTokenExpiresOn>
      <d2p1:AppEnvironment>sample string 6</d2p1:AppEnvironment>
      <d2p1:BaseUrl>sample string 2</d2p1:BaseUrl>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:RedirectUrl>sample string 3</d2p1:RedirectUrl>
      <d2p1:RefreshToken>sample string 5</d2p1:RefreshToken>
      <d2p1:RefreshTokenExpiresOn>2025-04-03T16:50:11.6694239-04:00</d2p1:RefreshTokenExpiresOn>
      <d2p1:RequestedById>sample string 7</d2p1:RequestedById>
    </d2p1:Sage50CloudSettings>
    <d2p1:Sage50DesktopSettings>
      <d2p1:IsActive>true</d2p1:IsActive>
    </d2p1:Sage50DesktopSettings>
    <d2p1:SageIntacctSettings>
      <d2p1:CompanyId>sample string 3</d2p1:CompanyId>
      <d2p1:EntityId>sample string 8</d2p1:EntityId>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:LocationId>sample string 9</d2p1:LocationId>
      <d2p1:SageIntacctPartner>SWK</d2p1:SageIntacctPartner>
      <d2p1:SenderId>sample string 4</d2p1:SenderId>
      <d2p1:SenderPassword>sample string 5</d2p1:SenderPassword>
      <d2p1:UrlAddress>sample string 2</d2p1:UrlAddress>
      <d2p1:UserId>sample string 6</d2p1:UserId>
      <d2p1:UserPassword>sample string 7</d2p1:UserPassword>
    </d2p1:SageIntacctSettings>
    <d2p1:SalesforceSettings>
      <IsChecked xmlns="http://schemas.datacontract.org/2004/07/RCCI.Common">true</IsChecked>
      <MessageId xmlns="http://schemas.datacontract.org/2004/07/RCCI.Common">sample string 6</MessageId>
      <ProposedChanges xmlns="http://schemas.datacontract.org/2004/07/RCCI.Common" />
      <RowState xmlns="http://schemas.datacontract.org/2004/07/RCCI.Common">Unchanged</RowState>
      <d2p1:CreatedBy>sample string 3</d2p1:CreatedBy>
      <d2p1:CreatedOn>2025-04-03T16:50:11.6694239-04:00</d2p1:CreatedOn>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:ModifiedBy>sample string 4</d2p1:ModifiedBy>
      <d2p1:ModifiedOn>2025-04-03T16:50:11.6694239-04:00</d2p1:ModifiedOn>
    </d2p1:SalesforceSettings>
  </InterfaceSettings>
  <ListOfStrings xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ListOfStrings>
  <Result>true</Result>
  <StringValue>sample string 2</StringValue>
</GeneralResponse>