Monitor Report Server

<back to all web services

WaysReportRequest

The following routes are available for this service:
GET,POST/report/ways
WaysReportRequest Parameters:
NameParameterData TypeRequiredDescription
StartTimebodyDateTimeNo
EndTimebodyDateTimeNo
CompanyIdbodyintNo
Objectsbodyint[]No
TimeZoneIdbodystringNo
ApiRequest Parameters:
NameParameterData TypeRequiredDescription
ApiKeyformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /report/ways HTTP/1.1 
Host: api.v3.monitorsystem.ru 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<WaysReportRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TS.WebApi.Client.Reporting">
  <ApiKey xmlns="http://schemas.datacontract.org/2004/07/TS.WebApi.Client">String</ApiKey>
  <CompanyId>0</CompanyId>
  <EndTime>0001-01-01T00:00:00</EndTime>
  <Objects xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>0</d2p1:int>
  </Objects>
  <StartTime>0001-01-01T00:00:00</StartTime>
  <TimeZoneId>String</TimeZoneId>
</WaysReportRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ArrayOfKeyValueOfintArrayOfWay7SMGD48B xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfintArrayOfWay7SMGD48B>
    <Key>0</Key>
    <Value xmlns:d3p1="http://schemas.datacontract.org/2004/07/TS.Common.Logistic">
      <d3p1:Way>
        <d3p1:Created>0001-01-01T00:00:00</d3p1:Created>
        <d3p1:CreatedBy>0</d3p1:CreatedBy>
        <d3p1:Id>0</d3p1:Id>
        <d3p1:Modified>0001-01-01T00:00:00</d3p1:Modified>
        <d3p1:ModifiedBy>0</d3p1:ModifiedBy>
        <d3p1:Number>String</d3p1:Number>
        <d3p1:ObjectId>0</d3p1:ObjectId>
        <d3p1:Status>0</d3p1:Status>
        <d3p1:Waypoints>
          <d3p1:Waypoint>
            <d3p1:Address>String</d3p1:Address>
            <d3p1:CloseTime>0001-01-01T00:00:00</d3p1:CloseTime>
            <d3p1:CompanyId>0</d3p1:CompanyId>
            <d3p1:Created>0001-01-01T00:00:00</d3p1:Created>
            <d3p1:CreatedBy>0</d3p1:CreatedBy>
            <d3p1:Description>String</d3p1:Description>
            <d3p1:Distance>0</d3p1:Distance>
            <d3p1:ExternalId>String</d3p1:ExternalId>
            <d3p1:From>0001-01-01T00:00:00</d3p1:From>
            <d3p1:Id>0</d3p1:Id>
            <d3p1:Lat>0</d3p1:Lat>
            <d3p1:Lon>0</d3p1:Lon>
            <d3p1:Modified>0001-01-01T00:00:00</d3p1:Modified>
            <d3p1:ModifiedBy>0</d3p1:ModifiedBy>
            <d3p1:MoneyActually>0</d3p1:MoneyActually>
            <d3p1:MoneyRequired>0</d3p1:MoneyRequired>
            <d3p1:Number>String</d3p1:Number>
            <d3p1:Order>0</d3p1:Order>
            <d3p1:Parking>0</d3p1:Parking>
            <d3p1:Phone>String</d3p1:Phone>
            <d3p1:Reason>String</d3p1:Reason>
            <d3p1:Recipient>String</d3p1:Recipient>
            <d3p1:Status>0</d3p1:Status>
            <d3p1:To>0001-01-01T00:00:00</d3p1:To>
            <d3p1:WayId>0</d3p1:WayId>
          </d3p1:Waypoint>
        </d3p1:Waypoints>
        <d3p1:Wkt>String</d3p1:Wkt>
      </d3p1:Way>
    </Value>
  </KeyValueOfintArrayOfWay7SMGD48B>
</ArrayOfKeyValueOfintArrayOfWay7SMGD48B>