' Options: 'Date: 2025-12-06 06:22:02 'Version: 8.0 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://1fetch.api.client.prod.86degrees.com ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: True '''ExportValueTypes: False 'IncludeTypes: ValidateWaypoints.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports WebService.ClientServiceModel.Base Imports CommonService.Api.Operations.Base Imports CommonService.Api.Operations Imports WebService.ClientServiceModel Imports BusinessLogic.Entities Namespace Global Namespace BusinessLogic.Entities Public Interface IRequestWaypoint Property Latitude As Double Property Longitude As Double Property WaypointNumber As Integer Property ContactName As String Property ContactNumber As String Property DeliveryInstructions As String Property Address As String End Interface Public Partial Class LinkedWaypoint Public Overridable Property FromWaypointNumber As Integer Public Overridable Property ToWaypointNumber As Integer Public Overridable Property FromLatitude As Double Public Overridable Property FromLongitude As Double Public Overridable Property ToLatitude As Double Public Overridable Property ToLongitude As Double End Class End Namespace Namespace CommonService.Api.Operations Public Interface IHasApiKey Property ApiKey As String End Interface Public Interface ILogRequest End Interface End Namespace Namespace CommonService.Api.Operations.Base Public Interface IServiceRequest End Interface End Namespace Namespace WebService.ClientServiceModel Public Partial Class RequestQuoteWaypoint Implements IRequestWaypoint ''' '''Number of waypoint for ordering ''' Public Overridable Property WaypointNumber As Integer ''' '''Waypoint Latitude ''' Public Overridable Property Latitude As Double ''' '''Waypoint Longitude ''' Public Overridable Property Longitude As Double ''' '''Name of contact person at waypoint ''' Public Overridable Property ContactName As String ''' '''Telephone number of contact person at waypoint ''' Public Overridable Property ContactNumber As String ''' '''Instructions for driver to follow at waypoint ''' Public Overridable Property DeliveryInstructions As String ''' '''Waypoint address ''' Public Overridable Property Address As String End Class Public Partial Class ValidateWaypoints Inherits ApiServiceRequest Implements IReturn(Of ValidateWaypointsResponse) Implements ILogRequest Public Sub New() Waypoints = New List(Of RequestQuoteWaypoint) End Sub ''' '''Array of waypoints ''' Public Overridable Property Waypoints As List(Of RequestQuoteWaypoint) ''' '''Set this to true to prevent while testing the API. ''' Public Overridable Property Test As Boolean End Class Public Partial Class ValidateWaypointsResponse Inherits ApiServiceResponse Public Sub New() WaypointValidations = New List(Of WaypointValidationInformation) Waypoints = New List(Of WaypointQuoteInformation) End Sub ''' '''List with validation information for each waypoint ''' Public Overridable Property WaypointValidations As List(Of WaypointValidationInformation) ''' '''The total distance for the order ''' Public Overridable Property TotalDistance As Double ''' '''The total distance for the order, formatted as a string ''' Public Overridable Property TotalDistanceValue As String ''' '''List of information for pricing etc between each waypoint ''' Public Overridable Property Waypoints As List(Of WaypointQuoteInformation) ''' '''Is there an issue for the waypoints details specified? ''' Public Overridable Property WaypointIssue As Boolean End Class Public Partial Class WaypointQuoteInformation Inherits LinkedWaypoint Public Sub New() ErrorDetails = New List(Of String) End Sub ''' '''Distance between waypoints as a number ''' Public Overridable Property Distance As Double ''' '''String formatted distance ''' Public Overridable Property DistanceValue As String Public Overridable Property WaypointValid As Boolean Public Overridable Property Message As String Public Overridable Property ErrorDetails As List(Of String) ''' '''Caculated price between waypoints excluding vat ''' Public Overridable Property Price As Decimal ''' '''Price excluding vat formatted as a string rand value ''' Public Overridable Property PriceValue As String ''' '''The price between waypoints including vat ''' Public Overridable Property PriceWithVAT As Decimal ''' '''The price including vat formatted as a rand value string ''' Public Overridable Property PriceValueWithVAT As String End Class Public Partial Class WaypointValidationInformation Public Sub New() ErrorMessages = New List(Of String) End Sub Public Overridable Property WaypointNumber As Integer Public Overridable Property IsValid As Boolean Public Overridable Property ErrorMessages As List(Of String) End Class End Namespace Namespace WebService.ClientServiceModel.Base Public Partial Class ApiServiceRequest Implements IServiceRequest Implements IHasApiKey ''' '''The API Key required for authentication ''' Public Overridable Property ApiKey As String End Class Public Partial Class ApiServiceResponse Implements IServiceResponse ''' '''Information about the response. ''' Public Overridable Property Description As String ''' '''Heading or summary of the response. ''' Public Overridable Property Heading As String ''' '''Did the intended operation for this response complete successfully? ''' Public Overridable Property WasSuccessful As Boolean End Class End Namespace End Namespace