> ## 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.

# 创建注册

> 请求创建注册操作的 URL 和参数 。

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

[Scratch Card](https://docs.zonely.gen.tr/zh-CN/developers/modules/scratch-card)


## OpenAPI

````yaml api-specs/scratchcards-scratchcardsaddcontroller.json POST /Files/Controllers/ControllersAll.php
openapi: 3.1.0
info:
  title: Kayıt oluştur
  version: '1.0'
  description: Kayıt oluştur işleminin istek ve yanıt alanları.
servers:
  - url: https://siteadresiniz.example
security: []
paths:
  /Files/Controllers/ControllersAll.php:
    post:
      summary: Kayıt oluştur
      operationId: Scratchcards_ScratchcardsAddController_POST
      parameters:
        - name: main
          in: query
          required: true
          schema:
            type: string
            enum:
              - Scratchcards
            default: Scratchcards
          example: Scratchcards
        - name: container
          in: query
          required: true
          schema:
            type: string
            enum:
              - ScratchcardsAddController
            default: ScratchcardsAddController
          example: ScratchcardsAddController
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: Ad.
                pricing_type:
                  type: string
                  description: İşlem alanı.
                rewards:
                  type: string
                  description: İşlem alanı.
                price_amount:
                  type: string
                  description: İşlem alanı.
                open_interval:
                  type: string
                  description: İşlem alanı.
                usage_limit:
                  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=Scratchcards&container=ScratchcardsAddController" \
              --header "X-API-Key: $ZONELY_API_KEY" \
              --form 'name=ALAN_DEGERI' \
              --form 'pricing_type=ALAN_DEGERI' \
              --form 'rewards=ALAN_DEGERI' \
              --form 'price_amount=ALAN_DEGERI' \
              --form 'open_interval=ALAN_DEGERI' \
              --form 'usage_limit=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.