ItemTranslationsApi
All URIs are relative to http://localhost:8000/api
Method | HTTP request | Description |
---|---|---|
itemTranslationDestroy | DELETE /item-translation/{itemTranslation} | Remove the specified item translation |
itemTranslationIndex | GET /item-translation | Display a listing of item translations |
itemTranslationShow | GET /item-translation/{itemTranslation} | Display the specified item translation |
itemTranslationStore | POST /item-translation | Store a newly created item translation |
itemTranslationUpdate | PUT /item-translation/{itemTranslation} | Update the specified item translation |
itemTranslationDestroy
number itemTranslationDestroy()
Example
import {
ItemTranslationsApi,
Configuration
} from './api';
const configuration = new Configuration();
const apiInstance = new ItemTranslationsApi(configuration);
let itemTranslation: string; //The item translation ID (default to undefined)
const { status, data } = await apiInstance.itemTranslationDestroy(
itemTranslation
);
Parameters
Name | Type | Description | Notes |
---|---|---|---|
itemTranslation | [string] | The item translation ID | defaults to undefined |
Return type
number
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers | |————-|————-|——————| |200 | | - | |404 | Not found | - | |401 | Unauthenticated | - |
Back to top Back to API list Back to Model list Back to README
itemTranslationIndex
Array
itemTranslationIndex()
Example
import {
ItemTranslationsApi,
Configuration
} from './api';
const configuration = new Configuration();
const apiInstance = new ItemTranslationsApi(configuration);
const { status, data } = await apiInstance.itemTranslationIndex();
Parameters
This endpoint does not have any parameters.
Return type
**Array
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers | |————-|————-|——————| |200 | | - | |401 | Unauthenticated | - |
Back to top Back to API list Back to Model list Back to README
itemTranslationShow
ItemTranslationShow200Response itemTranslationShow()
Example
import {
ItemTranslationsApi,
Configuration
} from './api';
const configuration = new Configuration();
const apiInstance = new ItemTranslationsApi(configuration);
let itemTranslation: string; //The item translation ID (default to undefined)
const { status, data } = await apiInstance.itemTranslationShow(
itemTranslation
);
Parameters
Name | Type | Description | Notes |
---|---|---|---|
itemTranslation | [string] | The item translation ID | defaults to undefined |
Return type
ItemTranslationShow200Response
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers | |————-|————-|——————| |200 | `ItemTranslationResource` | - | |404 | Not found | - | |401 | Unauthenticated | - |
Back to top Back to API list Back to Model list Back to README
itemTranslationStore
number itemTranslationStore(itemTranslationStoreRequest)
Example
import {
ItemTranslationsApi,
Configuration,
ItemTranslationStoreRequest
} from './api';
const configuration = new Configuration();
const apiInstance = new ItemTranslationsApi(configuration);
let itemTranslationStoreRequest: ItemTranslationStoreRequest; //
const { status, data } = await apiInstance.itemTranslationStore(
itemTranslationStoreRequest
);
Parameters
Name | Type | Description | Notes |
---|---|---|---|
itemTranslationStoreRequest | ItemTranslationStoreRequest |
Return type
number
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
| Status code | Description | Response headers | |————-|————-|——————| |200 | | - | |422 | Validation error | - | |401 | Unauthenticated | - |
Back to top Back to API list Back to Model list Back to README
itemTranslationUpdate
ItemTranslationShow200Response itemTranslationUpdate()
Example
import {
ItemTranslationsApi,
Configuration,
ItemTranslationUpdateRequest
} from './api';
const configuration = new Configuration();
const apiInstance = new ItemTranslationsApi(configuration);
let itemTranslation: string; //The item translation ID (default to undefined)
let itemTranslationUpdateRequest: ItemTranslationUpdateRequest; // (optional)
const { status, data } = await apiInstance.itemTranslationUpdate(
itemTranslation,
itemTranslationUpdateRequest
);
Parameters
Name | Type | Description | Notes |
---|---|---|---|
itemTranslationUpdateRequest | ItemTranslationUpdateRequest | ||
itemTranslation | [string] | The item translation ID | defaults to undefined |
Return type
ItemTranslationShow200Response
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
| Status code | Description | Response headers | |————-|————-|——————| |200 | `ItemTranslationResource` | - | |422 | Validation error | - | |404 | Not found | - | |401 | Unauthenticated | - |
Back to top Back to API list Back to Model list Back to README
This documentation was automatically generated from the TypeScript API client.