POST api/DeliveryComplete/Send

Request Information

URI Parameters

None.

Body Parameters

DeliveryComplete
NameDescriptionTypeAdditional information
DeliveryCompleteId

integer

None.

DeliveryUniqueId

globally unique identifier

None.

DeliveryId

integer

None.

DateTimeDelivered

date

None.

QuantityDelivered

decimal number

None.

EndingPercent

decimal number

None.

VehicleId

integer

None.

IsTankCheck

boolean

None.

IsNonDelivery

boolean

None.

IsSentToServer

boolean

None.

TripId

integer

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:
{
  "DeliveryCompleteId": 1,
  "DeliveryUniqueId": "25278260-abb1-4f74-9ce1-5628e6fbdbea",
  "DeliveryId": 3,
  "DateTimeDelivered": "2024-09-19T12:18:23.2180346-04:00",
  "QuantityDelivered": 5.0,
  "EndingPercent": 6.0,
  "VehicleId": 7,
  "IsTankCheck": true,
  "IsNonDelivery": true,
  "IsSentToServer": true,
  "TripId": 11,
  "IsActive": true,
  "IsInactive": false,
  "IsActiveVisibility": 2,
  "CreatedOn": "2024-09-19T12:18:23.2180346-04:00",
  "CreatedBy": "sample string 14",
  "ModifiedOn": "2024-09-19T12:18:23.2180346-04:00",
  "ModifiedBy": "sample string 15",
  "RowState": 0,
  "IsChecked": true,
  "MessageId": "sample string 17"
}

application/xml, text/xml

Sample:
<DeliveryComplete 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 17</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 14</CreatedBy>
  <CreatedOn>2024-09-19T12:18:23.2180346-04:00</CreatedOn>
  <IsActive>true</IsActive>
  <ModifiedBy>sample string 15</ModifiedBy>
  <ModifiedOn>2024-09-19T12:18:23.2180346-04:00</ModifiedOn>
  <DateTimeDelivered>2024-09-19T12:18:23.2180346-04:00</DateTimeDelivered>
  <DeliveryCompleteId>1</DeliveryCompleteId>
  <DeliveryId>3</DeliveryId>
  <DeliveryUniqueId>25278260-abb1-4f74-9ce1-5628e6fbdbea</DeliveryUniqueId>
  <EndingPercent>6</EndingPercent>
  <IsNonDelivery>true</IsNonDelivery>
  <IsSentToServer>true</IsSentToServer>
  <IsTankCheck>true</IsTankCheck>
  <QuantityDelivered>5</QuantityDelivered>
  <TripId>11</TripId>
  <VehicleId>7</VehicleId>
</DeliveryComplete>

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 'DeliveryComplete'.

Response Information

Resource Description

MogoLiveResponse
NameDescriptionTypeAdditional 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": "6e559e26-0be4-4fcf-b1a1-a4f3ee3e86a8",
    "Success": true,
    "WasTransactionRolledBack": true,
    "Message": "sample string 5",
    "Action": 0,
    "ErrorMessage": "sample string 6"
  },
  "MogoLiveEvents": [
    {
      "TableName": "sample string 1",
      "Id": "6e559e26-0be4-4fcf-b1a1-a4f3ee3e86a8",
      "Success": true,
      "WasTransactionRolledBack": true,
      "Message": "sample string 5",
      "Action": 0,
      "ErrorMessage": "sample string 6"
    },
    {
      "TableName": "sample string 1",
      "Id": "6e559e26-0be4-4fcf-b1a1-a4f3ee3e86a8",
      "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>6e559e26-0be4-4fcf-b1a1-a4f3ee3e86a8</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>6e559e26-0be4-4fcf-b1a1-a4f3ee3e86a8</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>6e559e26-0be4-4fcf-b1a1-a4f3ee3e86a8</Id>
      <Message>sample string 5</Message>
      <Success>true</Success>
      <TableName>sample string 1</TableName>
      <WasTransactionRolledBack>true</WasTransactionRolledBack>
    </MogoLiveEvent>
  </MogoLiveEvents>
</MogoLiveResponse>