# RoutesApi All URIs are relative to *https://esi.evetech.net* |Method | HTTP request | Description| |------------- | ------------- | -------------| |[**postRoute**](#postroute) | **POST** /route/{origin_system_id}/{destination_system_id} | Get route between two systems| # **postRoute** > Route postRoute(routeRequestBody) Calculate the systems between the given origin and destination. ### Example ```typescript import { RoutesApi, Configuration, RouteRequestBody } from 'eve-esi-client-ts'; const configuration = new Configuration(); const apiInstance = new RoutesApi(configuration); let originSystemId: number; //Origin system (default to undefined) let destinationSystemId: number; //Destination system (default to undefined) let xCompatibilityDate: '2026-07-17'; //The compatibility date for the request. (default to undefined) let routeRequestBody: RouteRequestBody; // let acceptLanguage: 'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'; //The language to use for the response. (optional) (default to 'en') let ifNoneMatch: string; //The ETag of the previous request. A 304 will be returned if this matches the current ETag. (optional) (default to undefined) let xTenant: string; //The tenant ID for the request. (optional) (default to 'tranquility') let ifModifiedSince: string; //The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date. (optional) (default to undefined) const { status, data } = await apiInstance.postRoute( originSystemId, destinationSystemId, xCompatibilityDate, routeRequestBody, acceptLanguage, ifNoneMatch, xTenant, ifModifiedSince ); ``` ### Parameters |Name | Type | Description | Notes| |------------- | ------------- | ------------- | -------------| | **routeRequestBody** | **RouteRequestBody**| | | | **originSystemId** | **number** | Origin system | defaults to undefined| | **destinationSystemId** | **number** | Destination system | defaults to undefined| | **xCompatibilityDate** | [**'2026-07-17'**]**Array<'2026-07-17'>** | The compatibility date for the request. | defaults to undefined| | **acceptLanguage** | [**'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'**]**Array<'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'>** | The language to use for the response. | (optional) defaults to 'en'| | **ifNoneMatch** | [**string**] | The ETag of the previous request. A 304 will be returned if this matches the current ETag. | (optional) defaults to undefined| | **xTenant** | [**string**] | The tenant ID for the request. | (optional) defaults to 'tranquility'| | **ifModifiedSince** | [**string**] | The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date. | (optional) defaults to undefined| ### Return type **Route** ### Authorization No authorization required ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| |**200** | OK | * Cache-Control -
* ETag -
* Last-Modified -
| |**0** | Error | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)