Automile ResourceOwnerWorkOrder API

The ResourceOwnerWorkOrder API from Automile — 12 operation(s) for resourceownerworkorder.

Operations 24

GET /v1/resourceowner/workorders Retrieve a list of work orders and their containing attachments, items and notes #
POST /v1/resourceowner/workorders Create a work order and containing attachments, items and notes #
PUT /v1/resourceowner/workorders Update or create one or many work orders #
GET /v1/resourceowner/workorders/{workOrderId} Retrieve a work order #
PUT /v1/resourceowner/workorders/{workOrderId} Update a work order #
DELETE /v1/resourceowner/workorders/{workOrderId} Delete work order #
GET /v1/resourceowner/workorders/getwithquoteid/{quoteId} Retrieve a work order by quote id #
POST /v1/resourceowner/workorders/{workOrderId}/attachments Creates an attachment and adds it to an existing work order #
PUT /v1/resourceowner/workorders/{workOrderId}/status Update status of a work order #
GET /v1/resourceowner/workorders/articles Get all articles #
POST /v1/resourceowner/workorders/articles Create a article #
GET /v1/resourceowner/workorders/articles/{workOrderArticleId} Get a specific article #
PUT /v1/resourceowner/workorders/articles/{workOrderArticleId} Update a article #
DELETE /v1/resourceowner/workorders/articles/{workOrderArticleId} Delete a article #
GET /v1/resourceowner/workorders/categories Get all categories #
POST /v1/resourceowner/workorders/categories Create a category #
GET /v1/resourceowner/workorders/categories/{workOrderCategoryId} Get a specific category #
DELETE /v1/resourceowner/workorders/categories/{workOrderCategoryId} Delete a category #
GET /v1/resourceowner/workorders/customers Get all customers #
POST /v1/resourceowner/workorders/customers Create a customer #
GET /v1/resourceowner/workorders/customers/{workOrderCustomerId} Get a specific customer #
PUT /v1/resourceowner/workorders/customers/{workOrderCustomerId} Update a customer #
DELETE /v1/resourceowner/workorders/customers/{workOrderCustomerId} Delete a customer #
GET /v1/resourceowner/workorders/referenceId Get a new reference id for a work order (not unique) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/automile-resourceownerworkorder-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

automile-resourceownerworkorder-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Automile ClientApi Resource Owner Work Order API
  version: v1
servers:
- url: https://api.automile.com/
tags:
- name: ResourceOwnerWorkOrder
paths:
  /v1/resourceowner/workorders:
    get:
      tags:
      - ResourceOwnerWorkOrder
      summary: Retrieve a list of work orders and their containing attachments, items and notes
      description: If no time is set on the "to" parameter, then it's assumed all entries on the date should be included, and the time part will be set to 11:59:59 PM
      operationId: ResourceOwnerWorkOrder_GetWorkOrderList
      parameters:
      - in: query
        name: from
        description: Filter on JobDate to be on or after the specified date and time (default is from now)
        schema:
          type: string
          format: date-time
      - in: query
        name: to
        description: Filter on JobDate to be before the specified date and time (default is no limitation)
        schema:
          type: string
          format: date-time
      - in: query
        name: jobStatus
        description: Status on job (New = 0, Started = 1, Paused = 2, Completed = 3, Cancelled = 4, Invoiced = 5, Paid = 6) (default is all)
        schema:
          type: integer
          format: int32
          enum:
          - 0
          - 1
          - 2
          - 3
          - 4
          - 5
          - 6
      - in: query
        name: includeUnassigned
        description: Include unassigned jobs (default is true)
        schema:
          type: boolean
          default: true
      - in: query
        name: includeDeleted
        description: Include deleted jobs (default is false)
        schema:
          type: boolean
          default: false
      responses:
        '200':
          description: Successful request
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/WorkOrderModelGET'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/WorkOrderModelGET'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/WorkOrderModelGET'
        '500':
          description: Internal server error
      security:
      - oauth2: []
    post:
      tags:
      - ResourceOwnerWorkOrder
      summary: Create a work order and containing attachments, items and notes
      operationId: ResourceOwnerWorkOrder_CreateWorkOrder
      responses:
        '200':
          description: Success
        '201':
          description: Successfully created
        '500':
          description: Internal server error
      security:
      - oauth2: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WorkOrderModelPOST'
          text/json:
            schema:
              $ref: '#/components/schemas/WorkOrderModelPOST'
          application/*+json:
            schema:
              $ref: '#/components/schemas/WorkOrderModelPOST'
        description: Work order model
    put:
      tags:
      - ResourceOwnerWorkOrder
      summary: Update or create one or many work orders
      description: "For work orders, items, attachments and notes with an id is updated. When id is not provided new objects is created. If an \n            item, attachment or note is missing on an existing work order that item, attachment or note is removed."
      operationId: ResourceOwnerWorkOrder_SaveWorkOrderList
      responses:
        '200':
          description: Successful update
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/WorkOrderModelGET'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/WorkOrderModelGET'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/WorkOrderModelGET'
        '500':
          description: Internal server error.
      security:
      - oauth2: []
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/WorkOrderModelSyncPUT'
          text/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/WorkOrderModelSyncPUT'
          application/*+json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/WorkOrderModelSyncPUT'
        description: List of Work Orders
  /v1/resourceowner/workorders/{workOrderId}:
    get:
      tags:
      - ResourceOwnerWorkOrder
      summary: Retrieve a work order
      operationId: ResourceOwnerWorkOrder_GetWorkOrder
      parameters:
      - in: path
        name: workOrderId
        description: Work order id
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Successful request
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/WorkOrderModelGET'
            application/json:
              schema:
                $ref: '#/components/schemas/WorkOrderModelGET'
            text/json:
              schema:
                $ref: '#/components/schemas/WorkOrderModelGET'
        '500':
          description: Internal server error
      security:
      - oauth2: []
    put:
      tags:
      - ResourceOwnerWorkOrder
      summary: Update a work order
      operationId: ResourceOwnerWorkOrder_UpdateWorkOrder
      parameters:
      - in: path
        name: workOrderId
        description: Work order id
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Successful update
        '403':
          description: Forbidden access to resource
        '500':
          description: Internal server error
      security:
      - oauth2: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WorkOrderModelPUT'
          text/json:
            schema:
              $ref: '#/components/schemas/WorkOrderModelPUT'
          application/*+json:
            schema:
              $ref: '#/components/schemas/WorkOrderModelPUT'
        description: Work order
    delete:
      tags:
      - ResourceOwnerWorkOrder
      summary: Delete work order
      operationId: ResourceOwnerWorkOrder_DeleteWorkOrder
      parameters:
      - in: path
        name: workOrderId
        description: Work order id
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Successful delete
        '403':
          description: Forbidden access to resource
        '500':
          description: Internal server error
      security:
      - oauth2: []
  /v1/resourceowner/workorders/getwithquoteid/{quoteId}:
    get:
      tags:
      - ResourceOwnerWorkOrder
      summary: Retrieve a work order by quote id
      operationId: ResourceOwnerWorkOrder_GetWorkOrderByQuoteId
      parameters:
      - in: path
        name: quoteId
        description: Quote id
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Successful request
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/WorkOrderModelGET'
            application/json:
              schema:
                $ref: '#/components/schemas/WorkOrderModelGET'
            text/json:
              schema:
                $ref: '#/components/schemas/WorkOrderModelGET'
        '500':
          description: Internal server error
      security:
      - oauth2: []
  /v1/resourceowner/workorders/{workOrderId}/attachments:
    post:
      tags:
      - ResourceOwnerWorkOrder
      summary: Creates an attachment and adds it to an existing work order
      operationId: ResourceOwnerWorkOrder_CreateAttachment
      parameters:
      - in: path
        name: workOrderId
        description: The work order which the attachment will be associated with
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Success
        '201':
          description: Successfully created
        '403':
          description: Forbidden access to resource
        '500':
          description: Internal server error
      security:
      - oauth2: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WorkOrderAttachmentModelPOST'
          text/json:
            schema:
              $ref: '#/components/schemas/WorkOrderAttachmentModelPOST'
          application/*+json:
            schema:
              $ref: '#/components/schemas/WorkOrderAttachmentModelPOST'
        description: Attachment information
  /v1/resourceowner/workorders/{workOrderId}/status:
    put:
      tags:
      - ResourceOwnerWorkOrder
      summary: Update status of a work order
      operationId: ResourceOwnerWorkOrder_UpdateWorkOrderStatus
      parameters:
      - in: path
        name: workOrderId
        description: The work order which the satus should be updated on
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Successful update
        '403':
          description: Forbidden access to resource
        '500':
          description: Internal server error
      security:
      - oauth2: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WorkOrderStatusModelPUT'
          text/json:
            schema:
              $ref: '#/components/schemas/WorkOrderStatusModelPUT'
          application/*+json:
            schema:
              $ref: '#/components/schemas/WorkOrderStatusModelPUT'
        description: Job status
  /v1/resourceowner/workorders/articles:
    get:
      tags:
      - ResourceOwnerWorkOrder
      summary: Get all articles
      operationId: ResourceOwnerWorkOrder_GetArticleList
      responses:
        '200':
          description: Successful request
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/WorkOrderArticleModelGET'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/WorkOrderArticleModelGET'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/WorkOrderArticleModelGET'
        '403':
          description: Forbidden access to resource
        '500':
          description: Internal server error
      security:
      - oauth2: []
    post:
      tags:
      - ResourceOwnerWorkOrder
      summary: Create a article
      operationId: ResourceOwnerWorkOrder_CreateArticle
      responses:
        '200':
          description: Success
        '201':
          description: Successfully created
        '403':
          description: Forbidden access to resource
        '500':
          description: Internal server error
      security:
      - oauth2: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WorkOrderArticleModelPOST'
          text/json:
            schema:
              $ref: '#/components/schemas/WorkOrderArticleModelPOST'
          application/*+json:
            schema:
              $ref: '#/components/schemas/WorkOrderArticleModelPOST'
        description: Article information
  /v1/resourceowner/workorders/articles/{workOrderArticleId}:
    get:
      tags:
      - ResourceOwnerWorkOrder
      summary: Get a specific article
      operationId: ResourceOwnerWorkOrder_GetArticle
      parameters:
      - in: path
        name: workOrderArticleId
        description: Work order article id
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Successful request
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/WorkOrderArticleModelGET'
            application/json:
              schema:
                $ref: '#/components/schemas/WorkOrderArticleModelGET'
            text/json:
              schema:
                $ref: '#/components/schemas/WorkOrderArticleModelGET'
        '403':
          description: Forbidden access to resource
        '500':
          description: Internal server error
      security:
      - oauth2: []
    put:
      tags:
      - ResourceOwnerWorkOrder
      summary: Update a article
      operationId: ResourceOwnerWorkOrder_UpdateArticle
      parameters:
      - in: path
        name: workOrderArticleId
        description: Work order article id
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Successfully updated
        '403':
          description: Forbidden access to resource
        '500':
          description: Internal server error
      security:
      - oauth2: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WorkOrderArticleModelPUT'
          text/json:
            schema:
              $ref: '#/components/schemas/WorkOrderArticleModelPUT'
          application/*+json:
            schema:
              $ref: '#/components/schemas/WorkOrderArticleModelPUT'
        description: Article information
    delete:
      tags:
      - ResourceOwnerWorkOrder
      summary: Delete a article
      operationId: ResourceOwnerWorkOrder_DeleteArticle
      parameters:
      - in: path
        name: workOrderArticleId
        description: Work order article id
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Successfully deleted
        '403':
          description: Forbidden access to resource
        '500':
          description: Internal server error
      security:
      - oauth2: []
  /v1/resourceowner/workorders/categories:
    get:
      tags:
      - ResourceOwnerWorkOrder
      summary: Get all categories
      operationId: ResourceOwnerWorkOrder_GetCategoryList
      responses:
        '200':
          description: Successful request
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/WorkOrderCategoryModelGET'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/WorkOrderCategoryModelGET'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/WorkOrderCategoryModelGET'
        '403':
          description: Forbidden access to resource
        '500':
          description: Internal server error
      security:
      - oauth2: []
    post:
      tags:
      - ResourceOwnerWorkOrder
      summary: Create a category
      operationId: ResourceOwnerWorkOrder_CreateCategory
      responses:
        '200':
          description: Success
        '201':
          description: Successfully created
        '403':
          description: Forbidden access to resource
        '500':
          description: Internal server error
      security:
      - oauth2: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WorkOrderCategoryModelPOST'
          text/json:
            schema:
              $ref: '#/components/schemas/WorkOrderCategoryModelPOST'
          application/*+json:
            schema:
              $ref: '#/components/schemas/WorkOrderCategoryModelPOST'
        description: Category information
  /v1/resourceowner/workorders/categories/{workOrderCategoryId}:
    get:
      tags:
      - ResourceOwnerWorkOrder
      summary: Get a specific category
      operationId: ResourceOwnerWorkOrder_GetCategory
      parameters:
      - in: path
        name: workOrderCategoryId
        description: Work order category id
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Successful request
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/WorkOrderCategoryModelGET'
            application/json:
              schema:
                $ref: '#/components/schemas/WorkOrderCategoryModelGET'
            text/json:
              schema:
                $ref: '#/components/schemas/WorkOrderCategoryModelGET'
        '403':
          description: Forbidden access to resource
        '500':
          description: Internal server error
      security:
      - oauth2: []
    delete:
      tags:
      - ResourceOwnerWorkOrder
      summary: Delete a category
      operationId: ResourceOwnerWorkOrder_DeleteCategory
      parameters:
      - in: path
        name: workOrderCategoryId
        description: Work order category id
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Successfully deleted
        '403':
          description: Forbidden access to resource
        '500':
          description: Internal server error
      security:
      - oauth2: []
  /v1/resourceowner/workorders/customers:
    get:
      tags:
      - ResourceOwnerWorkOrder
      summary: Get all customers
      operationId: ResourceOwnerWorkOrder_GetCustomerList
      responses:
        '200':
          description: Successful request
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/WorkOrderCustomerModelGET'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/WorkOrderCustomerModelGET'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/WorkOrderCustomerModelGET'
        '403':
          description: Forbidden access to resource
        '500':
          description: Internal server error
      security:
      - oauth2: []
    post:
      tags:
      - ResourceOwnerWorkOrder
      summary: Create a customer
      operationId: ResourceOwnerWorkOrder_CreateCustomer
      responses:
        '200':
          description: Success
        '201':
          description: Successfully created
        '403':
          description: Forbidden access to resource
        '500':
          description: Internal server error
      security:
      - oauth2: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WorkOrderCustomerModelPOST'
          text/json:
            schema:
              $ref: '#/components/schemas/WorkOrderCustomerModelPOST'
          application/*+json:
            schema:
              $ref: '#/components/schemas/WorkOrderCustomerModelPOST'
        description: Customer information
  /v1/resourceowner/workorders/customers/{workOrderCustomerId}:
    get:
      tags:
      - ResourceOwnerWorkOrder
      summary: Get a specific customer
      operationId: ResourceOwnerWorkOrder_GetCustomer
      parameters:
      - in: path
        name: workOrderCustomerId
        description: Work order customer id
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Successful request
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/WorkOrderCustomerModelGET'
            application/json:
              schema:
                $ref: '#/components/schemas/WorkOrderCustomerModelGET'
            text/json:
              schema:
                $ref: '#/components/schemas/WorkOrderCustomerModelGET'
        '403':
          description: Forbidden access to resource
        '500':
          description: Internal server error
      security:
      - oauth2: []
    put:
      tags:
      - ResourceOwnerWorkOrder
      summary: Update a customer
      operationId: ResourceOwnerWorkOrder_UpdateCustomer
      parameters:
      - in: path
        name: workOrderCustomerId
        description: Work order customer id
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Successfully updated
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/WorkOrderCustomerModelGET'
            application/json:
              schema:
                $ref: '#/components/schemas/WorkOrderCustomerModelGET'
            text/json:
              schema:
                $ref: '#/components/schemas/WorkOrderCustomerModelGET'
        '403':
          description: Forbidden access to resource
        '500':
          description: Internal server error
      security:
      - oauth2: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WorkOrderCustomerModelPUT'
          text/json:
            schema:
              $ref: '#/components/schemas/WorkOrderCustomerModelPUT'
          application/*+json:
            schema:
              $ref: '#/components/schemas/WorkOrderCustomerModelPUT'
        description: Customer information
    delete:
      tags:
      - ResourceOwnerWorkOrder
      summary: Delete a customer
      operationId: ResourceOwnerWorkOrder_DeleteCustomer
      parameters:
      - in: path
        name: workOrderCustomerId
        description: Work order customer id
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Successfully deleted
        '403':
          description: Forbidden access to resource
        '500':
          description: Internal server error
      security:
      - oauth2: []
  /v1/resourceowner/workorders/referenceId:
    get:
      tags:
      - ResourceOwnerWorkOrder
      summary: Get a new reference id for a work order (not unique)
      operationId: ResourceOwnerWorkOrder_GetNextWorkOrderId
      responses:
        '200':
          description: Successful request
          content:
            text/plain:
              schema:
                type: string
            application/json:
              schema:
                type: string
            text/json:
              schema:
                type: string
        '403':
          description: Forbidden access to resource
        '500':
          description: Internal server error
      security:
      - oauth2: []
components:
  schemas:
    WorkOrderCategoryModelGET:
      required:
      - CategoryName
      type: object
      properties:
        CategoryName:
          minLength: 1
          type: string
        Created:
          format: date-time
          type: string
        WorkOrderCategoryId:
          format: int32
          type: integer
      additionalProperties: false
    WorkOrderAttachmentModelPOST:
      required:
      - AttachmentType
      - URL
      type: object
      properties:
        URL:
          minLength: 1
          type: string
        Description:
          type: string
        AttachmentType:
          format: int32
          enum:
          - 0
          - 1
          - 2
          type: integer
      additionalProperties: false
    WorkOrderItemModelPOST:
      required:
      - Quantity
      - WorkOrderArticleId
      type: object
      properties:
        Quantity:
          format: double
          type: number
        PricePerQuantityExclVAT:
          format: double
          type: number
        DiscountInPercentage:
          format: double
          type: number
        DiscountAmount:
          format: double
          type: number
        TaxRate:
          format: double
          type: number
        WorkOrderArticleId:
          format: int32
          type: integer
        ArticleName:
          type: string
        UnitType:
          format: int32
          enum:
          - 1
          - 2
          - 3
          - 4
          - 5
          - 6
          - 7
          - 8
          - 9
          - 10
          - 11
          - 12
          - 13
          - 14
          - 15
          - 16
          - 17
          - 18
          - 19
          - 20
          - 21
          - 22
          - 23
          - 24
          - 25
          - 26
          - 27
          - 28
          - 29
          - 30
          - 31
          - 32
          - 33
          - 34
          type: integer
      additionalProperties: false
    WorkOrderStatusHistoryModelGET:
      type: object
      properties:
        OccuredAt:
          format: date-time
          type: string
        ContactId:
          format: int32
          type: integer
        Status:
          format: int32
          enum:
          - 0
          - 1
          - 2
          - 3
          - 4
          - 5
          - 6
          type: integer
      additionalProperties: false
    WorkOrderArticleModelPOST:
      required:
      - ArticleName
      - PricePerQuantityExclVAT
      - TaxRate
      type: object
      properties:
        UnitType:
          format: int32
          enum:
          - 1
          - 2
          - 3
          - 4
          - 5
          - 6
          - 7
          - 8
          - 9
          - 10
          - 11
          - 12
          - 13
          - 14
          - 15
          - 16
          - 17
          - 18
          - 19
          - 20
          - 21
          - 22
          - 23
          - 24
          - 25
          - 26
          - 27
          - 28
          - 29
          - 30
          - 31
          - 32
          - 33
          - 34
          type: integer
        ArticleName:
          minLength: 1
          type: string
        PricePerQuantityExclVAT:
          format: double
          type: number
        TaxRate:
          format: double
          type: number
      additionalProperties: false
    WorkOrderCustomerModelPOST:
      type: object
      properties:
        Name:
          type: string
        ContactName:
          type: string
        CommunicationLanguageISO639_2:
          type: string
        Email:
          type: string
        PhoneNumber:
          type: string
        BillingAddress:
          $ref: '#/components/schemas/CustomerBillingAddressModel'
        JobAddress:
          $ref: '#/components/schemas/CustomerJobAddressModel'
      additionalProperties: false
    WorkOrderArticleModelGET:
      required:
      - ArticleName
      - PricePerQuantityExclVAT
      - TaxRate
      type: object
      properties:
        UnitType:
          format: int32
          enum:
          - 1
          - 2
          - 3
          - 4
          - 5
          - 6
          - 7
          - 8
          - 9
          - 10
          - 11
          - 12
          - 13
          - 14
          - 15
          - 16
          - 17
          - 18
          - 19
          - 20
          - 21
          - 22
          - 23
          - 24
          - 25
          - 26
          - 27
          - 28
          - 29
          - 30
          - 31
          - 32
          - 33
          - 34
          type: integer
        ArticleName:
          minLength: 1
          type: string
        PricePerQuantityExclVAT:
          format: double
          type: number
        TaxRate:
          format: double
          type: number
        ISO4217CurrencyCode:
          type: string
        WorkOrderArticleId:
          format: int32
          type: integer
        Created:
          format: date-time
          type: string
      additionalProperties: false
    WorkOrderNoteModelPOST:
      required:
      - Note
      type: object
      properties:
        Note:
          minLength: 1
          type: string
      additionalProperties: false
    WorkOrderNoteModelGET:
      required:
      - Note
      type: object
      properties:
        Note:
          minLength: 1
          type: string
        WorkOrderNoteId:
          format: int32
          type: integer
        CreatedByContactId:
          format: int32
          type: integer
        Created:
          format: date-time
          type: string
      additionalProperties: false
    WorkOrderArticleModelPUT:
      required:
      - ArticleName
      - PricePerQuantityExclVAT
      - TaxRate
      type: object
      properties:
        UnitType:
          format: int32
          enum:
          - 1
          - 2
          - 3
          - 4
          - 5
          - 6
          - 7
          - 8
          - 9
          - 10
          - 11
          - 12
          - 13
          - 14
          - 15
          - 16
          - 17
          - 18
          - 19
          - 20
          - 21
          - 22
          - 23
          - 24
          - 25
          - 26
          - 27
          - 28
          - 29
          - 30
          - 31
          - 32
          - 33
          - 34
          type: integer
        ArticleName:
          minLength: 1
          type: string
        PricePerQuantityExclVAT:
          format: double
          type: number
        TaxRate:
          format: double
          type: number
      additionalProperties: false
    CustomerBillingAddressModel:
      type: object
      properties:
        Street:
          type: string
        Apartment:
          type: string
        CareOf:
          type: string
        ZipCode:
          type: string
        City:
          type: string
        StateOrProvince:
          type: string
        ISO3166CountryCode:
          type: string
        Position:
          $ref: '#/components/schemas/PositionPointModel'
      additionalProperties: false
    PositionPointModel:
      type: object
      properties:
        Longitude:
          format: double
          type: number
        Latitude:
          format: double
          type: number
      additionalProperties: false
    WorkOrderItemModelGET:
      required:
      - Quantity
      - WorkOrderArticleId
      type: object
      properties:
        Quantity:
          format: double
          type: number
        PricePerQuantityExclVAT:
          format: double
          type: number
        DiscountInPercentage:
          format: double
          type: number
        DiscountAmount:
          format: double
          type: number
        TaxRate:
          format: double
          type: number
        WorkOrderArticleId:
          format: int32
          type: integer
        ArticleName:
          type: string
        UnitType:
          format: int32
          enum:
          - 1
          - 2
          - 3
          - 4
          - 5
          - 6
          - 7
          - 8
          - 9
          - 10
          - 11
          - 12
          - 13
          - 14
          - 15
          - 16
          - 17
          - 18
          - 19
          - 20
          - 21
          - 22
          - 23
          - 24
          - 25
          - 26
          - 27
          - 28
          - 29
          - 30
          - 31
          - 32
          - 33
          - 34
          type: integer
        ISO4217CurrencyCode:
          type: string
        WorkOrderItemId:
          format: int32
          type: integer
        Created:
          format: date-time
          type: string
      additionalProperties: false
    WorkOrderCustomerModelGET:
      type: object
      properties:
        Name:
          type: string
        ContactName:
          type: string
        CommunicationLanguageISO639_2:
          type: string
        Ema

# --- truncated at 32 KB (46 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/automile/refs/heads/main/openapi/automile-resourceownerworkorder-api-openapi.yml