POST api/MogoActivity/Send

Request Information

URI Parameters

None.

Body Parameters

Collection of MogoHandheldActivity
NameDescriptionTypeAdditional information
MogoActivityId

integer

None.

ActivityType

ActivityTypeEnum

None.

ActivityTypeDescription

string

None.

ActivityDateTime

date

None.

ActivityDateTimeUTC

date

None.

DeliveryUniqueId

globally unique identifier

None.

LoadUniqueId

globally unique identifier

None.

VehicleId

integer

None.

PersonnelId

integer

None.

IsSentToServer

boolean

None.

LoadNumber

integer

None.

ChangeVersion

integer

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:
[
  {
    "MogoActivityId": 1,
    "ActivityType": 0,
    "ActivityTypeDescription": "Unknown",
    "ActivityDateTime": "2025-04-03T16:56:58.0310794-04:00",
    "ActivityDateTimeUTC": "2025-04-03T16:56:58.0310794-04:00",
    "DeliveryUniqueId": "19c58eb8-43f4-4dd8-a3f4-d80c4ebdf8cd",
    "LoadUniqueId": "a14c4fdd-1fd9-438e-a1ba-6f52d1e21b46",
    "VehicleId": 1,
    "PersonnelId": 1,
    "IsSentToServer": true,
    "LoadNumber": 1,
    "ChangeVersion": 1,
    "IsActive": true,
    "IsInactive": false,
    "IsActiveVisibility": 2,
    "CreatedOn": "2025-04-03T16:56:58.0310794-04:00",
    "CreatedOnUTC": "2025-04-03T16:56:58.0310794-04:00",
    "CreatedBy": "sample string 9",
    "ModifiedOn": "2025-04-03T16:56:58.0310794-04:00",
    "ModifiedOnUTC": "2025-04-03T16:56:58.0310794-04:00",
    "ModifiedBy": "sample string 10",
    "RowState": 0,
    "IsChecked": true,
    "MessageId": "sample string 12"
  },
  {
    "MogoActivityId": 1,
    "ActivityType": 0,
    "ActivityTypeDescription": "Unknown",
    "ActivityDateTime": "2025-04-03T16:56:58.0310794-04:00",
    "ActivityDateTimeUTC": "2025-04-03T16:56:58.0310794-04:00",
    "DeliveryUniqueId": "19c58eb8-43f4-4dd8-a3f4-d80c4ebdf8cd",
    "LoadUniqueId": "a14c4fdd-1fd9-438e-a1ba-6f52d1e21b46",
    "VehicleId": 1,
    "PersonnelId": 1,
    "IsSentToServer": true,
    "LoadNumber": 1,
    "ChangeVersion": 1,
    "IsActive": true,
    "IsInactive": false,
    "IsActiveVisibility": 2,
    "CreatedOn": "2025-04-03T16:56:58.0310794-04:00",
    "CreatedOnUTC": "2025-04-03T16:56:58.0310794-04:00",
    "CreatedBy": "sample string 9",
    "ModifiedOn": "2025-04-03T16:56:58.0310794-04:00",
    "ModifiedOnUTC": "2025-04-03T16:56:58.0310794-04:00",
    "ModifiedBy": "sample string 10",
    "RowState": 0,
    "IsChecked": true,
    "MessageId": "sample string 12"
  }
]

application/xml, text/xml

Sample:
<ArrayOfMogoHandheldActivity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RCCI.Models">
  <MogoHandheldActivity>
    <IsChecked xmlns="http://schemas.datacontract.org/2004/07/RCCI.Common">true</IsChecked>
    <MessageId xmlns="http://schemas.datacontract.org/2004/07/RCCI.Common">sample string 12</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 9</CreatedBy>
    <CreatedOn>2025-04-03T16:56:58.0310794-04:00</CreatedOn>
    <CreatedOnUTC>2025-04-03T16:56:58.0310794-04:00</CreatedOnUTC>
    <IsActive>true</IsActive>
    <ModifiedBy>sample string 10</ModifiedBy>
    <ModifiedOn>2025-04-03T16:56:58.0310794-04:00</ModifiedOn>
    <ModifiedOnUTC>2025-04-03T16:56:58.0310794-04:00</ModifiedOnUTC>
    <ActivityDateTime>2025-04-03T16:56:58.0310794-04:00</ActivityDateTime>
    <ActivityDateTimeUTC>2025-04-03T16:56:58.0310794-04:00</ActivityDateTimeUTC>
    <ActivityType>Unknown</ActivityType>
    <ActivityTypeDescription>Unknown</ActivityTypeDescription>
    <ChangeVersion>1</ChangeVersion>
    <DeliveryUniqueId>19c58eb8-43f4-4dd8-a3f4-d80c4ebdf8cd</DeliveryUniqueId>
    <IsSentToServer>true</IsSentToServer>
    <LoadNumber>1</LoadNumber>
    <LoadUniqueId>a14c4fdd-1fd9-438e-a1ba-6f52d1e21b46</LoadUniqueId>
    <MogoActivityId>1</MogoActivityId>
    <PersonnelId>1</PersonnelId>
    <VehicleId>1</VehicleId>
  </MogoHandheldActivity>
  <MogoHandheldActivity>
    <IsChecked xmlns="http://schemas.datacontract.org/2004/07/RCCI.Common">true</IsChecked>
    <MessageId xmlns="http://schemas.datacontract.org/2004/07/RCCI.Common">sample string 12</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 9</CreatedBy>
    <CreatedOn>2025-04-03T16:56:58.0310794-04:00</CreatedOn>
    <CreatedOnUTC>2025-04-03T16:56:58.0310794-04:00</CreatedOnUTC>
    <IsActive>true</IsActive>
    <ModifiedBy>sample string 10</ModifiedBy>
    <ModifiedOn>2025-04-03T16:56:58.0310794-04:00</ModifiedOn>
    <ModifiedOnUTC>2025-04-03T16:56:58.0310794-04:00</ModifiedOnUTC>
    <ActivityDateTime>2025-04-03T16:56:58.0310794-04:00</ActivityDateTime>
    <ActivityDateTimeUTC>2025-04-03T16:56:58.0310794-04:00</ActivityDateTimeUTC>
    <ActivityType>Unknown</ActivityType>
    <ActivityTypeDescription>Unknown</ActivityTypeDescription>
    <ChangeVersion>1</ChangeVersion>
    <DeliveryUniqueId>19c58eb8-43f4-4dd8-a3f4-d80c4ebdf8cd</DeliveryUniqueId>
    <IsSentToServer>true</IsSentToServer>
    <LoadNumber>1</LoadNumber>
    <LoadUniqueId>a14c4fdd-1fd9-438e-a1ba-6f52d1e21b46</LoadUniqueId>
    <MogoActivityId>1</MogoActivityId>
    <PersonnelId>1</PersonnelId>
    <VehicleId>1</VehicleId>
  </MogoHandheldActivity>
</ArrayOfMogoHandheldActivity>

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 'ObservableCollection`1'.

Response Information

Resource Description

ExceptionResponse
NameDescriptionTypeAdditional information
ResponseStatus

ResponseStatus

None.

Response Formats

application/json, text/json

Sample:
{
  "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:
<ExceptionResponse 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>
</ExceptionResponse>