# FittingsApi
All URIs are relative to *https://esi.evetech.net*
|Method | HTTP request | Description|
|------------- | ------------- | -------------|
|[**deleteCharactersCharacterIdFittingsFittingId**](#deletecharacterscharacteridfittingsfittingid) | **DELETE** /characters/{character_id}/fittings/{fitting_id} | Delete fitting|
|[**getCharactersCharacterIdFittings**](#getcharacterscharacteridfittings) | **GET** /characters/{character_id}/fittings | Get fittings|
|[**postCharactersCharacterIdFittings**](#postcharacterscharacteridfittings) | **POST** /characters/{character_id}/fittings | Create fitting|
# **deleteCharactersCharacterIdFittingsFittingId**
> deleteCharactersCharacterIdFittingsFittingId()
Delete a fitting from a character
### Example
```typescript
import {
FittingsApi,
Configuration
} from 'eve-esi-client-ts';
const configuration = new Configuration();
const apiInstance = new FittingsApi(configuration);
let characterId: number; //The ID of the character (default to undefined)
let fittingId: number; // (default to undefined)
let xCompatibilityDate: '2026-07-17'; //The compatibility date for the request. (default to undefined)
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.deleteCharactersCharacterIdFittingsFittingId(
characterId,
fittingId,
xCompatibilityDate,
acceptLanguage,
ifNoneMatch,
xTenant,
ifModifiedSince
);
```
### Parameters
|Name | Type | Description | Notes|
|------------- | ------------- | ------------- | -------------|
| **characterId** | [**number**] | The ID of the character | defaults to undefined|
| **fittingId** | [**number**] | | 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
void (empty response body)
### Authorization
[OAuth2](../README.md#OAuth2)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**204** | Fitting deleted | * 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)
# **getCharactersCharacterIdFittings**
> Array getCharactersCharacterIdFittings()
Return fittings of a character
### Example
```typescript
import {
FittingsApi,
Configuration
} from 'eve-esi-client-ts';
const configuration = new Configuration();
const apiInstance = new FittingsApi(configuration);
let characterId: number; //The ID of the character (default to undefined)
let xCompatibilityDate: '2026-07-17'; //The compatibility date for the request. (default to undefined)
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.getCharactersCharacterIdFittings(
characterId,
xCompatibilityDate,
acceptLanguage,
ifNoneMatch,
xTenant,
ifModifiedSince
);
```
### Parameters
|Name | Type | Description | Notes|
|------------- | ------------- | ------------- | -------------|
| **characterId** | [**number**] | The ID of the character | 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
**Array**
### Authorization
[OAuth2](../README.md#OAuth2)
### HTTP request headers
- **Content-Type**: Not defined
- **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)
# **postCharactersCharacterIdFittings**
> CharactersCharacterIdFittingsPost postCharactersCharacterIdFittings(postCharactersCharacterIdFittingsRequest)
Save a new fitting for a character
### Example
```typescript
import {
FittingsApi,
Configuration,
PostCharactersCharacterIdFittingsRequest
} from 'eve-esi-client-ts';
const configuration = new Configuration();
const apiInstance = new FittingsApi(configuration);
let characterId: number; //The ID of the character (default to undefined)
let xCompatibilityDate: '2026-07-17'; //The compatibility date for the request. (default to undefined)
let postCharactersCharacterIdFittingsRequest: PostCharactersCharacterIdFittingsRequest; //
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.postCharactersCharacterIdFittings(
characterId,
xCompatibilityDate,
postCharactersCharacterIdFittingsRequest,
acceptLanguage,
ifNoneMatch,
xTenant,
ifModifiedSince
);
```
### Parameters
|Name | Type | Description | Notes|
|------------- | ------------- | ------------- | -------------|
| **postCharactersCharacterIdFittingsRequest** | **PostCharactersCharacterIdFittingsRequest**| | |
| **characterId** | [**number**] | The ID of the character | 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
**CharactersCharacterIdFittingsPost**
### Authorization
[OAuth2](../README.md#OAuth2)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**201** | Created | * 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)