openapi: 3.0.3
info:
  title: 'Transport Management System'
  description: ''
  version: 1.0.0
servers:
  -
    url: 'https://devapitms.erunix.id'
paths:
  /api/v1/auth/login:
    post:
      summary: 'Masuk dengan kredensial untuk mendapatkan token'
      operationId: masukDenganKredensialUntukMendapatkanToken
      description: ''
      parameters: []
      responses:
        200:
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 200
                  status: error
                  data: null
                  message: 'Email Not Found'
                properties:
                  code:
                    type: integer
                    example: 200
                  status:
                    type: string
                    example: error
                  data:
                    type: string
                    example: null
                  message:
                    type: string
                    example: 'Email Not Found'
      tags:
        - Authentication
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                email:
                  type: string
                  description: 'email pengguna.'
                  example: demo@mail.com
                password:
                  type: string
                  description: 'kata sandi pengguna.'
                  example: password
              required:
                - email
                - password
      security: []
  /api/v1/auth/access:
    get:
      summary: 'Access Menu Application yang di dapatkan'
      operationId: accessMenuApplicationYangDiDapatkan
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Authentication
  /api/v1/auth/user:
    get:
      summary: 'Data User sesuai dengan token'
      operationId: dataUserSesuaiDenganToken
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Authentication
  /api/v1/fleet/truckAccident:
    get:
      summary: 'List data Truck Accident'
      operationId: listDataTruckAccident
      description: ''
      parameters:
        -
          in: query
          name: search
          description: 'Mencari data Role.'
          example: ...
          required: false
          schema:
            type: string
            description: 'Mencari data Role.'
            example: ...
        -
          in: query
          name: start
          description: 'Menyesuaikan URI paginator.'
          example: '0'
          required: false
          schema:
            type: string
            description: 'Menyesuaikan URI paginator.'
            example: '0'
        -
          in: query
          name: pageSize
          description: 'Menyesuaikan jumlah data yang ditampilkan.'
          example: '10'
          required: false
          schema:
            type: string
            description: 'Menyesuaikan jumlah data yang ditampilkan.'
            example: '10'
        -
          in: query
          name: sortField
          description: 'Menyortir data ( key_name / -key_name ).'
          example: vehicle_desc
          required: false
          schema:
            type: string
            description: 'Menyortir data ( key_name / -key_name ).'
            example: vehicle_desc
        -
          in: query
          name: sortOrder
          description: 'Menyortir data ( asc / desc ), default -desc.'
          example: desc
          required: false
          schema:
            type: string
            description: 'Menyortir data ( asc / desc ), default -desc.'
            example: desc
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Fleet
    post:
      summary: 'Simpan data Truck Accident'
      operationId: simpanDataTruckAccident
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Fleet
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                vehicle_id:
                  type: integer
                  description: 'Vehicle Id.'
                  example: 0
                driver_id:
                  type: integer
                  description: 'Driver Id.'
                  example: 0
                client_id:
                  type: integer
                  description: 'Client Id.'
                  example: 0
                accident_date:
                  type: string
                  description: 'Accident Date.'
                  example: '2024-07-01'
                accident_type:
                  type: string
                  description: 'Accident Type.'
                  example: ...
                location:
                  type: string
                  description: Location.
                  example: ...
                chronology_accident:
                  type: string
                  description: 'Chronology Accident.'
                  example: ...
                vehicle_condition:
                  type: string
                  description: 'Vehicle Condition.'
                  example: ...
                current_position:
                  type: string
                  description: 'Current Position.'
                  example: ...
                amount_less:
                  type: string
                  description: 'Amount Less.'
                  example: ...
                police_investigation_report:
                  type: string
                  description: 'Police Investigation Report.'
                  example: ...
                additional_information:
                  type: string
                  description: 'Additional Information.'
                  example: ...
              required:
                - vehicle_id
                - driver_id
                - client_id
                - accident_date
                - accident_type
                - location
  '/api/v1/fleet/truckAccident/{id}':
    put:
      summary: 'Perbaharui data Truck Accident'
      operationId: perbaharuiDataTruckAccident
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Fleet
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                vehicle_id:
                  type: integer
                  description: 'Vehicle Id.'
                  example: 0
                driver_id:
                  type: integer
                  description: 'Driver Id.'
                  example: 0
                client_id:
                  type: integer
                  description: 'Client Id.'
                  example: 0
                accident_date:
                  type: string
                  description: 'Accident Date.'
                  example: '2024-07-01'
                accident_type:
                  type: string
                  description: 'Accident Type.'
                  example: ...
                location:
                  type: string
                  description: Location.
                  example: ...
                chronology_accident:
                  type: string
                  description: 'Chronology Accident.'
                  example: ...
                vehicle_condition:
                  type: string
                  description: 'Vehicle Condition.'
                  example: ...
                current_position:
                  type: string
                  description: 'Current Position.'
                  example: ...
                amount_less:
                  type: string
                  description: 'Amount Less.'
                  example: ...
                police_investigation_report:
                  type: string
                  description: 'Police Investigation Report.'
                  example: ...
                additional_information:
                  type: string
                  description: 'Additional Information.'
                  example: ...
              required:
                - vehicle_id
                - driver_id
                - client_id
                - accident_date
                - accident_type
                - location
    delete:
      summary: 'Hapus data Truck Accident'
      operationId: hapusDataTruckAccident
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Fleet
    parameters:
      -
        in: path
        name: id
        description: "Truck Accident id. Defaults to 'id'."
        example: 1
        required: true
        schema:
          type: integer
  /api/v1/fleet/serviceOrder:
    get:
      summary: 'List data Service Order'
      operationId: listDataServiceOrder
      description: ''
      parameters:
        -
          in: query
          name: search
          description: 'Mencari data Role.'
          example: ...
          required: false
          schema:
            type: string
            description: 'Mencari data Role.'
            example: ...
        -
          in: query
          name: start
          description: 'Menyesuaikan URI paginator.'
          example: '0'
          required: false
          schema:
            type: string
            description: 'Menyesuaikan URI paginator.'
            example: '0'
        -
          in: query
          name: pageSize
          description: 'Menyesuaikan jumlah data yang ditampilkan.'
          example: '10'
          required: false
          schema:
            type: string
            description: 'Menyesuaikan jumlah data yang ditampilkan.'
            example: '10'
        -
          in: query
          name: sortField
          description: 'Menyortir data ( key_name / -key_name ).'
          example: vehicle_desc
          required: false
          schema:
            type: string
            description: 'Menyortir data ( key_name / -key_name ).'
            example: vehicle_desc
        -
          in: query
          name: sortOrder
          description: 'Menyortir data ( asc / desc ), default -desc.'
          example: desc
          required: false
          schema:
            type: string
            description: 'Menyortir data ( asc / desc ), default -desc.'
            example: desc
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Fleet
    post:
      summary: 'Simpan data Service Order'
      operationId: simpanDataServiceOrder
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Fleet
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                reference:
                  type: string
                  description: Reference.
                  example: ...
                vehicle_id:
                  type: integer
                  description: 'Vehicle Id.'
                  example: 0
                odometer:
                  type: string
                  description: Odometer.
                  example: ...
                registered_date:
                  type: string
                  description: 'Registered Date.'
                  example: '2024-07-01'
                registered_time:
                  type: string
                  description: 'Registered Time.'
                  example: '08:00:00'
                completion_date:
                  type: string
                  description: 'Completion Date.'
                  example: '2024-07-01'
                completion_time:
                  type: string
                  description: 'Completion Time.'
                  example: '08:00:00'
                workshop_id:
                  type: integer
                  description: 'Workshop Id.'
                  example: 0
                service_type:
                  type: string
                  description: 'Service Type.'
                  example: ...
                service_status:
                  type: string
                  description: 'Service Status.'
                  example: ...
                assigned_to:
                  type: integer
                  description: 'Assigned To.'
                  example: 0
                vat:
                  type: string
                  description: Vat.
                  example: ...
                task_entries:
                  type: string
                  description: 'Task Entries.'
                  example: ...
                sub_total:
                  type: string
                  description: 'Sub Total.'
                  example: ...
                total_vat:
                  type: string
                  description: 'Total Vat.'
                  example: ...
                total_amount:
                  type: string
                  description: 'Total Amount.'
                  example: ...
                remark:
                  type: string
                  description: Remark.
                  example: ...
              required:
                - reference
                - vehicle_id
                - odometer
                - registered_date
                - registered_time
                - workshop_id
                - assigned_to
                - task_entries
  '/api/v1/fleet/serviceOrder/{id}':
    put:
      summary: 'Perbaharui data Service Order'
      operationId: perbaharuiDataServiceOrder
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Fleet
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                reference:
                  type: string
                  description: Reference.
                  example: ...
                vehicle_id:
                  type: integer
                  description: 'Vehicle Id.'
                  example: 0
                odometer:
                  type: string
                  description: Odometer.
                  example: ...
                registered_date:
                  type: string
                  description: 'Registered Date.'
                  example: '2024-07-01'
                registered_time:
                  type: string
                  description: 'Registered Time.'
                  example: '08:00:00'
                completion_date:
                  type: string
                  description: 'Completion Date.'
                  example: '2024-07-01'
                completion_time:
                  type: string
                  description: 'Completion Time.'
                  example: '08:00:00'
                workshop_id:
                  type: integer
                  description: 'Workshop Id.'
                  example: 0
                service_type:
                  type: string
                  description: 'Service Type.'
                  example: ...
                service_status:
                  type: string
                  description: 'Service Status.'
                  example: ...
                assigned_to:
                  type: integer
                  description: 'Assigned To.'
                  example: 0
                vat:
                  type: string
                  description: Vat.
                  example: ...
                task_entries:
                  type: string
                  description: 'Task Entries.'
                  example: ...
                sub_total:
                  type: string
                  description: 'Sub Total.'
                  example: ...
                total_vat:
                  type: string
                  description: 'Total Vat.'
                  example: ...
                total_amount:
                  type: string
                  description: 'Total Amount.'
                  example: ...
                remark:
                  type: string
                  description: Remark.
                  example: ...
              required:
                - reference
                - vehicle_id
                - odometer
                - registered_date
                - registered_time
                - workshop_id
                - assigned_to
                - task_entries
    delete:
      summary: 'Hapus data Service Order'
      operationId: hapusDataServiceOrder
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Fleet
    parameters:
      -
        in: path
        name: id
        description: "Service Order id. Defaults to 'id'."
        example: 1
        required: true
        schema:
          type: integer
  /api/v1/fleet/serviceTask:
    get:
      summary: 'List data Service Task'
      operationId: listDataServiceTask
      description: ''
      parameters:
        -
          in: query
          name: search
          description: 'Mencari data Role.'
          example: ...
          required: false
          schema:
            type: string
            description: 'Mencari data Role.'
            example: ...
        -
          in: query
          name: start
          description: 'Menyesuaikan URI paginator.'
          example: '0'
          required: false
          schema:
            type: string
            description: 'Menyesuaikan URI paginator.'
            example: '0'
        -
          in: query
          name: pageSize
          description: 'Menyesuaikan jumlah data yang ditampilkan.'
          example: '10'
          required: false
          schema:
            type: string
            description: 'Menyesuaikan jumlah data yang ditampilkan.'
            example: '10'
        -
          in: query
          name: sortField
          description: 'Menyortir data ( key_name / -key_name ).'
          example: name
          required: false
          schema:
            type: string
            description: 'Menyortir data ( key_name / -key_name ).'
            example: name
        -
          in: query
          name: sortOrder
          description: 'Menyortir data ( asc / desc ), default -desc.'
          example: desc
          required: false
          schema:
            type: string
            description: 'Menyortir data ( asc / desc ), default -desc.'
            example: desc
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Fleet
    post:
      summary: 'Simpan data Service Task'
      operationId: simpanDataServiceTask
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Fleet
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: Name.
                  example: ...
                description:
                  type: string
                  description: Description.
                  example: ...
                is_active:
                  type: integer
                  description: 'Status Active.'
                  example: 0
              required:
                - name
  '/api/v1/fleet/serviceTask/{id}':
    put:
      summary: 'Perbaharui data Service Task'
      operationId: perbaharuiDataServiceTask
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Fleet
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: Name.
                  example: ...
                description:
                  type: string
                  description: Description.
                  example: ...
                is_active:
                  type: integer
                  description: 'Status Active.'
                  example: 0
              required:
                - name
    delete:
      summary: 'Hapus data Service Task'
      operationId: hapusDataServiceTask
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Fleet
    parameters:
      -
        in: path
        name: id
        description: "Service Task id. Defaults to 'id'."
        example: 1
        required: true
        schema:
          type: integer
  /api/v1/master/area:
    get:
      summary: 'List data Area'
      operationId: listDataArea
      description: ''
      parameters:
        -
          in: query
          name: search
          description: 'Mencari data Role.'
          example: ...
          required: false
          schema:
            type: string
            description: 'Mencari data Role.'
            example: ...
        -
          in: query
          name: start
          description: 'Menyesuaikan URI paginator.'
          example: '0'
          required: false
          schema:
            type: string
            description: 'Menyesuaikan URI paginator.'
            example: '0'
        -
          in: query
          name: pageSize
          description: 'Menyesuaikan jumlah data yang ditampilkan.'
          example: '10'
          required: false
          schema:
            type: string
            description: 'Menyesuaikan jumlah data yang ditampilkan.'
            example: '10'
        -
          in: query
          name: sortField
          description: 'Menyortir data ( key_name / -key_name ).'
          example: description
          required: false
          schema:
            type: string
            description: 'Menyortir data ( key_name / -key_name ).'
            example: description
        -
          in: query
          name: sortOrder
          description: 'Menyortir data ( asc / desc ), default -desc.'
          example: desc
          required: false
          schema:
            type: string
            description: 'Menyortir data ( asc / desc ), default -desc.'
            example: desc
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
    post:
      summary: 'Simpan data Area'
      operationId: simpanDataArea
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                area_id:
                  type: string
                  description: 'Area Id.'
                  example: ...
                description:
                  type: string
                  description: Description.
                  example: ...
                area_type:
                  type: string
                  description: 'Area Type.'
                  example: ...
                area_group:
                  type: integer
                  description: 'Area Group.'
                  example: 0
                additional_information:
                  type: string
                  description: 'Additional Information.'
                  example: ...
                area_zone_id:
                  type: integer
                  description: 'Area Zone Id.'
                  example: 0
              required:
                - area_id
                - description
                - area_type
  '/api/v1/master/area/{id}':
    put:
      summary: 'Perbaharui data Area'
      operationId: perbaharuiDataArea
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                area_id:
                  type: string
                  description: 'Area Id.'
                  example: ...
                description:
                  type: string
                  description: Description.
                  example: ...
                area_type:
                  type: string
                  description: 'Area Type.'
                  example: ...
                area_group:
                  type: integer
                  description: 'Area Group.'
                  example: 0
                additional_information:
                  type: string
                  description: 'Additional Information.'
                  example: ...
                area_zone_id:
                  type: integer
                  description: 'Area Zone Id.'
                  example: 0
              required:
                - area_id
                - description
                - area_type
    parameters:
      -
        in: path
        name: id
        description: "Area id. Defaults to 'id'."
        example: 1
        required: true
        schema:
          type: integer
  /api/v1/master/client:
    get:
      summary: 'List data Client'
      operationId: listDataClient
      description: ''
      parameters:
        -
          in: query
          name: search
          description: 'Mencari data Role.'
          example: ...
          required: false
          schema:
            type: string
            description: 'Mencari data Role.'
            example: ...
        -
          in: query
          name: start
          description: 'Menyesuaikan URI paginator.'
          example: '0'
          required: false
          schema:
            type: string
            description: 'Menyesuaikan URI paginator.'
            example: '0'
        -
          in: query
          name: pageSize
          description: 'Menyesuaikan jumlah data yang ditampilkan.'
          example: '10'
          required: false
          schema:
            type: string
            description: 'Menyesuaikan jumlah data yang ditampilkan.'
            example: '10'
        -
          in: query
          name: sortField
          description: 'Menyortir data ( key_name / -key_name ).'
          example: name
          required: false
          schema:
            type: string
            description: 'Menyortir data ( key_name / -key_name ).'
            example: name
        -
          in: query
          name: sortOrder
          description: 'Menyortir data ( asc / desc ), default -desc.'
          example: desc
          required: false
          schema:
            type: string
            description: 'Menyortir data ( asc / desc ), default -desc.'
            example: desc
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
    post:
      summary: 'Simpan data Client'
      operationId: simpanDataClient
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                client_id:
                  type: string
                  description: 'Client Id.'
                  example: ...
                name:
                  type: string
                  description: Name.
                  example: ...
                address1:
                  type: string
                  description: Address1.
                  example: ...
                address2:
                  type: string
                  description: Address2.
                  example: ...
                city:
                  type: string
                  description: City.
                  example: ...
                postal_code:
                  type: string
                  description: 'Postal Code.'
                  example: ...
                phone:
                  type: string
                  description: Phone.
                  example: ...
                fax:
                  type: string
                  description: Fax.
                  example: ...
                pic:
                  type: string
                  description: Pic.
                  example: ...
                email:
                  type: string
                  description: Email.
                  example: ...
                additional_information:
                  type: string
                  description: 'Additional Information.'
                  example: ...
                payment_term:
                  type: string
                  description: 'Payment Term.'
                  example: ...
                is_by_type:
                  type: string
                  description: 'Is By Type.'
                  example: ...
              required:
                - client_id
                - name
  '/api/v1/master/client/{id}':
    put:
      summary: 'Perbaharui data Client'
      operationId: perbaharuiDataClient
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                client_id:
                  type: string
                  description: 'Client Id.'
                  example: ...
                name:
                  type: string
                  description: Name.
                  example: ...
                address1:
                  type: string
                  description: Address1.
                  example: ...
                address2:
                  type: string
                  description: Address2.
                  example: ...
                city:
                  type: string
                  description: City.
                  example: ...
                postal_code:
                  type: string
                  description: 'Postal Code.'
                  example: ...
                phone:
                  type: string
                  description: Phone.
                  example: ...
                fax:
                  type: string
                  description: Fax.
                  example: ...
                pic:
                  type: string
                  description: Pic.
                  example: ...
                email:
                  type: string
                  description: Email.
                  example: ...
                additional_information:
                  type: string
                  description: 'Additional Information.'
                  example: ...
                payment_term:
                  type: string
                  description: 'Payment Term.'
                  example: ...
                is_by_type:
                  type: string
                  description: 'Is By Type.'
                  example: ...
              required:
                - client_id
                - name
    delete:
      summary: 'Hapus data Client'
      operationId: hapusDataClient
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
    parameters:
      -
        in: path
        name: id
        description: "Client id. Defaults to 'id'."
        example: 1
        required: true
        schema:
          type: integer
  /api/v1/master/customer:
    get:
      summary: 'List data Customer'
      operationId: listDataCustomer
      description: ''
      parameters:
        -
          in: query
          name: search
          description: 'Mencari data Role.'
          example: ...
          required: false
          schema:
            type: string
            description: 'Mencari data Role.'
            example: ...
        -
          in: query
          name: start
          description: 'Menyesuaikan URI paginator.'
          example: '0'
          required: false
          schema:
            type: string
            description: 'Menyesuaikan URI paginator.'
            example: '0'
        -
          in: query
          name: pageSize
          description: 'Menyesuaikan jumlah data yang ditampilkan.'
          example: '10'
          required: false
          schema:
            type: string
            description: 'Menyesuaikan jumlah data yang ditampilkan.'
            example: '10'
        -
          in: query
          name: sortField
          description: 'Menyortir data ( key_name / -key_name ).'
          example: name
          required: false
          schema:
            type: string
            description: 'Menyortir data ( key_name / -key_name ).'
            example: name
        -
          in: query
          name: sortOrder
          description: 'Menyortir data ( asc / desc ), default -desc.'
          example: desc
          required: false
          schema:
            type: string
            description: 'Menyortir data ( asc / desc ), default -desc.'
            example: desc
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
    post:
      summary: 'Simpan data Customer'
      operationId: simpanDataCustomer
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                customer_id:
                  type: string
                  description: 'Customer Id.'
                  example: ...
                name:
                  type: string
                  description: Name.
                  example: ...
                address1:
                  type: string
                  description: Address1.
                  example: ...
                address2:
                  type: string
                  description: Address2.
                  example: ...
                type:
                  type: string
                  description: Type.
                  example: ...
                city:
                  type: string
                  description: City.
                  example: ...
                position:
                  type: string
                  description: Position.
                  example: ...
                region_id:
                  type: string
                  description: 'Region Id.'
                  example: ...
                area_id:
                  type: string
                  description: 'Area Id.'
                  example: ...
                postal_code_id:
                  type: integer
                  description: 'Postal Code Id.'
                  example: 0
                postal_code:
                  type: string
                  description: 'Postal Code.'
                  example: ...
                phone:
                  type: string
                  description: Phone.
                  example: ...
                fax:
                  type: string
                  description: Fax.
                  example: ...
                pic:
                  type: string
                  description: Pic.
                  example: ...
                email:
                  type: string
                  description: Email.
                  example: ...
                additional_information:
                  type: string
                  description: 'Additional Information.'
                  example: ...
                latitude:
                  type: string
                  description: Latitude.
                  example: ...
                longitude:
                  type: string
                  description: Longitude.
                  example: ...
                radius:
                  type: string
                  description: Radius.
                  example: ...
                geofence_area:
                  type: string
                  description: 'Geofence Area.'
                  example: ...
                vehicle_type_id:
                  type: string
                  description: 'Vehicle Type Id.'
                  example: ...
                max_volume:
                  type: string
                  description: 'Max Volume.'
                  example: ...
                max_weight:
                  type: string
                  description: 'Max Weight.'
                  example: ...
              required:
                - customer_id
                - name
                - address1
                - area_id
                - postal_code_id
  '/api/v1/master/customer/{id}':
    put:
      summary: 'Perbaharui data Customer'
      operationId: perbaharuiDataCustomer
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                customer_id:
                  type: string
                  description: 'Customer Id.'
                  example: ...
                name:
                  type: string
                  description: Name.
                  example: ...
                address1:
                  type: string
                  description: Address1.
                  example: ...
                address2:
                  type: string
                  description: Address2.
                  example: ...
                type:
                  type: string
                  description: Type.
                  example: ...
                city:
                  type: string
                  description: City.
                  example: ...
                position:
                  type: string
                  description: Position.
                  example: ...
                region_id:
                  type: string
                  description: 'Region Id.'
                  example: ...
                area_id:
                  type: string
                  description: 'Area Id.'
                  example: ...
                postal_code_id:
                  type: integer
                  description: 'Postal Code Id.'
                  example: 0
                postal_code:
                  type: string
                  description: 'Postal Code.'
                  example: ...
                phone:
                  type: string
                  description: Phone.
                  example: ...
                fax:
                  type: string
                  description: Fax.
                  example: ...
                pic:
                  type: string
                  description: Pic.
                  example: ...
                email:
                  type: string
                  description: Email.
                  example: ...
                additional_information:
                  type: string
                  description: 'Additional Information.'
                  example: ...
                latitude:
                  type: string
                  description: Latitude.
                  example: ...
                longitude:
                  type: string
                  description: Longitude.
                  example: ...
                radius:
                  type: string
                  description: Radius.
                  example: ...
                geofence_area:
                  type: string
                  description: 'Geofence Area.'
                  example: ...
                vehicle_type_id:
                  type: string
                  description: 'Vehicle Type Id.'
                  example: ...
                max_volume:
                  type: string
                  description: 'Max Volume.'
                  example: ...
                max_weight:
                  type: string
                  description: 'Max Weight.'
                  example: ...
              required:
                - customer_id
                - name
                - address1
                - area_id
                - postal_code_id
    delete:
      summary: 'Hapus data Customer'
      operationId: hapusDataCustomer
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
    parameters:
      -
        in: path
        name: id
        description: "Customer id. Defaults to 'id'."
        example: 1
        required: true
        schema:
          type: integer
  /api/v1/master/customer/download:
    get:
      summary: 'Download data Customer'
      operationId: downloadDataCustomer
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
  /api/v1/master/transporter:
    get:
      summary: 'List data Transporter'
      operationId: listDataTransporter
      description: ''
      parameters:
        -
          in: query
          name: search
          description: 'Mencari data Role.'
          example: ...
          required: false
          schema:
            type: string
            description: 'Mencari data Role.'
            example: ...
        -
          in: query
          name: start
          description: 'Menyesuaikan URI paginator.'
          example: '0'
          required: false
          schema:
            type: string
            description: 'Menyesuaikan URI paginator.'
            example: '0'
        -
          in: query
          name: pageSize
          description: 'Menyesuaikan jumlah data yang ditampilkan.'
          example: '10'
          required: false
          schema:
            type: string
            description: 'Menyesuaikan jumlah data yang ditampilkan.'
            example: '10'
        -
          in: query
          name: sortField
          description: 'Menyortir data ( key_name / -key_name ).'
          example: name
          required: false
          schema:
            type: string
            description: 'Menyortir data ( key_name / -key_name ).'
            example: name
        -
          in: query
          name: sortOrder
          description: 'Menyortir data ( asc / desc ), default -desc.'
          example: desc
          required: false
          schema:
            type: string
            description: 'Menyortir data ( asc / desc ), default -desc.'
            example: desc
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
    post:
      summary: 'Simpan data Transporter'
      operationId: simpanDataTransporter
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                transporter_id:
                  type: string
                  description: 'Transporter Id.'
                  example: ...
                name:
                  type: string
                  description: Name.
                  example: ...
                address1:
                  type: string
                  description: Address1.
                  example: ...
                address2:
                  type: string
                  description: Address2.
                  example: ...
                city:
                  type: string
                  description: City.
                  example: ...
                postal_code:
                  type: string
                  description: 'Postal Code.'
                  example: ...
                phone:
                  type: string
                  description: Phone.
                  example: ...
                fax:
                  type: string
                  description: Fax.
                  example: ...
                transport_mode:
                  type: string
                  description: 'Transport Mode.'
                  example: ...
                additional_information:
                  type: string
                  description: 'Additional Information.'
                  example: ...
                payment_term:
                  type: string
                  description: 'Payment Term.'
                  example: ...
              required:
                - transporter_id
                - name
  '/api/v1/master/transporter/{id}':
    put:
      summary: 'Perbaharui data Transporter'
      operationId: perbaharuiDataTransporter
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                transporter_id:
                  type: string
                  description: 'Transporter Id.'
                  example: ...
                name:
                  type: string
                  description: Name.
                  example: ...
                address1:
                  type: string
                  description: Address1.
                  example: ...
                address2:
                  type: string
                  description: Address2.
                  example: ...
                city:
                  type: string
                  description: City.
                  example: ...
                postal_code:
                  type: string
                  description: 'Postal Code.'
                  example: ...
                phone:
                  type: string
                  description: Phone.
                  example: ...
                fax:
                  type: string
                  description: Fax.
                  example: ...
                transport_mode:
                  type: string
                  description: 'Transport Mode.'
                  example: ...
                additional_information:
                  type: string
                  description: 'Additional Information.'
                  example: ...
                payment_term:
                  type: string
                  description: 'Payment Term.'
                  example: ...
              required:
                - transporter_id
                - name
    delete:
      summary: 'Hapus data Transporter'
      operationId: hapusDataTransporter
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
    parameters:
      -
        in: path
        name: id
        description: "Transporter id. Defaults to 'id'."
        example: 1
        required: true
        schema:
          type: integer
  /api/v1/master/driver:
    get:
      summary: 'List data Driver'
      operationId: listDataDriver
      description: ''
      parameters:
        -
          in: query
          name: search
          description: 'Mencari data Role.'
          example: ...
          required: false
          schema:
            type: string
            description: 'Mencari data Role.'
            example: ...
        -
          in: query
          name: start
          description: 'Menyesuaikan URI paginator.'
          example: '0'
          required: false
          schema:
            type: string
            description: 'Menyesuaikan URI paginator.'
            example: '0'
        -
          in: query
          name: pageSize
          description: 'Menyesuaikan jumlah data yang ditampilkan.'
          example: '10'
          required: false
          schema:
            type: string
            description: 'Menyesuaikan jumlah data yang ditampilkan.'
            example: '10'
        -
          in: query
          name: sortField
          description: 'Menyortir data ( key_name / -key_name ).'
          example: name
          required: false
          schema:
            type: string
            description: 'Menyortir data ( key_name / -key_name ).'
            example: name
        -
          in: query
          name: sortOrder
          description: 'Menyortir data ( asc / desc ), default -desc.'
          example: desc
          required: false
          schema:
            type: string
            description: 'Menyortir data ( asc / desc ), default -desc.'
            example: desc
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
    post:
      summary: 'Simpan data Driver'
      operationId: simpanDataDriver
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: Name.
                  example: ...
                address1:
                  type: string
                  description: Address1.
                  example: ...
                address2:
                  type: string
                  description: Address2.
                  example: ...
                city:
                  type: string
                  description: City.
                  example: ...
                phone:
                  type: string
                  description: Phone.
                  example: ...
                transporter_id:
                  type: string
                  description: 'Transporter Id.'
                  example: ...
              required:
                - name
                - phone
  '/api/v1/master/driver/{id}':
    put:
      summary: 'Perbaharui data Driver'
      operationId: perbaharuiDataDriver
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: Name.
                  example: ...
                address1:
                  type: string
                  description: Address1.
                  example: ...
                address2:
                  type: string
                  description: Address2.
                  example: ...
                city:
                  type: string
                  description: City.
                  example: ...
                phone:
                  type: string
                  description: Phone.
                  example: ...
                transporter_id:
                  type: string
                  description: 'Transporter Id.'
                  example: ...
              required:
                - name
                - phone
    delete:
      summary: 'Hapus data Driver'
      operationId: hapusDataDriver
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
    parameters:
      -
        in: path
        name: id
        description: "Driver id. Defaults to 'id'."
        example: 1
        required: true
        schema:
          type: integer
  /api/v1/master/vehicleType:
    get:
      summary: 'List data Vehicle Type'
      operationId: listDataVehicleType
      description: ''
      parameters:
        -
          in: query
          name: search
          description: 'Mencari data Role.'
          example: ...
          required: false
          schema:
            type: string
            description: 'Mencari data Role.'
            example: ...
        -
          in: query
          name: start
          description: 'Menyesuaikan URI paginator.'
          example: '0'
          required: false
          schema:
            type: string
            description: 'Menyesuaikan URI paginator.'
            example: '0'
        -
          in: query
          name: pageSize
          description: 'Menyesuaikan jumlah data yang ditampilkan.'
          example: '10'
          required: false
          schema:
            type: string
            description: 'Menyesuaikan jumlah data yang ditampilkan.'
            example: '10'
        -
          in: query
          name: sortField
          description: 'Menyortir data ( key_name / -key_name ).'
          example: description
          required: false
          schema:
            type: string
            description: 'Menyortir data ( key_name / -key_name ).'
            example: description
        -
          in: query
          name: sortOrder
          description: 'Menyortir data ( asc / desc ), default -desc.'
          example: desc
          required: false
          schema:
            type: string
            description: 'Menyortir data ( asc / desc ), default -desc.'
            example: desc
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
    post:
      summary: 'Simpan data Vehicle Type'
      operationId: simpanDataVehicleType
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                type_id:
                  type: string
                  description: Type_Id.
                  example: ...
                description:
                  type: string
                  description: Description.
                  example: ...
                volume_cap:
                  type: string
                  description: Volume_Cap.
                  example: ...
                weight_cap:
                  type: string
                  description: Weight_Cap.
                  example: ...
                sequence_no:
                  type: integer
                  description: Sequence_No.
                  example: 1
              required:
                - type_id
                - description
                - volume_cap
                - weight_cap
  '/api/v1/master/vehicleType/{id}':
    put:
      summary: 'Perbaharui data Vehicle Type'
      operationId: perbaharuiDataVehicleType
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                type_id:
                  type: string
                  description: Type_Id.
                  example: ...
                description:
                  type: string
                  description: Description.
                  example: ...
                volume_cap:
                  type: string
                  description: Volume_Cap.
                  example: ...
                weight_cap:
                  type: string
                  description: Weight_Cap.
                  example: ...
                sequence_no:
                  type: integer
                  description: Sequence_No.
                  example: 1
              required:
                - type_id
                - description
                - volume_cap
                - weight_cap
    delete:
      summary: 'Hapus data Vehicle Type'
      operationId: hapusDataVehicleType
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
    parameters:
      -
        in: path
        name: id
        description: "Vehicle Type id. Defaults to 'id'."
        example: 1
        required: true
        schema:
          type: integer
  /api/v1/master/vehicle:
    get:
      summary: 'List data Vehicle'
      operationId: listDataVehicle
      description: ''
      parameters:
        -
          in: query
          name: search
          description: 'Mencari data Role.'
          example: ...
          required: false
          schema:
            type: string
            description: 'Mencari data Role.'
            example: ...
        -
          in: query
          name: start
          description: 'Menyesuaikan URI paginator.'
          example: '0'
          required: false
          schema:
            type: string
            description: 'Menyesuaikan URI paginator.'
            example: '0'
        -
          in: query
          name: pageSize
          description: 'Menyesuaikan jumlah data yang ditampilkan.'
          example: '10'
          required: false
          schema:
            type: string
            description: 'Menyesuaikan jumlah data yang ditampilkan.'
            example: '10'
        -
          in: query
          name: sortField
          description: 'Menyortir data ( key_name / -key_name ).'
          example: vehicle_id
          required: false
          schema:
            type: string
            description: 'Menyortir data ( key_name / -key_name ).'
            example: vehicle_id
        -
          in: query
          name: sortOrder
          description: 'Menyortir data ( asc / desc ), default -desc.'
          example: desc
          required: false
          schema:
            type: string
            description: 'Menyortir data ( asc / desc ), default -desc.'
            example: desc
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
    post:
      summary: 'Simpan data Vehicle'
      operationId: simpanDataVehicle
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                vehicle_id:
                  type: string
                  description: 'Vehicle Id.'
                  example: ...
                driver:
                  type: string
                  description: Driver.
                  example: ...
                co_driver:
                  type: string
                  description: 'Co Driver.'
                  example: ...
                transporter_id:
                  type: string
                  description: 'Transporter Id.'
                  example: ...
                status:
                  type: string
                  description: 'Status 1 = On Call, 2 = Dedicated.'
                  example: '1'
                type:
                  type: string
                  description: Type.
                  example: ...
                max_volume:
                  type: string
                  description: 'Max Volume.'
                  example: ...
                max_weight:
                  type: string
                  description: 'Max Weight.'
                  example: ...
                client_id:
                  type: string
                  description: 'Client Id.'
                  example: ...
                subcon:
                  type: string
                  description: Subcon.
                  example: ...
                period_invoice:
                  type: string
                  description: 'Period Invoice.'
                  example: ...
                additional_information:
                  type: string
                  description: 'Additional Information.'
                  example: ...
              required:
                - vehicle_id
                - driver
                - co_driver
                - transporter_id
                - status
                - type
                - max_volume
                - max_weight
  '/api/v1/master/vehicle/{id}':
    put:
      summary: 'Perbaharui data Vehicle'
      operationId: perbaharuiDataVehicle
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                vehicle_id:
                  type: string
                  description: 'Vehicle Id.'
                  example: ...
                driver:
                  type: string
                  description: Driver.
                  example: ...
                co_driver:
                  type: string
                  description: 'Co Driver.'
                  example: ...
                transporter_id:
                  type: string
                  description: 'Transporter Id.'
                  example: ...
                status:
                  type: string
                  description: 'Status 1 = On Call, 2 = Dedicated.'
                  example: '1'
                type:
                  type: string
                  description: Type.
                  example: ...
                max_volume:
                  type: string
                  description: 'Max Volume.'
                  example: ...
                max_weight:
                  type: string
                  description: 'Max Weight.'
                  example: ...
                client_id:
                  type: string
                  description: 'Client Id.'
                  example: ...
                subcon:
                  type: string
                  description: Subcon.
                  example: ...
                period_invoice:
                  type: string
                  description: 'Period Invoice.'
                  example: ...
                additional_information:
                  type: string
                  description: 'Additional Information.'
                  example: ...
              required:
                - vehicle_id
                - driver
                - co_driver
                - transporter_id
                - status
                - type
                - max_volume
                - max_weight
    delete:
      summary: 'Hapus Vehicle'
      operationId: hapusVehicle
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
    parameters:
      -
        in: path
        name: id
        description: "Vehicle id. Defaults to 'id'."
        example: 1
        required: true
        schema:
          type: integer
  /api/v1/master/transporter-rate:
    get:
      summary: 'List data Transporter Rate'
      operationId: listDataTransporterRate
      description: ''
      parameters:
        -
          in: query
          name: search
          description: 'Mencari data Role.'
          example: ...
          required: false
          schema:
            type: string
            description: 'Mencari data Role.'
            example: ...
        -
          in: query
          name: start
          description: 'Menyesuaikan URI paginator.'
          example: '0'
          required: false
          schema:
            type: string
            description: 'Menyesuaikan URI paginator.'
            example: '0'
        -
          in: query
          name: pageSize
          description: 'Menyesuaikan jumlah data yang ditampilkan.'
          example: '10'
          required: false
          schema:
            type: string
            description: 'Menyesuaikan jumlah data yang ditampilkan.'
            example: '10'
        -
          in: query
          name: sortField
          description: 'Menyortir data ( key_name / -key_name ).'
          example: client_desc
          required: false
          schema:
            type: string
            description: 'Menyortir data ( key_name / -key_name ).'
            example: client_desc
        -
          in: query
          name: sortOrder
          description: 'Menyortir data ( asc / desc ), default -desc.'
          example: desc
          required: false
          schema:
            type: string
            description: 'Menyortir data ( asc / desc ), default -desc.'
            example: desc
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
    post:
      summary: 'Simpan data Transporter Rate'
      operationId: simpanDataTransporterRate
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                rate_status:
                  type: string
                  description: 'Rate Status 0 = Inactive, 1 = Active.'
                  example: '1'
                client_id:
                  type: string
                  description: 'Client Id.'
                  example: ...
                transporter_id:
                  type: string
                  description: 'Transporter Id.'
                  example: ...
                origin_id:
                  type: string
                  description: 'Origin Id.'
                  example: ...
                destination_id:
                  type: string
                  description: 'Destination Id.'
                  example: ...
                type_id:
                  type: string
                  description: 'Type Id.'
                  example: ...
                status:
                  type: string
                  description: 'Status 1 = On Call, 2 = Dedicated.'
                  example: '1'
                currency:
                  type: string
                  description: Currency.
                  example: IDR
                rate_type:
                  type: string
                  description: 'Rate Type 1 = Reguler, 2 = Weight.'
                  example: '1'
                vehicle_rate:
                  type: string
                  description: 'Vehicle Rate.'
                  example: '1'
                unloading_cost:
                  type: string
                  description: 'Unloading Cost.'
                  example: ...
                remark:
                  type: longtext
                  description: Remark.
                  example: ...
              required:
                - client_id
                - transporter_id
                - origin_id
                - type_id
                - status
                - rate_type
                - vehicle_rate
  '/api/v1/master/transporter-rate/{id}':
    put:
      summary: 'Perbaharui data Transporter Rate'
      operationId: perbaharuiDataTransporterRate
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                rate_status:
                  type: string
                  description: 'Rate Status 0 = Inactive, 1 = Active.'
                  example: '1'
                client_id:
                  type: string
                  description: 'Client Id.'
                  example: ...
                transporter_id:
                  type: string
                  description: 'Transporter Id.'
                  example: ...
                origin_id:
                  type: string
                  description: 'Origin Id.'
                  example: ...
                destination_id:
                  type: string
                  description: 'Destination Id.'
                  example: ...
                type_id:
                  type: string
                  description: 'Type Id.'
                  example: ...
                status:
                  type: string
                  description: 'Status 1 = On Call, 2 = Dedicated.'
                  example: '1'
                currency:
                  type: string
                  description: Currency.
                  example: IDR
                rate_type:
                  type: string
                  description: 'Rate Type 1 = Reguler, 2 = Weight.'
                  example: '1'
                vehicle_rate:
                  type: string
                  description: 'Vehicle Rate.'
                  example: '1'
                unloading_cost:
                  type: string
                  description: 'Unloading Cost.'
                  example: ...
                remark:
                  type: longtext
                  description: Remark.
                  example: ...
              required:
                - client_id
                - transporter_id
                - origin_id
                - type_id
                - status
                - rate_type
                - vehicle_rate
    delete:
      summary: 'Hapus data Transporter Rate'
      operationId: hapusDataTransporterRate
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
    parameters:
      -
        in: path
        name: id
        description: "Transporter Rate id. Defaults to 'id'."
        example: 1
        required: true
        schema:
          type: integer
  /api/v1/master/transporter-rate/download:
    get:
      summary: 'Download Transporter Rate'
      operationId: downloadTransporterRate
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
  /api/v1/master/client-rate:
    get:
      summary: 'List data Client Rate'
      operationId: listDataClientRate
      description: ''
      parameters:
        -
          in: query
          name: search
          description: 'Mencari data Role.'
          example: ...
          required: false
          schema:
            type: string
            description: 'Mencari data Role.'
            example: ...
        -
          in: query
          name: start
          description: 'Menyesuaikan URI paginator.'
          example: '0'
          required: false
          schema:
            type: string
            description: 'Menyesuaikan URI paginator.'
            example: '0'
        -
          in: query
          name: pageSize
          description: 'Menyesuaikan jumlah data yang ditampilkan.'
          example: '10'
          required: false
          schema:
            type: string
            description: 'Menyesuaikan jumlah data yang ditampilkan.'
            example: '10'
        -
          in: query
          name: sortField
          description: 'Menyortir data ( key_name / -key_name ).'
          example: client_desc
          required: false
          schema:
            type: string
            description: 'Menyortir data ( key_name / -key_name ).'
            example: client_desc
        -
          in: query
          name: sortOrder
          description: 'Menyortir data ( asc / desc ), default -desc.'
          example: desc
          required: false
          schema:
            type: string
            description: 'Menyortir data ( asc / desc ), default -desc.'
            example: desc
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
    post:
      summary: 'Simpan data Client Rate'
      operationId: simpanDataClientRate
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                rate_status:
                  type: string
                  description: 'Rate Status 0 = Inactive, 1 = Active.'
                  example: '1'
                client_id:
                  type: string
                  description: 'Client Id.'
                  example: ...
                transporter_id:
                  type: string
                  description: 'Transporter Id.'
                  example: ...
                origin_id:
                  type: string
                  description: 'Origin Id.'
                  example: ...
                destination_id:
                  type: string
                  description: 'Destination Id.'
                  example: ...
                type_id:
                  type: string
                  description: 'Type Id.'
                  example: ...
                status:
                  type: string
                  description: 'Status Status 1 = On Call, 2 = Dedicated.'
                  example: '1'
                currency:
                  type: string
                  description: Currency.
                  example: IDR
                rate_type:
                  type: string
                  description: 'Rate Type 1 = Reguler, 2 = Weight.'
                  example: '1'
                vehicle_rate:
                  type: string
                  description: 'Vehicle Rate.'
                  example: '1'
                unloading_cost:
                  type: string
                  description: 'Unloading Cost.'
                  example: ...
                remark:
                  type: string
                  description: Remark.
                  example: ...
              required:
                - client_id
                - origin_id
                - type_id
                - status
                - rate_type
                - vehicle_rate
  '/api/v1/master/client-rate/{id}':
    put:
      summary: 'Perbaharui data Client Rate'
      operationId: perbaharuiDataClientRate
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                rate_status:
                  type: string
                  description: 'Rate Status 0 = Inactive, 1 = Active.'
                  example: '1'
                client_id:
                  type: string
                  description: 'Client Id.'
                  example: ...
                transporter_id:
                  type: string
                  description: 'Transporter Id.'
                  example: ...
                origin_id:
                  type: string
                  description: 'Origin Id.'
                  example: ...
                destination_id:
                  type: string
                  description: 'Destination Id.'
                  example: ...
                type_id:
                  type: string
                  description: 'Type Id.'
                  example: ...
                status:
                  type: string
                  description: 'Status Status 1 = On Call, 2 = Dedicated.'
                  example: '1'
                currency:
                  type: string
                  description: Currency.
                  example: IDR
                rate_type:
                  type: string
                  description: 'Rate Type 1 = Reguler, 2 = Weight.'
                  example: '1'
                vehicle_rate:
                  type: string
                  description: 'Vehicle Rate.'
                  example: '1'
                unloading_cost:
                  type: string
                  description: 'Unloading Cost.'
                  example: ...
                remark:
                  type: string
                  description: Remark.
                  example: ...
              required:
                - client_id
                - origin_id
                - type_id
                - status
                - rate_type
                - vehicle_rate
    delete:
      summary: 'Hapus data Client Rate'
      operationId: hapusDataClientRate
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
    parameters:
      -
        in: path
        name: id
        description: "Client Rate id. Defaults to 'id'."
        example: 1
        required: true
        schema:
          type: integer
  /api/v1/master/client-rate/download:
    get:
      summary: 'Download Client Rate'
      operationId: downloadClientRate
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
  /api/v1/master/workshop:
    get:
      summary: 'List data Workshop'
      operationId: listDataWorkshop
      description: ''
      parameters:
        -
          in: query
          name: search
          description: 'Mencari data Role.'
          example: ...
          required: false
          schema:
            type: string
            description: 'Mencari data Role.'
            example: ...
        -
          in: query
          name: start
          description: 'Menyesuaikan URI paginator.'
          example: '0'
          required: false
          schema:
            type: string
            description: 'Menyesuaikan URI paginator.'
            example: '0'
        -
          in: query
          name: pageSize
          description: 'Menyesuaikan jumlah data yang ditampilkan.'
          example: '10'
          required: false
          schema:
            type: string
            description: 'Menyesuaikan jumlah data yang ditampilkan.'
            example: '10'
        -
          in: query
          name: sortField
          description: 'Menyortir data ( key_name / -key_name ).'
          example: name
          required: false
          schema:
            type: string
            description: 'Menyortir data ( key_name / -key_name ).'
            example: name
        -
          in: query
          name: sortOrder
          description: 'Menyortir data ( asc / desc ), default -desc.'
          example: desc
          required: false
          schema:
            type: string
            description: 'Menyortir data ( asc / desc ), default -desc.'
            example: desc
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
    post:
      summary: 'Simpan data Workshop'
      operationId: simpanDataWorkshop
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                workshop_id:
                  type: string
                  description: 'Workshop Id.'
                  example: ...
                name:
                  type: string
                  description: Name.
                  example: ...
                address1:
                  type: string
                  description: Address1.
                  example: ...
                address2:
                  type: string
                  description: Address2.
                  example: ...
                city:
                  type: string
                  description: City.
                  example: ...
                postal_code:
                  type: string
                  description: 'Postal Code.'
                  example: ...
                phone:
                  type: string
                  description: Phone.
                  example: ...
                additional_information:
                  type: string
                  description: 'Additional Information.'
                  example: ...
                is_active:
                  type: integer
                  description: 'Is Active 1 = Active, 0 = Inactive.'
                  example: 1
              required:
                - workshop_id
                - name
  '/api/v1/master/workshop/{id}':
    put:
      summary: 'Perbaharui data Workshop'
      operationId: perbaharuiDataWorkshop
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                workshop_id:
                  type: string
                  description: 'Workshop Id.'
                  example: ...
                name:
                  type: string
                  description: Name.
                  example: ...
                address1:
                  type: string
                  description: Address1.
                  example: ...
                address2:
                  type: string
                  description: Address2.
                  example: ...
                city:
                  type: string
                  description: City.
                  example: ...
                postal_code:
                  type: string
                  description: 'Postal Code.'
                  example: ...
                phone:
                  type: string
                  description: Phone.
                  example: ...
                additional_information:
                  type: string
                  description: 'Additional Information.'
                  example: ...
                is_active:
                  type: integer
                  description: 'Is Active 1 = Active, 0 = Inactive.'
                  example: 1
              required:
                - workshop_id
                - name
    delete:
      summary: 'Hapus data Workshop'
      operationId: hapusDataWorkshop
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
    parameters:
      -
        in: path
        name: id
        description: "Workshop id. Defaults to 'id'."
        example: 1
        required: true
        schema:
          type: integer
  /api/v1/master/mechanic:
    get:
      summary: 'List data Mechanic'
      operationId: listDataMechanic
      description: ''
      parameters:
        -
          in: query
          name: search
          description: 'Mencari data Role.'
          example: ...
          required: false
          schema:
            type: string
            description: 'Mencari data Role.'
            example: ...
        -
          in: query
          name: start
          description: 'Menyesuaikan URI paginator.'
          example: '0'
          required: false
          schema:
            type: string
            description: 'Menyesuaikan URI paginator.'
            example: '0'
        -
          in: query
          name: pageSize
          description: 'Menyesuaikan jumlah data yang ditampilkan.'
          example: '10'
          required: false
          schema:
            type: string
            description: 'Menyesuaikan jumlah data yang ditampilkan.'
            example: '10'
        -
          in: query
          name: sortField
          description: 'Menyortir data ( key_name / -key_name ).'
          example: name
          required: false
          schema:
            type: string
            description: 'Menyortir data ( key_name / -key_name ).'
            example: name
        -
          in: query
          name: sortOrder
          description: 'Menyortir data ( asc / desc ), default -desc.'
          example: desc
          required: false
          schema:
            type: string
            description: 'Menyortir data ( asc / desc ), default -desc.'
            example: desc
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
    post:
      summary: 'Simpan data Mechanic'
      operationId: simpanDataMechanic
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: Name.
                  example: ...
                address1:
                  type: string
                  description: Address1.
                  example: ...
                address2:
                  type: string
                  description: Address2.
                  example: ...
                city:
                  type: string
                  description: City.
                  example: ...
                phone:
                  type: string
                  description: Phone.
                  example: ...
                workshop_id:
                  type: integer
                  description: 'Workshop Id.'
                  example: 0
              required:
                - name
  '/api/v1/master/mechanic/{id}':
    put:
      summary: 'Perbaharui data Mechanic'
      operationId: perbaharuiDataMechanic
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: Name.
                  example: ...
                address1:
                  type: string
                  description: Address1.
                  example: ...
                address2:
                  type: string
                  description: Address2.
                  example: ...
                city:
                  type: string
                  description: City.
                  example: ...
                phone:
                  type: string
                  description: Phone.
                  example: ...
                workshop_id:
                  type: integer
                  description: 'Workshop Id.'
                  example: 0
              required:
                - name
    delete:
      summary: 'Hapus data Mechanic'
      operationId: hapusDataMechanic
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
    parameters:
      -
        in: path
        name: id
        description: "Mechanic id. Defaults to 'id'."
        example: 1
        required: true
        schema:
          type: integer
  /api/v1/master/postal-code:
    get:
      summary: 'List data Postal Code'
      operationId: listDataPostalCode
      description: ''
      parameters:
        -
          in: query
          name: search
          description: 'Mencari data Role.'
          example: ...
          required: false
          schema:
            type: string
            description: 'Mencari data Role.'
            example: ...
        -
          in: query
          name: start
          description: 'Menyesuaikan URI paginator.'
          example: '0'
          required: false
          schema:
            type: string
            description: 'Menyesuaikan URI paginator.'
            example: '0'
        -
          in: query
          name: pageSize
          description: 'Menyesuaikan jumlah data yang ditampilkan.'
          example: '10'
          required: false
          schema:
            type: string
            description: 'Menyesuaikan jumlah data yang ditampilkan.'
            example: '10'
        -
          in: query
          name: sortField
          description: 'Menyortir data ( key_name / -key_name ).'
          example: urban_village
          required: false
          schema:
            type: string
            description: 'Menyortir data ( key_name / -key_name ).'
            example: urban_village
        -
          in: query
          name: sortOrder
          description: 'Menyortir data ( asc / desc ), default -desc.'
          example: desc
          required: false
          schema:
            type: string
            description: 'Menyortir data ( asc / desc ), default -desc.'
            example: desc
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
  '/api/v1/master/postal-code/{id}':
    put:
      summary: 'Perbaharui data Postal Code'
      operationId: perbaharuiDataPostalCode
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Master
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                urban_village:
                  type: string
                  description: Urban_village.
                  example: ...
                sub_district:
                  type: string
                  description: Sub_district.
                  example: ...
                district:
                  type: string
                  description: District.
                  example: ...
                province:
                  type: string
                  description: Province.
                  example: ...
                area_id:
                  type: string
                  description: Area_id.
                  example: ...
                postal_code:
                  type: string
                  description: Postal_code.
                  example: ...
              required:
                - area_id
                - postal_code
    parameters:
      -
        in: path
        name: id
        description: "Postal Code id. Defaults to 'id'."
        example: 1
        required: true
        schema:
          type: integer
  /api/v1/option/area:
    get:
      summary: 'List Option Areas'
      operationId: listOptionAreas
      description: ''
      parameters:
        -
          in: query
          name: search
          description: 'Mencari data Area.'
          example: ...
          required: false
          schema:
            type: string
            description: 'Mencari data Area.'
            example: ...
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Options
  /api/v1/option/transporter:
    get:
      summary: 'List Option Transporters'
      operationId: listOptionTransporters
      description: ''
      parameters:
        -
          in: query
          name: search
          description: 'Mencari data Transporter.'
          example: ...
          required: false
          schema:
            type: string
            description: 'Mencari data Transporter.'
            example: ...
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Options
  /api/v1/option/workshop:
    get:
      summary: 'List Option Workshops'
      operationId: listOptionWorkshops
      description: ''
      parameters:
        -
          in: query
          name: search
          description: 'Mencari data Workshop.'
          example: ...
          required: false
          schema:
            type: string
            description: 'Mencari data Workshop.'
            example: ...
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Options
  /api/v1/option/vehicleType:
    get:
      summary: 'List Option Vehicle Types'
      operationId: listOptionVehicleTypes
      description: ''
      parameters:
        -
          in: query
          name: search
          description: 'Mencari data Vehicle Type.'
          example: ...
          required: false
          schema:
            type: string
            description: 'Mencari data Vehicle Type.'
            example: ...
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Options
  /api/v1/option/driver:
    get:
      summary: 'List Option Drivers'
      operationId: listOptionDrivers
      description: ''
      parameters:
        -
          in: query
          name: search
          description: 'Mencari data Driver.'
          example: ...
          required: false
          schema:
            type: string
            description: 'Mencari data Driver.'
            example: ...
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Options
  /api/v1/option/client:
    get:
      summary: 'List Option Clients'
      operationId: listOptionClients
      description: ''
      parameters:
        -
          in: query
          name: search
          description: 'Mencari data Client.'
          example: ...
          required: false
          schema:
            type: string
            description: 'Mencari data Client.'
            example: ...
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Options
  /api/v1/option/vehicle:
    get:
      summary: 'List Option Vehicles'
      operationId: listOptionVehicles
      description: ''
      parameters:
        -
          in: query
          name: search
          description: 'Mencari data Vehicle.'
          example: ...
          required: false
          schema:
            type: string
            description: 'Mencari data Vehicle.'
            example: ...
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Options
  /api/v1/option/mechanic:
    get:
      summary: 'List Option Mechanics'
      operationId: listOptionMechanics
      description: ''
      parameters:
        -
          in: query
          name: search
          description: 'Mencari data Mechanic.'
          example: ...
          required: false
          schema:
            type: string
            description: 'Mencari data Mechanic.'
            example: ...
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Options
  /api/v1/option/serviceTask:
    get:
      summary: 'List Option Service Tasks'
      operationId: listOptionServiceTasks
      description: ''
      parameters:
        -
          in: query
          name: search
          description: 'Mencari data Service Task.'
          example: ...
          required: false
          schema:
            type: string
            description: 'Mencari data Service Task.'
            example: ...
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Options
  /api/v1/option/customer:
    get:
      summary: 'List Option Customers'
      operationId: listOptionCustomers
      description: ''
      parameters:
        -
          in: query
          name: search
          description: 'Mencari data Customer.'
          example: ...
          required: false
          schema:
            type: string
            description: 'Mencari data Customer.'
            example: ...
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Options
  /api/v1/option/uom:
    get:
      summary: 'List Option UOMs'
      operationId: listOptionUOMs
      description: ''
      parameters:
        -
          in: query
          name: search
          description: 'Mencari data UOM.'
          example: ...
          required: false
          schema:
            type: string
            description: 'Mencari data UOM.'
            example: ...
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Options
  /api/v1/option/componentTransport:
    get:
      summary: 'List Option Component Transports'
      operationId: listOptionComponentTransports
      description: ''
      parameters:
        -
          in: query
          name: search
          description: 'Mencari data Component Transport.'
          example: ...
          required: false
          schema:
            type: string
            description: 'Mencari data Component Transport.'
            example: ...
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Options
  /api/v1/option/componentPod:
    get:
      summary: 'List Option Component PODs'
      operationId: listOptionComponentPODs
      description: ''
      parameters:
        -
          in: query
          name: search
          description: 'Mencari data Component POD.'
          example: ...
          required: false
          schema:
            type: string
            description: 'Mencari data Component POD.'
            example: ...
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Options
  /api/v1/option/uom2:
    get:
      summary: 'List Option UOMs'
      operationId: listOptionUOMs
      description: ''
      parameters:
        -
          in: query
          name: search
          description: 'Mencari data UOM.'
          example: ...
          required: false
          schema:
            type: string
            description: 'Mencari data UOM.'
            example: ...
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Options
  /api/v1/option/role:
    get:
      summary: 'List Option Roles'
      operationId: listOptionRoles
      description: ''
      parameters:
        -
          in: query
          name: search
          description: 'Mencari data Role.'
          example: ...
          required: false
          schema:
            type: string
            description: 'Mencari data Role.'
            example: ...
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Options
  /api/v1/option/settingOption:
    get:
      summary: 'List Option Setting'
      operationId: listOptionSetting
      description: ''
      parameters:
        -
          in: query
          name: search
          description: 'Mencari data Setting.'
          example: ...
          required: false
          schema:
            type: string
            description: 'Mencari data Setting.'
            example: ...
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Options
  /api/v1/option/ringCode:
    get:
      summary: 'List Option Ring Codes'
      operationId: listOptionRingCodes
      description: ''
      parameters:
        -
          in: query
          name: search
          description: 'Mencari data Ring Code.'
          example: ...
          required: false
          schema:
            type: string
            description: 'Mencari data Ring Code.'
            example: ...
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Options
  /api/v1/option/postal-code:
    get:
      summary: 'List Option Postal Codes'
      operationId: listOptionPostalCodes
      description: ''
      parameters:
        -
          in: query
          name: search
          description: 'Mencari data Postal Code.'
          example: ...
          required: false
          schema:
            type: string
            description: 'Mencari data Postal Code.'
            example: ...
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Options
  /api/v1/option/clientAll:
    get:
      summary: 'List Option All Clients'
      operationId: listOptionAllClients
      description: ''
      parameters:
        -
          in: query
          name: search
          description: 'Mencari data All Client.'
          example: ...
          required: false
          schema:
            type: string
            description: 'Mencari data All Client.'
            example: ...
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Options
  /api/v1/option/sales-order:
    get:
      summary: 'List Option Sales Orders'
      operationId: listOptionSalesOrders
      description: ''
      parameters:
        -
          in: query
          name: search
          description: 'Mencari data Sales Order.'
          example: ...
          required: false
          schema:
            type: string
            description: 'Mencari data Sales Order.'
            example: ...
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Options
  /api/v1/option/product-sales-order:
    get:
      summary: 'List Option Product Sales Orders'
      operationId: listOptionProductSalesOrders
      description: ''
      parameters:
        -
          in: query
          name: search
          description: 'Mencari data Product Sales Order.'
          example: ...
          required: false
          schema:
            type: string
            description: 'Mencari data Product Sales Order.'
            example: ...
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Options
  /api/v1/option/area-zone:
    get:
      summary: 'List Option Area Zones'
      operationId: listOptionAreaZones
      description: ''
      parameters:
        -
          in: query
          name: search
          description: 'Mencari data Area Zone.'
          example: ...
          required: false
          schema:
            type: string
            description: 'Mencari data Area Zone.'
            example: ...
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Options
  /api/v1/report/pnl:
    get:
      summary: 'List data Report Profit & Lost'
      operationId: listDataReportProfitLost
      description: ''
      parameters:
        -
          in: query
          name: start_date
          description: 'Start Date filter data.'
          example: '2024-07-01'
          required: true
          schema:
            type: string
            description: 'Start Date filter data.'
            example: '2024-07-01'
        -
          in: query
          name: end_date
          description: 'End Date filter data.'
          example: '2024-07-30'
          required: true
          schema:
            type: string
            description: 'End Date filter data.'
            example: '2024-07-30'
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Report
  /api/v1/report/pnl/export:
    get:
      summary: 'Export data Report Profit & Lost'
      operationId: exportDataReportProfitLost
      description: ''
      parameters:
        -
          in: query
          name: start_date
          description: 'Start Date filter data.'
          example: '2024-07-01'
          required: true
          schema:
            type: string
            description: 'Start Date filter data.'
            example: '2024-07-01'
        -
          in: query
          name: end_date
          description: 'End Date filter data.'
          example: '2024-07-30'
          required: true
          schema:
            type: string
            description: 'End Date filter data.'
            example: '2024-07-30'
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Report
  /api/v1/report/operational:
    get:
      summary: 'List data Report Operation'
      operationId: listDataReportOperation
      description: ''
      parameters:
        -
          in: query
          name: start_date
          description: 'Start Date filter data.'
          example: '2024-07-01'
          required: true
          schema:
            type: string
            description: 'Start Date filter data.'
            example: '2024-07-01'
        -
          in: query
          name: end_date
          description: 'End Date filter data.'
          example: '2024-07-30'
          required: true
          schema:
            type: string
            description: 'End Date filter data.'
            example: '2024-07-30'
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Report
  /api/v1/report/operational/export:
    get:
      summary: 'Export data Report Operation'
      operationId: exportDataReportOperation
      description: ''
      parameters:
        -
          in: query
          name: start_date
          description: 'Start Date filter data.'
          example: '2024-07-01'
          required: true
          schema:
            type: string
            description: 'Start Date filter data.'
            example: '2024-07-01'
        -
          in: query
          name: end_date
          description: 'End Date filter data.'
          example: '2024-07-30'
          required: true
          schema:
            type: string
            description: 'End Date filter data.'
            example: '2024-07-30'
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Report
  /api/v1/report/dailyMonitoring:
    get:
      summary: 'List data Report Daily Monitoring'
      operationId: listDataReportDailyMonitoring
      description: ''
      parameters:
        -
          in: query
          name: start_date
          description: 'Start Date filter data.'
          example: '2024-07-01'
          required: true
          schema:
            type: string
            description: 'Start Date filter data.'
            example: '2024-07-01'
        -
          in: query
          name: end_date
          description: 'End Date filter data.'
          example: '2024-07-30'
          required: true
          schema:
            type: string
            description: 'End Date filter data.'
            example: '2024-07-30'
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Report
  /api/v1/report/dailyMonitoring/export:
    get:
      summary: 'Export data Daily Monitoring'
      operationId: exportDataDailyMonitoring
      description: ''
      parameters:
        -
          in: query
          name: start_date
          description: 'Start Date filter data.'
          example: '2024-07-01'
          required: true
          schema:
            type: string
            description: 'Start Date filter data.'
            example: '2024-07-01'
        -
          in: query
          name: end_date
          description: 'End Date filter data.'
          example: '2024-07-30'
          required: true
          schema:
            type: string
            description: 'End Date filter data.'
            example: '2024-07-30'
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Report
  /api/v1/report/activity:
    get:
      summary: 'List data Report Activity'
      operationId: listDataReportActivity
      description: ''
      parameters:
        -
          in: query
          name: start_date
          description: 'Start Date filter data.'
          example: '2024-07-01'
          required: true
          schema:
            type: string
            description: 'Start Date filter data.'
            example: '2024-07-01'
        -
          in: query
          name: end_date
          description: 'End Date filter data.'
          example: '2024-07-30'
          required: true
          schema:
            type: string
            description: 'End Date filter data.'
            example: '2024-07-30'
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Report
  /api/v1/report/activity/export:
    get:
      summary: 'Export data Report Activity'
      operationId: exportDataReportActivity
      description: ''
      parameters:
        -
          in: query
          name: start_date
          description: 'Start Date filter data.'
          example: '2024-07-01'
          required: true
          schema:
            type: string
            description: 'Start Date filter data.'
            example: '2024-07-01'
        -
          in: query
          name: end_date
          description: 'End Date filter data.'
          example: '2024-07-30'
          required: true
          schema:
            type: string
            description: 'End Date filter data.'
            example: '2024-07-30'
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Report
  /api/v1/transport/truckingOrder:
    get:
      summary: 'List data Trucking Order'
      operationId: listDataTruckingOrder
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
    post:
      summary: 'Simpan data Trucking Order'
      operationId: simpanDataTruckingOrder
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
  '/api/v1/transport/truckingOrder/{id}':
    put:
      summary: 'Perbaharui data Trucking Order'
      operationId: perbaharuiDataTruckingOrder
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
    delete:
      summary: 'Hapus Trucking Order'
      operationId: hapusTruckingOrder
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
    get:
      summary: 'Data Trucking Order by Id'
      operationId: dataTruckingOrderById
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
    parameters:
      -
        in: path
        name: id
        description: ''
        example: est
        required: true
        schema:
          type: string
  /api/v1/transport/transportOrder:
    get:
      summary: 'List data Transport Order'
      operationId: listDataTransportOrder
      description: ''
      parameters:
        -
          in: query
          name: search
          description: 'Mencari data Role.'
          example: ...
          required: false
          schema:
            type: string
            description: 'Mencari data Role.'
            example: ...
        -
          in: query
          name: start
          description: 'Menyesuaikan URI paginator.'
          example: '0'
          required: false
          schema:
            type: string
            description: 'Menyesuaikan URI paginator.'
            example: '0'
        -
          in: query
          name: pageSize
          description: 'Menyesuaikan jumlah data yang ditampilkan.'
          example: '10'
          required: false
          schema:
            type: string
            description: 'Menyesuaikan jumlah data yang ditampilkan.'
            example: '10'
        -
          in: query
          name: sortField
          description: 'Menyortir data ( key_name / -key_name ).'
          example: reference_id
          required: false
          schema:
            type: string
            description: 'Menyortir data ( key_name / -key_name ).'
            example: reference_id
        -
          in: query
          name: sortOrder
          description: 'Menyortir data ( asc / desc ), default -desc.'
          example: desc
          required: false
          schema:
            type: string
            description: 'Menyortir data ( asc / desc ), default -desc.'
            example: desc
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
    post:
      summary: 'Simpan data Transport Order'
      operationId: simpanDataTransportOrder
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
  '/api/v1/transport/transportOrder/{id}':
    put:
      summary: 'Perbaharui data Transport Order'
      operationId: perbaharuiDataTransportOrder
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
    delete:
      summary: 'Hapus data Transport Order'
      operationId: hapusDataTransportOrder
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
    parameters:
      -
        in: path
        name: id
        description: "Transport Order id. Defaults to 'id'."
        example: 1
        required: true
        schema:
          type: integer
  /api/v1/transport/transportOrder/duplicate:
    post:
      summary: 'Duplikasi data Transport Order'
      operationId: duplikasiDataTransportOrder
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  description: "Transport Order id. Defaults to 'id'."
                  example: 1
              required:
                - id
  /api/v1/transport/transportOrder/download:
    get:
      summary: 'Download data Transport Order'
      operationId: downloadDataTransportOrder
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
  /api/v1/transport/routePlanning:
    post:
      summary: 'Simpan data Route Plan : Transport Order and Manifest'
      operationId: simpanDataRoutePlanTransportOrderAndManifest
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
  /api/v1/transport/routePlanning/destroy:
    post:
      summary: 'Simpan data UnRoute Plan : Transport Order and Manifest'
      operationId: simpanDataUnRoutePlanTransportOrderAndManifest
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
  /api/v1/transport/routePlanning/vehicle:
    get:
      summary: 'List data Vehicle'
      operationId: listDataVehicle
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
  /api/v1/transport/manifest:
    get:
      summary: 'List data Manifest'
      operationId: listDataManifest
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
    post:
      summary: 'Simpan data Manifest'
      operationId: simpanDataManifest
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
  '/api/v1/transport/manifest/{id}':
    put:
      summary: 'Perbaharui data Manifest'
      operationId: perbaharuiDataManifest
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
    delete:
      summary: 'Hapus data Manifest'
      operationId: hapusDataManifest
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
    get:
      summary: 'Data Manifest By Id'
      operationId: dataManifestById
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
    parameters:
      -
        in: path
        name: id
        description: ''
        example: omnis
        required: true
        schema:
          type: string
  /api/v1/transport/manifest/totalUtilization:
    post:
      summary: 'List data Total Utilization'
      operationId: listDataTotalUtilization
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
  /api/v1/transport/manifest/confirm:
    post:
      summary: 'Konfirmasi data Manifest'
      operationId: konfirmasiDataManifest
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
  /api/v1/transport/manifest/unConfirm:
    post:
      summary: 'Batal Konfirmasi data Manifest'
      operationId: batalKonfirmasiDataManifest
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
  /api/v1/transport/manifest/rate:
    post:
      summary: 'Data Rate Manifest'
      operationId: dataRateManifest
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
  '/api/v1/transport/manifest/updateRate/{id}':
    put:
      summary: 'Perbaharui data Rate Manifest'
      operationId: perbaharuiDataRateManifest
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
    parameters:
      -
        in: path
        name: id
        description: ''
        example: ea
        required: true
        schema:
          type: string
  /api/v1/transport/manifest/showVehicle:
    post:
      summary: 'Data Vehicle Manifest'
      operationId: dataVehicleManifest
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
  /api/v1/transport/manifest/updateVehicle:
    post:
      summary: 'Perbaharui data Vehicle Manifest'
      operationId: perbaharuiDataVehicleManifest
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
  /api/v1/transport/manifest/manifestInvoice:
    post:
      summary: 'List Manifest Self Billing atau Client Invoice'
      operationId: listManifestSelfBillingAtauClientInvoice
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
  /api/v1/transport/timeWindow:
    get:
      summary: 'List data Time Window'
      operationId: listDataTimeWindow
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
  /api/v1/transport/timeWindow/update:
    post:
      summary: 'Perbaharui data Time Window'
      operationId: perbaharuiDataTimeWindow
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
  /api/v1/transport/timeWindow/show:
    post:
      summary: 'Data Time Window By Id'
      operationId: dataTimeWindowById
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
  /api/v1/transport/manifestFile:
    get:
      summary: 'List data Manifest File'
      operationId: listDataManifestFile
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
    post:
      summary: 'Simpan data Manifest File'
      operationId: simpanDataManifestFile
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
  /api/v1/transport/manifestFile/download:
    get:
      summary: 'Download data Manifest File'
      operationId: downloadDataManifestFile
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
  '/api/v1/transport/manifestFile/{id}':
    delete:
      summary: 'Hapus data Manifest File'
      operationId: hapusDataManifestFile
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
    parameters:
      -
        in: path
        name: id
        description: ''
        example: reprehenderit
        required: true
        schema:
          type: string
  /api/v1/transport/manifestFile/print:
    get:
      summary: 'Cetak data Manifest'
      operationId: cetakDataManifest
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
  /api/v1/transport/trafficMonitoring:
    get:
      summary: 'List data Traffic Monitoring'
      operationId: listDataTrafficMonitoring
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
  /api/v1/transport/pod:
    get:
      summary: 'List data POD'
      operationId: listDataPOD
      description: ''
      parameters:
        -
          in: query
          name: search
          description: 'Mencari data Role.'
          example: ...
          required: false
          schema:
            type: string
            description: 'Mencari data Role.'
            example: ...
        -
          in: query
          name: start
          description: 'Menyesuaikan URI paginator.'
          example: '0'
          required: false
          schema:
            type: string
            description: 'Menyesuaikan URI paginator.'
            example: '0'
        -
          in: query
          name: pageSize
          description: 'Menyesuaikan jumlah data yang ditampilkan.'
          example: '10'
          required: false
          schema:
            type: string
            description: 'Menyesuaikan jumlah data yang ditampilkan.'
            example: '10'
        -
          in: query
          name: sortField
          description: 'Menyortir data ( key_name / -key_name ).'
          example: manifest_number
          required: false
          schema:
            type: string
            description: 'Menyortir data ( key_name / -key_name ).'
            example: manifest_number
        -
          in: query
          name: sortOrder
          description: 'Menyortir data ( asc / desc ), default -desc.'
          example: desc
          required: false
          schema:
            type: string
            description: 'Menyortir data ( asc / desc ), default -desc.'
            example: desc
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
  '/api/v1/transport/pod/{id}':
    put:
      summary: 'Perbaharui data POD'
      operationId: perbaharuiDataPOD
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
    parameters:
      -
        in: path
        name: id
        description: ''
        example: suscipit
        required: true
        schema:
          type: string
  /api/v1/transport/pod/podMultiple:
    post:
      summary: 'Perbaharui multi data POD'
      operationId: perbaharuiMultiDataPOD
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
  /api/v1/transport/pod/export:
    get:
      summary: 'Export data POD'
      operationId: exportDataPOD
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
  /api/v1/transport/purchaseInvoice:
    get:
      summary: 'List data Self Billing'
      operationId: listDataSelfBilling
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
    post:
      summary: 'Simpan data Self Billing'
      operationId: simpanDataSelfBilling
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
  '/api/v1/transport/purchaseInvoice/{id}':
    put:
      summary: 'Perbaharui data Self Billing'
      operationId: perbaharuiDataSelfBilling
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
    delete:
      summary: 'Hapus data Self Billing'
      operationId: hapusDataSelfBilling
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
    parameters:
      -
        in: path
        name: id
        description: ''
        example: sunt
        required: true
        schema:
          type: string
  /api/v1/transport/purchaseInvoice/print:
    get:
      summary: 'Cetak data Self Billing'
      operationId: cetakDataSelfBilling
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
  /api/v1/transport/salesInvoice:
    get:
      summary: 'List data Client Invoice'
      operationId: listDataClientInvoice
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
    post:
      summary: 'Simpan data Client Invoice'
      operationId: simpanDataClientInvoice
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
  '/api/v1/transport/salesInvoice/{id}':
    put:
      summary: 'Perbaharui data Client Invoice'
      operationId: perbaharuiDataClientInvoice
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
    delete:
      summary: 'Hapus data Client Invoice'
      operationId: hapusDataClientInvoice
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
    parameters:
      -
        in: path
        name: id
        description: ''
        example: porro
        required: true
        schema:
          type: string
  /api/v1/transport/salesInvoice/print:
    get:
      summary: 'Cetak data Client Invoice'
      operationId: cetakDataClientInvoice
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - Transport
  /api/v1/userManagement/role:
    get:
      summary: 'List data Role User'
      operationId: listDataRoleUser
      description: ''
      parameters:
        -
          in: query
          name: search
          description: 'Mencari data Role.'
          example: ...
          required: false
          schema:
            type: string
            description: 'Mencari data Role.'
            example: ...
        -
          in: query
          name: start
          description: 'Menyesuaikan URI paginator.'
          example: '0'
          required: false
          schema:
            type: string
            description: 'Menyesuaikan URI paginator.'
            example: '0'
        -
          in: query
          name: pageSize
          description: 'Menyesuaikan jumlah data yang ditampilkan.'
          example: '10'
          required: false
          schema:
            type: string
            description: 'Menyesuaikan jumlah data yang ditampilkan.'
            example: '10'
        -
          in: query
          name: sortField
          description: 'Menyortir data ( key_name / -key_name ).'
          example: code
          required: false
          schema:
            type: string
            description: 'Menyortir data ( key_name / -key_name ).'
            example: code
        -
          in: query
          name: sortOrder
          description: 'Menyortir data ( asc / desc ), default -desc.'
          example: desc
          required: false
          schema:
            type: string
            description: 'Menyortir data ( asc / desc ), default -desc.'
            example: desc
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - 'User Management'
    post:
      summary: 'Simpan data Role User'
      operationId: simpanDataRoleUser
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - 'User Management'
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                code:
                  type: string
                  description: 'Code Role User.'
                  example: ADM
                role:
                  type: string
                  description: 'Role Name.'
                  example: Admin
                is_active:
                  type: integer
                  description: 'Status active role.'
                  example: 1
                use_dashboard:
                  type: integer
                  description: 'Role use dashboard.'
                  example: 1
  '/api/v1/userManagement/role/{id}':
    put:
      summary: 'Perbaharui data Role User'
      operationId: perbaharuiDataRoleUser
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - 'User Management'
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                code:
                  type: string
                  description: 'Code Role User.'
                  example: ADM
                role:
                  type: string
                  description: 'Role Name.'
                  example: Admin
                is_active:
                  type: integer
                  description: 'Status active role.'
                  example: 1
                use_dashboard:
                  type: integer
                  description: 'Role use dashboard.'
                  example: 1
    delete:
      summary: 'Hapus data Role User'
      operationId: hapusDataRoleUser
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - 'User Management'
    parameters:
      -
        in: path
        name: id
        description: "Valid Role id. Defaults to 'id'."
        example: 1
        required: true
        schema:
          type: integer
  /api/v1/userManagement/user:
    get:
      summary: 'List data User'
      operationId: listDataUser
      description: ''
      parameters:
        -
          in: query
          name: search
          description: 'Mencari data User.'
          example: ...
          required: false
          schema:
            type: string
            description: 'Mencari data User.'
            example: ...
        -
          in: query
          name: start
          description: 'Menyesuaikan URI paginator.'
          example: '0'
          required: false
          schema:
            type: string
            description: 'Menyesuaikan URI paginator.'
            example: '0'
        -
          in: query
          name: pageSize
          description: 'Menyesuaikan jumlah data yang ditampilkan.'
          example: '10'
          required: false
          schema:
            type: string
            description: 'Menyesuaikan jumlah data yang ditampilkan.'
            example: '10'
        -
          in: query
          name: sortField
          description: 'Menyortir data ( key_name / -key_name ).'
          example: code
          required: false
          schema:
            type: string
            description: 'Menyortir data ( key_name / -key_name ).'
            example: code
        -
          in: query
          name: sortOrder
          description: 'Menyortir data ( asc / desc ), default -desc.'
          example: desc
          required: false
          schema:
            type: string
            description: 'Menyortir data ( asc / desc ), default -desc.'
            example: desc
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - 'User Management'
    post:
      summary: 'Simpan data User'
      operationId: simpanDataUser
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - 'User Management'
  '/api/v1/userManagement/user/{id}':
    put:
      summary: 'Perbaharui data User'
      operationId: perbaharuiDataUser
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - 'User Management'
    delete:
      summary: 'Hapus data User'
      operationId: hapusDataUser
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - 'User Management'
    parameters:
      -
        in: path
        name: id
        description: "Valid User id. Defaults to 'id'."
        example: 1
        required: true
        schema:
          type: integer
  /api/v1/userManagement/user/updatePassword:
    post:
      summary: 'Perbaharui data Password User'
      operationId: perbaharuiDataPasswordUser
      description: ''
      parameters: []
      responses:
        401:
          description: ''
          content:
            text/plain:
              schema:
                type: string
                example: Unauthorized.
      tags:
        - 'User Management'
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                old_password:
                  type: string
                  description: 'Old Password User.'
                  example: oldpass
                new_password:
                  type: string
                  description: 'New Password User.'
                  example: newpass
                confirm_password:
                  type: string
                  description: 'Confirm New Password User.'
                  example: confirmpass
tags:
  -
    name: Authentication
    description: "\nAPI endpoints for managing Authentication"
  -
    name: Fleet
    description: 'API endpoints untuk manage Data Fleet in Transport Management System'
  -
    name: Master
    description: 'Master data Transport Management System'
  -
    name: Options
    description: "\nAPI endpoints for managing Options"
  -
    name: Report
    description: ''
  -
    name: Transport
    description: ''
  -
    name: 'User Management'
    description: ''
components:
  securitySchemes:
    default:
      type: http
      scheme: bearer
      description: 'Anda bisa mendapatkan token Anda dengan cara <b>Generate API token</b>.'
security:
  -
    default: []
