Actionstep UTBMS Codes API

The UTBMS Codes API from Actionstep — 2 operation(s) for utbms codes.

OpenAPI Specification

actionstep-utbms-codes-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: Action (Matter) Bill Settings Action Bill Settings UTBMS Codes API
  description: For retrieving Action Bill Settings. For historical reasons Matters are referred to as *actions* in this version of the API. For information of how to construct requests utilising fieldsets, sorting, paging, filters, and '*includes*', please refer to the API Developer Portal. E&OE.
  version: '1.0'
tags:
- name: UTBMS Codes
paths:
  /utbmscodes:
    get:
      description: Returns the collection of all UTBMS codes.
      tags:
      - UTBMS Codes
      responses:
        '200':
          description: OK.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PagedUTBMSCodes'
    post:
      description: Create a new UTBMS code.
      tags:
      - UTBMS Codes
      requestBody:
        $ref: '#/components/requestBodies/CreateUTBMSCode'
      responses:
        '200':
          description: OK.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UTBMSCode'
  /utbmscodes/{id}:
    get:
      description: Returns a single UTBMS code.
      tags:
      - UTBMS Codes
      parameters:
      - name: id
        in: path
        description: Unique identifier for a single UTBMS code.
        required: true
        schema:
          type: string
          format: string
        example: A100
      responses:
        '200':
          description: OK.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UTBMSCode'
    put:
      description: Updates a single UTBMS code.
      tags:
      - UTBMS Codes
      parameters:
      - name: id
        in: path
        description: Unique identifier for a single UTBMS code.
        required: true
        schema:
          type: string
          format: string
        example: A100
      requestBody:
        $ref: '#/components/requestBodies/UpdateUTBMSCode'
      responses:
        '200':
          description: OK.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UTBMSCode'
    delete:
      description: Deletes a single UTBMS code.
      tags:
      - UTBMS Codes
      parameters:
      - name: id
        in: path
        description: Unique identifier for a single UTBMS code.
        required: true
        schema:
          type: string
          format: string
        example: A100
      responses:
        '204':
          description: Success, No Content.
components:
  requestBodies:
    CreateUTBMSCode:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/CreateUTBMSCode'
    UpdateUTBMSCode:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/UpdateUTBMSCode'
  schemas:
    UpdateUTBMSCode:
      type: object
      properties:
        categoryCode:
          description: The category code to which the UTBMS code is associated.
          type: string
          format: string
          example: Activity codes
        parentUtbmsCode:
          description: The parent UTBMS code to which this UTBMS code is associated.
          type: string
          format: string
          example: AA10
        description:
          description: A description for the UTBMS code.
          type: string
          format: string
          example: Research
        overrideDescription:
          description: A custom description for the time entry description field. Only relevant for Activity codes.
          type: string
          format: string
          example: Case history research.
        enabled:
          description: Indicates if the UTBMS code is enabled for use.
          type: string
          enum:
          - T
          - F
          default: T
          format: string
          example: T
    UTBMSCodesPageData:
      type: object
      properties:
        recordCount:
          description: The total number of UTBMS code records returned by the underlying query.
          type: integer
          example: 2487
        pageCount:
          description: The total number of pages generated by the underlying query.
          type: integer
          example: 50
        page:
          description: The page number for this page of UTBMS codes.
          type: integer
          example: 2
        pageSize:
          description: Page size.
          type: integer
          example: 50
        prevPage:
          description: A URL to the previous page of UTBMS codes.
          type: string
          example: https://ap-southeast-2.actionstep.com/api/rest/utbmscodes?page=1
        nextPage:
          description: A URL to the next page of UTBMS codes.
          type: string
          example: https://ap-southeast-2.actionstep.com/api/rest/utbmscodes?page=3
    PagedUTBMSCodes:
      type: object
      properties:
        UTBMSCodes:
          type: array
          items:
            $ref: '#/components/schemas/UTBMSCode'
        meta:
          $ref: '#/components/schemas/PageMetaData'
    PagingData:
      type: object
      properties:
        UTBMSCodes:
          $ref: '#/components/schemas/UTBMSCodesPageData'
    UTBMSCode:
      type: object
      properties:
        id:
          description: Unique identifier (code) for the UTBMS code.
          type: string
          format: string
          example: A100
          readOnly: true
        categoryCode:
          description: The category code to which the UTBMS code is associated.
          type: string
          format: string
          example: Activity codes
        parentUtbmsCode:
          description: The parent UTBMS code to which this UTBMS code is associated.
          type: string
          format: string
          example: AA10
        description:
          description: A description for the UTBMS code.
          type: string
          format: string
          example: Research
        overrideDescription:
          description: A custom description for the time entry description field. Only relevant for Activity codes.
          type: string
          format: string
          example: Case history research.
        enabled:
          description: Indicates if the UTBMS code is enabled for use.
          type: string
          enum:
          - T
          - F
          default: T
          format: string
          example: T
    PageMetaData:
      type: object
      properties:
        paging:
          $ref: '#/components/schemas/PagingData'
    CreateUTBMSCode:
      type: object
      required:
      - utbmsCode
      - categoryCode
      - description
      - enabled
      properties:
        utbmsCode:
          description: Unique identifier (code) for the UTBMS code.
          type: string
          format: string
          example: A100
        categoryCode:
          description: The category code to which the UTBMS code is associated.
          type: string
          format: string
          example: Activity codes
        parentUtbmsCode:
          description: The parent UTBMS code to which this UTBMS code is associated.
          type: string
          format: string
          example: AA10
        description:
          description: A description for the UTBMS code.
          type: string
          format: string
          example: Research
        overrideDescription:
          description: A custom description for the time entry description field. Only relevant for Activity codes.
          type: string
          format: string
          example: Case history research.
        enabled:
          description: Indicates if the UTBMS code is enabled for use.
          type: string
          enum:
          - T
          - F
          default: T
          format: string
          example: T
externalDocs:
  description: API Developer Portal - Constructing API Requests
  url: https://docs.actionstep.com/api-requests/