# Tender

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths: {}
components:
  schemas:
    Region:
      type: object
      properties:
        id:
          type: integer
          examples:
            - 3
        name:
          type: string
          examples:
            - Riyadh
      x-apidog-orders:
        - id
        - name
      x-apidog-folder: ''
    Category:
      type: object
      properties:
        id:
          type: integer
          examples:
            - 5
        name:
          type: string
          examples:
            - Construction
      x-apidog-orders:
        - id
        - name
      x-apidog-folder: ''
    Agency:
      type: object
      properties:
        id:
          type: integer
          examples:
            - 100
        name:
          type: string
          description: Agency name in Arabic
          examples:
            - وزارة البنية التحتية
        name_en:
          type: string
          description: Agency name in English
          examples:
            - Ministry of Infrastructure
      x-apidog-orders:
        - id
        - name
        - name_en
      x-apidog-folder: ''
    Tender:
      type: object
      description: >-
        Complete tender object with all details and relations. Fields included
        depend on your account API settings.
      properties:
        id:
          type: integer
          examples:
            - 45678
        referenceNumber:
          type: string
          examples:
            - RFP-2026-001
        tenderName:
          type: string
          description: Tender name in Arabic
          examples:
            - مشروع بناء
        tenderName_en:
          type: string
          description: Tender name in English
          examples:
            - Construction Project
        status:
          type: string
          enum:
            - active
            - closed
            - awarded
            - cancelled
          examples:
            - active
        submitted_at:
          type: string
          format: date-time
          examples:
            - '2026-04-15T10:00:00Z'
        closing_date:
          type: string
          format: date-time
          examples:
            - '2026-05-15T14:00:00Z'
        budget:
          type: number
          examples:
            - 1500000
          nullable: true
        currency:
          type: string
          examples:
            - SAR
          nullable: true
        description:
          type: string
          nullable: true
        agency:
          $ref: '#/components/schemas/Agency'
        category:
          $ref: '#/components/schemas/Category'
        region:
          $ref: '#/components/schemas/Region'
      x-apidog-orders:
        - id
        - referenceNumber
        - tenderName
        - tenderName_en
        - status
        - submitted_at
        - closing_date
        - budget
        - currency
        - description
        - agency
        - category
        - region
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://api.tendersalerts.com/api/integration
    description: Prod Env
security: []

```
