POST api/QuoteRequest/Post?apiKey={apiKey}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
apiKey

string

Required

Body Parameters

QuoteRequest
NameDescriptionTypeAdditional information
CompanyName

string

None.

PersonalInformation

PersonalInformation

None.

Description

string

None.

QuoteRequestDetails

Collection of QuoteRequestDetails

None.

SpecialOfferID

globally unique identifier

None.

BookingSource

BookingSource

None.

StateID

globally unique identifier

None.

IPLocation

IPLocation

None.

Request Formats

application/json, text/json

Sample:
{
  "CompanyName": "sample string 1",
  "PersonalInformation": {
    "Title": "sample string 1",
    "FullName": "sample string 2",
    "FirstName": "sample string 3",
    "LastName": "sample string 4",
    "ContactNo": "sample string 5",
    "Email": "sample string 6",
    "Address": "sample string 7"
  },
  "Description": "sample string 2",
  "QuoteRequestDetails": [
    {
      "QuoteRequestFor": 0,
      "Vehicle": "sample string 2",
      "Quantity": 3,
      "MileageDescription": "sample string 4",
      "ExpectedStartOn": "2024-06-14T06:28:32.4837807+04:00",
      "CustomerRemark": "sample string 6",
      "Duration": 7
    },
    {
      "QuoteRequestFor": 0,
      "Vehicle": "sample string 2",
      "Quantity": 3,
      "MileageDescription": "sample string 4",
      "ExpectedStartOn": "2024-06-14T06:28:32.4837807+04:00",
      "CustomerRemark": "sample string 6",
      "Duration": 7
    }
  ],
  "SpecialOfferID": "6cb0a5aa-9ec5-49f6-8f8f-5633ec7d6997",
  "BookingSource": 0,
  "StateID": "dfa68caa-cc04-40c4-9458-c5ee114cf552",
  "IPLocation": {
    "IPAddress": "sample string 2"
  }
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Result
NameDescriptionTypeAdditional information
IsValid

boolean

None.

Message

string

None.

Code

string

None.

ID

globally unique identifier

None.

Errors

Collection of string

None.

ErrorCodes

Collection of ErrorCode

None.

Response Formats

application/json, text/json

Sample:
{
  "IsValid": true,
  "Message": "sample string 2",
  "Code": "sample string 3",
  "ID": "ba792788-116c-4ea2-bde1-5e27fae4bcdb",
  "Errors": [
    "sample string 1",
    "sample string 2"
  ],
  "ErrorCodes": [
    1,
    1
  ]
}

application/xml, text/xml

Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Entity">
  <Code>sample string 3</Code>
  <ErrorCodes>
    <ErrorCode>Success</ErrorCode>
    <ErrorCode>Success</ErrorCode>
  </ErrorCodes>
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Errors>
  <ID>ba792788-116c-4ea2-bde1-5e27fae4bcdb</ID>
  <IsValid>true</IsValid>
  <Message>sample string 2</Message>
</Result>