---
title: "Add article details that associate with a Gym"
method: PUT
path: "/api/Article/ArticleGymDetails"
tags: ["Article"]
---

# Add article details that associate with a Gym

`PUT /api/Article/ArticleGymDetails`

## Request body

- GymArticleDetailsDTO[]
  - `articleId` integer
  - `availableQty` number
  - `createdUser` string, nullable — Created User
  - `employeeDiscount` number
  - `employeePrice` number
  - `gymId` integer — Gym Id where article is related
  - `gymIdList` string, nullable — GymId - Gym Id string with comma separated GymIds
  - `gymName` string, nullable — Gym Name
  - `id` integer
  - `isDefault` boolean — Set as the default values for the article
  - `isInventoryItem` boolean
  - `isObsolete` boolean
  - `modifiedUser` string, nullable — Modified user
  - `reorderLevel` number
  - `revenueAccountId` integer — Revenue account Id
  - `sellingPrice` number

## Response `202`

messageId that can use to get the status of import later on.!

- DefaultResponseDTOOfStatusDTO — The DefaultResponseDTO Class. Contains fields of DefaultResponse DTO in application.
  - `isError` boolean
  - `message` string, nullable
  - `responseException` unknown
  - `result` StatusDTO — Imideate response for long running api call.
    - `messageId` string, nullable — Reference id for status endpoint
    - `statusText` string, nullable — Status of API Call
    - `url` string, nullable — Relative url for stauts check

## Other responses

- `500`

---

[API](https://skmtc.net/tlapi/apis/tl-api.md) · [All operations](https://skmtc.net/tlapi/apis/tl-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tlapi/tl-api/versions/349096cc3ded/schema)
