DELETE api/Transportations

Request Information

URI Parameters

None.

Body Parameters

Service_Info
NameDescriptionTypeAdditional information
Eplat_PurchaseServiceID

integer

None.

Eplat_ServiceID

integer

None.

ServiceID

integer

None.

ServiceName

string

None.

OffersRoundTrip

boolean

None.

GoldCardPrice

decimal number

None.

ServiceDateTime

date

None.

Quantity

decimal number

None.

TotalPaid

decimal number

None.

Notes

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": "2024-05-19T15:35:13.447224-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>2024-05-19T15:35:13.447224-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

Attempt_ResponseTypes

None.

Exception

Exception

None.

ObjectID

Object

None.

Message

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>