Import Calculator API

Documentation to calculate Import details.

Introduction

Overview

EuroStocks will provide import vehicle calculation details.

Documentation can be incomplete and/or outdated, Contact EuroStocks team by sending an email on api@eurostocks.com for any questions regarding API.

Main features

  • Import Calculator

Prerequisites

Import Calculator API access can be granted to suppliers who wants to get import details, and it requires username, password and API Key to access API.

Limited support for the development process and maintenance: Please note that all examples provided in our documentation are considered as guidelines for your development process but EuroStocks for itself is not able to directly assist with any of your preferred programming languages and/or used scripts.

Working with Import calculator API

Import Calculation

Import Calculation

GET https://services.eurostocks.com/api/v1/importcalculation/importpricecalculation/{co2EmissionVehiclePrice}/{vehiclePrice}/{firstRegistrationDate}/{fuelType}

Headers

NameTypeDescription

UserName*

String

Username which EuroStocks provides

Password*

String

Password which EuroStocks provides

APIKey*

String

ApiKey which EuroStocks provides

Request Body

NameTypeDescription

co2EmissionVehiclePrice*

Number

CO2 emission in G/KM

vehiclePrice

Number

Password which EuroStocks provides

firstRegistrationDate*

Date

first registration date. Format should be {YYYY-MM}Ex. {2018-11}

fuelType*

String

Vehicle fuel type to calculate the details

{
    // Response
}

Sample Success Request

GET /api/v1/importcalculation/importpricecalculation/100/2100/2018-11/PETROL
HOST: services.eurostocks.com
Content-type: "application/json"

Sample Success Response

HTTP/1.1 200 OK						
{
  "Status": 200,
  "Message": "",
  "Result": {
    "BrutoBpm": 2355,
    "AgeDiscount": 1203.09885,
    "RestBpm": 1151.90115,
    "NlPrice": 3251.90115
  }
}

Last updated