# Check Serial Verification Status

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v3/Products/serials/status:
    get:
      summary: Check Serial Verification Status
      deprecated: false
      description: |-
        ตรวจสอบสถานะการสร้าง Warranty ของ Serail Number
        Statuses
              NotRegistered = 1,
                AlreadyVerifiedToOthers = 2,
                Upcoming = 4,
                Active = 5,
                Expired = 6,
      tags:
        - Venio/Product
      parameters:
        - name: CustomerCode
          in: query
          description: 'รหัสลูกค้า ของ Venio '
          required: true
          example: C000001
          schema:
            type: string
        - name: SerialNumber
          in: query
          description: รหัส Serial Number ที่ต้องการตรวจสอบสถานะ
          required: true
          example: pep00001
          schema:
            type: string
        - name: Content-Type
          in: header
          description: ''
          required: true
          example: application/json
          schema:
            type: string
        - name: Ocp-Apim-Subscription-Key
          in: header
          description: รหัส subscription key ลูกค้า
          required: true
          example: '{{subscription_key}}'
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties: {}
              x-apidog-orders: []
            example: ''
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      status:
                        type: integer
                        description: '     NotRegistered = 1,         AlreadyVerifiedToOthers = 2,         Upcoming = 4,         Active = 5,         Expired = 6,'
                      serialNumber:
                        type: string
                    required:
                      - status
                      - serialNumber
                    x-apidog-orders:
                      - status
                      - serialNumber
                  statusCode:
                    type: integer
                  httpStatusCode:
                    type: integer
                required:
                  - data
                  - statusCode
                  - httpStatusCode
                x-apidog-orders:
                  - data
                  - statusCode
                  - httpStatusCode
          headers: {}
          x-apidog-name: OK
        '400':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  hasError:
                    type: boolean
                  errorMessages:
                    type: array
                    items:
                      type: string
                  statusCode:
                    type: integer
                  httpStatusCode:
                    type: integer
                required:
                  - hasError
                  - errorMessages
                  - statusCode
                  - httpStatusCode
                x-apidog-orders:
                  - hasError
                  - errorMessages
                  - statusCode
                  - httpStatusCode
          headers: {}
          x-apidog-name: Bad Request
        '401':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  statusCode:
                    type: integer
                    description: |-
                      สถานะ code ของ httpเช่น
                      200 Ok
                      201 Created
                      400 BadRequest
                      401 Unauthorized
                      404 Record not found
                      500 Internal Server Error
                  message:
                    type: string
                    description: คำบรรยาย error
                x-apidog-orders:
                  - statusCode
                  - message
                required:
                  - statusCode
                  - message
          headers: {}
          x-apidog-name: Unauthorized
        '500':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: object
                    properties:
                      code:
                        type: string
                        description: "<p>สถานะของ\_Business\_Code\_ถ้า<br>Success\_=\_1000<br>Error\_1\_ตัว\_=\_4001<br>Error\_มากกว่า\_1\_ตัว\_=\_4002\_\_\_\_<br>หรือเป็น\_Subcode\_ที่ต้องการจะแสดงเพื่อสื่อความหมายของ\_Error\_โดย\_subcode\_จะเป็นตัวเดียวกับ\_business\_error\_code\_หรือไม่ก็ได้\_เพื่อความสะดวกในการแสดงผล<p>"
                      description:
                        type: string
                        description: คำบรรยาย code
                    x-apidog-orders:
                      - code
                      - description
                    required:
                      - code
                      - description
                  data:
                    type: string
                    description: คำบรรยาย error ที่เกิดขึ้น
                x-apidog-orders:
                  - status
                  - data
                required:
                  - status
                  - data
          headers: {}
          x-apidog-name: Server Error
      security:
        - bearer: []
      x-apidog-folder: Venio/Product
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/351895/apis/api-4113010-run
components:
  schemas: {}
  securitySchemes:
    bearerAuth:
      type: jwt
      scheme: bearer
      bearerFormat: JWT
      description: ใส่ JWT Token ในรูปแบบ Bearer {token}
    bearer:
      type: http
      scheme: bearer
servers:
  - url: https://api.gofive.co.th
    description: Production
security:
  - bearerAuth: []
    x-apidog:
      schemeGroups:
        - id: uyL_cJmK7q60QJZRTi5ot
          schemeIds:
            - bearerAuth
      required: true
      use:
        id: uyL_cJmK7q60QJZRTi5ot
      scopes:
        uyL_cJmK7q60QJZRTi5ot:
          bearerAuth: []

```
