> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zonely.gen.tr/llms.txt
> Use this file to discover all available pages before exploring further.

# Aktualizovat Bahsi

> Vyžádat URL a parametry pro aktualizaci operace Bahsi.

```http theme={"theme":"css-variables"}
POST /Files/Controllers/ControllersAll.php?main=Bettings&container=BettingsUpdateController
```

[bets](https://docs.zonely.gen.tr/cs/developers/modules/bets)


## OpenAPI

````yaml api-specs/bettings-bettingsupdatecontroller.json POST /Files/Controllers/ControllersAll.php
openapi: 3.1.0
info:
  title: Bahsi güncelle
  version: '1.0'
  description: Bahsi güncelle işleminin istek ve yanıt alanları.
servers:
  - url: https://siteadresiniz.example
security: []
paths:
  /Files/Controllers/ControllersAll.php:
    post:
      summary: Bahsi güncelle
      operationId: Bettings_BettingsUpdateController_POST
      parameters:
        - name: main
          in: query
          required: true
          schema:
            type: string
            enum:
              - Bettings
            default: Bettings
          example: Bettings
        - name: container
          in: query
          required: true
          schema:
            type: string
            enum:
              - BettingsUpdateController
            default: BettingsUpdateController
          example: BettingsUpdateController
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                id:
                  type: string
                  description: Kayıt kimliği.
                name:
                  type: string
                  description: Ad.
                home_team:
                  type: string
                  description: İşlem alanı.
                away_team:
                  type: string
                  description: İşlem alanı.
                odd_home:
                  type: string
                  description: İşlem alanı.
                odd_away:
                  type: string
                  description: İşlem alanı.
                min_bet:
                  type: string
                  description: İşlem alanı.
                max_bet:
                  type: string
                  description: İşlem alanı.
                starts_at:
                  type: string
                  description: İşlem alanı.
                status:
                  type: string
                  description: Durum.
                winner_side:
                  type: string
                  description: İşlem alanı.
      responses:
        '200':
          description: İşlem yanıtı.
      security:
        - ApiKey: []
      x-codeSamples:
        - lang: bash
          label: cURL
          source: |-
            curl --request POST \
              --url "https://siteadresiniz.example/Files/Controllers/ControllersAll.php?main=Bettings&container=BettingsUpdateController" \
              --header "X-API-Key: $ZONELY_API_KEY" \
              --form 'id=ALAN_DEGERI' \
              --form 'name=ALAN_DEGERI' \
              --form 'home_team=ALAN_DEGERI' \
              --form 'away_team=ALAN_DEGERI' \
              --form 'odd_home=ALAN_DEGERI' \
              --form 'odd_away=ALAN_DEGERI' \
              --form 'min_bet=ALAN_DEGERI' \
              --form 'max_bet=ALAN_DEGERI' \
              --form 'starts_at=ALAN_DEGERI' \
              --form 'status=ALAN_DEGERI' \
              --form 'winner_side=ALAN_DEGERI'
components:
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: Yönetim panelindeki API anahtarınız.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.