PCSYSWebService


Click here for a complete list of operations.

SearchForRoute

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /PCSYSWebService.asmx HTTP/1.1
Host: tmsmobile-test.nobia.dk
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://PCSYSMobile/SearchForRoute"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <SearchForRoute xmlns="http://PCSYSMobile/">
      <userId>guid</userId>
      <routeNumber>string</routeNumber>
      <simple>boolean</simple>
      <device>string</device>
    </SearchForRoute>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <SearchForRouteResponse xmlns="http://PCSYSMobile/">
      <SearchForRouteResult>
        <Id>int</Id>
        <RouteNumber>string</RouteNumber>
        <Date>dateTime</Date>
        <StartTime>dateTime</StartTime>
        <RouteComment>string</RouteComment>
        <RouteSequence>string</RouteSequence>
        <RouteStatusId>int</RouteStatusId>
        <RouteStatusTimestamp>dateTime</RouteStatusTimestamp>
        <UserId>guid</UserId>
        <VehicleId>int</VehicleId>
        <VehicleName>string</VehicleName>
        <TrailerId>int</TrailerId>
        <BoxNumber>string</BoxNumber>
        <Stops>
          <Stop>
            <Id>int</Id>
            <RouteId>int</RouteId>
            <StopNumber>int</StopNumber>
            <StopIntervalStart>dateTime</StopIntervalStart>
            <StopIntervalEnd>dateTime</StopIntervalEnd>
            <TimeToNextStop>int</TimeToNextStop>
            <CustomerNumber>string</CustomerNumber>
            <CustomerName>string</CustomerName>
            <AddressId>int</AddressId>
            <Address>string</Address>
            <Address2>string</Address2>
            <Floor>string</Floor>
            <Side>string</Side>
            <ZipCode>string</ZipCode>
            <City>string</City>
            <Country>string</Country>
            <CustomerInfo>string</CustomerInfo>
            <CustomerLongitude>double</CustomerLongitude>
            <CustomerLatitude>double</CustomerLatitude>
            <StopStatusId>int</StopStatusId>
            <StopStatusTimestamp>dateTime</StopStatusTimestamp>
            <Longitude>double</Longitude>
            <Latitude>double</Latitude>
            <IsLiveGPSCoordinates>boolean</IsLiveGPSCoordinates>
            <AlertedMobileAdmin>boolean</AlertedMobileAdmin>
            <AddressGeoCodeStatusId>int</AddressGeoCodeStatusId>
            <ArrivedGeoFenceActivatedTimestamp>dateTime</ArrivedGeoFenceActivatedTimestamp>
            <ArrivedTimestamp>dateTime</ArrivedTimestamp>
            <DepartedTimestamp>dateTime</DepartedTimestamp>
            <DriverNote>string</DriverNote>
            <DriverMessage>string</DriverMessage>
            <Info>string</Info>
            <Summary>string</Summary>
            <TimeOfDay>string</TimeOfDay>
            <DropTime>int</DropTime>
            <StopSequence>int</StopSequence>
            <StopGroup>string</StopGroup>
            <DriverInfo>string</DriverInfo>
          </Stop>
          <Stop>
            <Id>int</Id>
            <RouteId>int</RouteId>
            <StopNumber>int</StopNumber>
            <StopIntervalStart>dateTime</StopIntervalStart>
            <StopIntervalEnd>dateTime</StopIntervalEnd>
            <TimeToNextStop>int</TimeToNextStop>
            <CustomerNumber>string</CustomerNumber>
            <CustomerName>string</CustomerName>
            <AddressId>int</AddressId>
            <Address>string</Address>
            <Address2>string</Address2>
            <Floor>string</Floor>
            <Side>string</Side>
            <ZipCode>string</ZipCode>
            <City>string</City>
            <Country>string</Country>
            <CustomerInfo>string</CustomerInfo>
            <CustomerLongitude>double</CustomerLongitude>
            <CustomerLatitude>double</CustomerLatitude>
            <StopStatusId>int</StopStatusId>
            <StopStatusTimestamp>dateTime</StopStatusTimestamp>
            <Longitude>double</Longitude>
            <Latitude>double</Latitude>
            <IsLiveGPSCoordinates>boolean</IsLiveGPSCoordinates>
            <AlertedMobileAdmin>boolean</AlertedMobileAdmin>
            <AddressGeoCodeStatusId>int</AddressGeoCodeStatusId>
            <ArrivedGeoFenceActivatedTimestamp>dateTime</ArrivedGeoFenceActivatedTimestamp>
            <ArrivedTimestamp>dateTime</ArrivedTimestamp>
            <DepartedTimestamp>dateTime</DepartedTimestamp>
            <DriverNote>string</DriverNote>
            <DriverMessage>string</DriverMessage>
            <Info>string</Info>
            <Summary>string</Summary>
            <TimeOfDay>string</TimeOfDay>
            <DropTime>int</DropTime>
            <StopSequence>int</StopSequence>
            <StopGroup>string</StopGroup>
            <DriverInfo>string</DriverInfo>
          </Stop>
        </Stops>
        <Orders>
          <Order>
            <OrderId>int</OrderId>
            <RouteId>int</RouteId>
            <OrderStatusId>int</OrderStatusId>
            <OrderStatusTimestamp>dateTime</OrderStatusTimestamp>
            <Info>string</Info>
            <OrderNumber>string</OrderNumber>
            <RequisitionNumber>string</RequisitionNumber>
            <OrderLines xsi:nil="true" />
            <ForeCarriage>boolean</ForeCarriage>
            <Cart>boolean</Cart>
            <PickupSignature xsi:nil="true" />
            <DeliverySignature xsi:nil="true" />
            <PhotoDocumentationOnDelivery>int</PhotoDocumentationOnDelivery>
            <PhotoDocumentationOnPickup>int</PhotoDocumentationOnPickup>
            <OrderLdm>int</OrderLdm>
            <OrderTaskDelivery xsi:nil="true" />
            <OrderTaskPickup xsi:nil="true" />
            <OrderScanTypeId>int</OrderScanTypeId>
            <OrderSignatureTypeId>int</OrderSignatureTypeId>
            <Wildcard>string</Wildcard>
            <Key>string</Key>
            <Longitude>double</Longitude>
            <Latitude>double</Latitude>
            <OrderExtAppTypeId>int</OrderExtAppTypeId>
          </Order>
          <Order>
            <OrderId>int</OrderId>
            <RouteId>int</RouteId>
            <OrderStatusId>int</OrderStatusId>
            <OrderStatusTimestamp>dateTime</OrderStatusTimestamp>
            <Info>string</Info>
            <OrderNumber>string</OrderNumber>
            <RequisitionNumber>string</RequisitionNumber>
            <OrderLines xsi:nil="true" />
            <ForeCarriage>boolean</ForeCarriage>
            <Cart>boolean</Cart>
            <PickupSignature xsi:nil="true" />
            <DeliverySignature xsi:nil="true" />
            <PhotoDocumentationOnDelivery>int</PhotoDocumentationOnDelivery>
            <PhotoDocumentationOnPickup>int</PhotoDocumentationOnPickup>
            <OrderLdm>int</OrderLdm>
            <OrderTaskDelivery xsi:nil="true" />
            <OrderTaskPickup xsi:nil="true" />
            <OrderScanTypeId>int</OrderScanTypeId>
            <OrderSignatureTypeId>int</OrderSignatureTypeId>
            <Wildcard>string</Wildcard>
            <Key>string</Key>
            <Longitude>double</Longitude>
            <Latitude>double</Latitude>
            <OrderExtAppTypeId>int</OrderExtAppTypeId>
          </Order>
        </Orders>
        <UserName>string</UserName>
        <FullName>string</FullName>
        <Via>boolean</Via>
        <Taxa>boolean</Taxa>
        <DisponentInitials>string</DisponentInitials>
      </SearchForRouteResult>
    </SearchForRouteResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /PCSYSWebService.asmx HTTP/1.1
Host: tmsmobile-test.nobia.dk
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SearchForRoute xmlns="http://PCSYSMobile/">
      <userId>guid</userId>
      <routeNumber>string</routeNumber>
      <simple>boolean</simple>
      <device>string</device>
    </SearchForRoute>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SearchForRouteResponse xmlns="http://PCSYSMobile/">
      <SearchForRouteResult>
        <Id>int</Id>
        <RouteNumber>string</RouteNumber>
        <Date>dateTime</Date>
        <StartTime>dateTime</StartTime>
        <RouteComment>string</RouteComment>
        <RouteSequence>string</RouteSequence>
        <RouteStatusId>int</RouteStatusId>
        <RouteStatusTimestamp>dateTime</RouteStatusTimestamp>
        <UserId>guid</UserId>
        <VehicleId>int</VehicleId>
        <VehicleName>string</VehicleName>
        <TrailerId>int</TrailerId>
        <BoxNumber>string</BoxNumber>
        <Stops>
          <Stop>
            <Id>int</Id>
            <RouteId>int</RouteId>
            <StopNumber>int</StopNumber>
            <StopIntervalStart>dateTime</StopIntervalStart>
            <StopIntervalEnd>dateTime</StopIntervalEnd>
            <TimeToNextStop>int</TimeToNextStop>
            <CustomerNumber>string</CustomerNumber>
            <CustomerName>string</CustomerName>
            <AddressId>int</AddressId>
            <Address>string</Address>
            <Address2>string</Address2>
            <Floor>string</Floor>
            <Side>string</Side>
            <ZipCode>string</ZipCode>
            <City>string</City>
            <Country>string</Country>
            <CustomerInfo>string</CustomerInfo>
            <CustomerLongitude>double</CustomerLongitude>
            <CustomerLatitude>double</CustomerLatitude>
            <StopStatusId>int</StopStatusId>
            <StopStatusTimestamp>dateTime</StopStatusTimestamp>
            <Longitude>double</Longitude>
            <Latitude>double</Latitude>
            <IsLiveGPSCoordinates>boolean</IsLiveGPSCoordinates>
            <AlertedMobileAdmin>boolean</AlertedMobileAdmin>
            <AddressGeoCodeStatusId>int</AddressGeoCodeStatusId>
            <ArrivedGeoFenceActivatedTimestamp>dateTime</ArrivedGeoFenceActivatedTimestamp>
            <ArrivedTimestamp>dateTime</ArrivedTimestamp>
            <DepartedTimestamp>dateTime</DepartedTimestamp>
            <DriverNote>string</DriverNote>
            <DriverMessage>string</DriverMessage>
            <Info>string</Info>
            <Summary>string</Summary>
            <TimeOfDay>string</TimeOfDay>
            <DropTime>int</DropTime>
            <StopSequence>int</StopSequence>
            <StopGroup>string</StopGroup>
            <DriverInfo>string</DriverInfo>
          </Stop>
          <Stop>
            <Id>int</Id>
            <RouteId>int</RouteId>
            <StopNumber>int</StopNumber>
            <StopIntervalStart>dateTime</StopIntervalStart>
            <StopIntervalEnd>dateTime</StopIntervalEnd>
            <TimeToNextStop>int</TimeToNextStop>
            <CustomerNumber>string</CustomerNumber>
            <CustomerName>string</CustomerName>
            <AddressId>int</AddressId>
            <Address>string</Address>
            <Address2>string</Address2>
            <Floor>string</Floor>
            <Side>string</Side>
            <ZipCode>string</ZipCode>
            <City>string</City>
            <Country>string</Country>
            <CustomerInfo>string</CustomerInfo>
            <CustomerLongitude>double</CustomerLongitude>
            <CustomerLatitude>double</CustomerLatitude>
            <StopStatusId>int</StopStatusId>
            <StopStatusTimestamp>dateTime</StopStatusTimestamp>
            <Longitude>double</Longitude>
            <Latitude>double</Latitude>
            <IsLiveGPSCoordinates>boolean</IsLiveGPSCoordinates>
            <AlertedMobileAdmin>boolean</AlertedMobileAdmin>
            <AddressGeoCodeStatusId>int</AddressGeoCodeStatusId>
            <ArrivedGeoFenceActivatedTimestamp>dateTime</ArrivedGeoFenceActivatedTimestamp>
            <ArrivedTimestamp>dateTime</ArrivedTimestamp>
            <DepartedTimestamp>dateTime</DepartedTimestamp>
            <DriverNote>string</DriverNote>
            <DriverMessage>string</DriverMessage>
            <Info>string</Info>
            <Summary>string</Summary>
            <TimeOfDay>string</TimeOfDay>
            <DropTime>int</DropTime>
            <StopSequence>int</StopSequence>
            <StopGroup>string</StopGroup>
            <DriverInfo>string</DriverInfo>
          </Stop>
        </Stops>
        <Orders>
          <Order>
            <OrderId>int</OrderId>
            <RouteId>int</RouteId>
            <OrderStatusId>int</OrderStatusId>
            <OrderStatusTimestamp>dateTime</OrderStatusTimestamp>
            <Info>string</Info>
            <OrderNumber>string</OrderNumber>
            <RequisitionNumber>string</RequisitionNumber>
            <OrderLines xsi:nil="true" />
            <ForeCarriage>boolean</ForeCarriage>
            <Cart>boolean</Cart>
            <PickupSignature xsi:nil="true" />
            <DeliverySignature xsi:nil="true" />
            <PhotoDocumentationOnDelivery>int</PhotoDocumentationOnDelivery>
            <PhotoDocumentationOnPickup>int</PhotoDocumentationOnPickup>
            <OrderLdm>int</OrderLdm>
            <OrderTaskDelivery xsi:nil="true" />
            <OrderTaskPickup xsi:nil="true" />
            <OrderScanTypeId>int</OrderScanTypeId>
            <OrderSignatureTypeId>int</OrderSignatureTypeId>
            <Wildcard>string</Wildcard>
            <Key>string</Key>
            <Longitude>double</Longitude>
            <Latitude>double</Latitude>
            <OrderExtAppTypeId>int</OrderExtAppTypeId>
          </Order>
          <Order>
            <OrderId>int</OrderId>
            <RouteId>int</RouteId>
            <OrderStatusId>int</OrderStatusId>
            <OrderStatusTimestamp>dateTime</OrderStatusTimestamp>
            <Info>string</Info>
            <OrderNumber>string</OrderNumber>
            <RequisitionNumber>string</RequisitionNumber>
            <OrderLines xsi:nil="true" />
            <ForeCarriage>boolean</ForeCarriage>
            <Cart>boolean</Cart>
            <PickupSignature xsi:nil="true" />
            <DeliverySignature xsi:nil="true" />
            <PhotoDocumentationOnDelivery>int</PhotoDocumentationOnDelivery>
            <PhotoDocumentationOnPickup>int</PhotoDocumentationOnPickup>
            <OrderLdm>int</OrderLdm>
            <OrderTaskDelivery xsi:nil="true" />
            <OrderTaskPickup xsi:nil="true" />
            <OrderScanTypeId>int</OrderScanTypeId>
            <OrderSignatureTypeId>int</OrderSignatureTypeId>
            <Wildcard>string</Wildcard>
            <Key>string</Key>
            <Longitude>double</Longitude>
            <Latitude>double</Latitude>
            <OrderExtAppTypeId>int</OrderExtAppTypeId>
          </Order>
        </Orders>
        <UserName>string</UserName>
        <FullName>string</FullName>
        <Via>boolean</Via>
        <Taxa>boolean</Taxa>
        <DisponentInitials>string</DisponentInitials>
      </SearchForRouteResult>
    </SearchForRouteResponse>
  </soap12:Body>
</soap12:Envelope>