DELETE api/Transportations

Permite eliminar los registros de transportaciones previamente guardados.

Request Information

URI Parameters

None.

Body Parameters

Service_Info
NameDescriptionTypeAdditional information
Eplat_PurchaseServiceID

Identificador del registro del servicio de transportación vendido en eplat.

integer

None.

Eplat_ServiceID

Identificador del registro del servicio de transportación en ePlat.

integer

None.

ServiceID

Identificador del registro del servicio de transportación en el origen de datos.

integer

None.

ServiceName

Nombre del servicio de transportación.

string

None.

OffersRoundTrip

Define si el servicio de transportación ofrece viaje redondo.

boolean

None.

GoldCardPrice

Precio base del servicio de transportación.

decimal number

None.

ServiceDateTime

Fecha y hora en la que se utilizará el servicio de transportación.

date

None.

Quantity

Cantidad de servicios vendidos.

decimal number

None.

TotalPaid

Cantidad total a pagar por el servicio vendido (Quantity + GoldCardPrice).

decimal number

None.

Notes

Commentarios o anotaciones.

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Eplat_PurchaseServiceID": 1,
  "Eplat_ServiceID": 1,
  "ServiceID": 1,
  "ServiceName": "sample string 2",
  "OffersRoundTrip": true,
  "GoldCardPrice": 4.0,
  "ServiceDateTime": "2026-08-08T07:54:42.1663168-06:00",
  "Quantity": 6.0,
  "TotalPaid": 7.0,
  "Notes": "sample string 8"
}

application/xml, text/xml

Sample:
<ApiModels.Service_Info xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ePlat.Models.ViewModels">
  <Eplat_PurchaseServiceID>1</Eplat_PurchaseServiceID>
  <Eplat_ServiceID>1</Eplat_ServiceID>
  <GoldCardPrice>4</GoldCardPrice>
  <Notes>sample string 8</Notes>
  <OffersRoundTrip>true</OffersRoundTrip>
  <Quantity>6</Quantity>
  <ServiceDateTime>2026-08-08T07:54:42.1663168-06:00</ServiceDateTime>
  <ServiceID>1</ServiceID>
  <ServiceName>sample string 2</ServiceName>
  <TotalPaid>7</TotalPaid>
</ApiModels.Service_Info>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AttemptResponse
NameDescriptionTypeAdditional information
Type

Guarda el valor del tipo de resultado de la ejecución de las instrucciones de código en la función ejecutada.

Attempt_ResponseTypes

None.

Exception

Presenta los errores que se producen cuando la ejecución de las instrucciones de código no terminan correctamente.

Exception

None.

ObjectID

Objeto que permite establecer cualquier tipo de valor como respuesta, sin la necesidad de que la información almacenada tenga que seguir una estructura.

Object

None.

Message

Mensage personalizado para emitir una respuesta después de la correcta ejecución de las instrucciones de código.

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Type": 0,
  "Exception": {
    "ClassName": "System.Exception",
    "Message": null,
    "Data": null,
    "InnerException": null,
    "HelpURL": "sample string 1",
    "StackTraceString": null,
    "RemoteStackTraceString": null,
    "RemoteStackIndex": 0,
    "ExceptionMethod": null,
    "HResult": 3,
    "Source": "sample string 2",
    "WatsonBuckets": null
  },
  "ObjectID": {},
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<AttemptResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ePlat.Models.Utils">
  <Exception xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <ClassName xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">System.Exception</ClassName>
    <Message i:nil="true" xmlns="" />
    <Data i:nil="true" xmlns="" />
    <InnerException i:nil="true" xmlns="" />
    <HelpURL xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 1</HelpURL>
    <StackTraceString i:nil="true" xmlns="" />
    <RemoteStackTraceString i:nil="true" xmlns="" />
    <RemoteStackIndex xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">0</RemoteStackIndex>
    <ExceptionMethod i:nil="true" xmlns="" />
    <HResult xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">3</HResult>
    <Source xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 2</Source>
    <WatsonBuckets i:nil="true" xmlns="" />
  </Exception>
  <Message>sample string 2</Message>
  <ObjectID />
  <Type>Warning</Type>
</AttemptResponse>