Decisiv Service Requests API

The Service Requests API from Decisiv — 3 operation(s) for service requests.

Operations 5

GET /asset_management/{srm_account_id}/v1/service_requests List all Service requests available for the requested account #
POST /asset_management/{srm_account_id}/v1/service_requests Create a new Service Request #
GET /asset_management/{srm_account_id}/v1/service_requests/{id} Retrieves a Service Request available for the requested account #
PUT /asset_management/{srm_account_id}/v1/service_requests/{id} Updates a Service Request availavable for the requested account #
POST /asset_management/{srm_account_id}/v1/service_requests/{id}/cancel Cancel service request #

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/decisiv-service-requests-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 form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

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

OpenAPI Specification

decisiv-service-requests-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 0.48.24
  termsOfService: https://www.decisiv.com/terms-of-use
  contact:
    name: Decisiv Support
    email: support@decisiv.com
    url: https://www.decisiv.com
  title: Asset Management Service Requests API
  description: Inside of **Decisiv SRM Gateway**, the `Asset Management` module represents all interactions and functionality which an Account registered with a `Fleet subscription` can perform through an API interface.
  license:
    name: Proprietary
    identifier: proprietary
    url: https://www.decisiv.com/terms-of-use/
servers:
- url: https://srm-api.staging.decisivapps.com
- url: https://srm-api.decisivapps.com
security:
- OAuth2AuthorizationCode: []
  AccessToken: []
- OAuth2Password: []
  AccessToken: []
tags:
- name: Service Requests
paths:
  /asset_management/{srm_account_id}/v1/service_requests:
    get:
      summary: List all Service requests available for the requested account
      operationId: listServiceRequests
      description: Lists all service requests available for the requested account.
      tags:
      - Service Requests
      parameters:
      - name: srm_account_id
        in: path
        description: The account ID for SRM
        required: true
        schema:
          type: string
      - name: filter[event_timestamps.requested_at:lt]
        in: query
        required: false
        schema:
          type: string
        description: Timebased filter to list service requests requested _less than_ a specified `ISO8601` timestamp.
      - name: filter[event_timestamps.requested_at:lte]
        in: query
        required: false
        schema:
          type: string
        description: Timebased filter to list service requests requested _less than or equal to_ a specified `ISO8601` timestamp.
      - name: filter[event_timestamps.requested_at:gt]
        in: query
        required: false
        schema:
          type: string
        description: Timebased filter to list service requests requested _greater than_ a specified `ISO8601` timestamp.
      - name: filter[event_timestamps.requested_at:gte]
        in: query
        required: false
        schema:
          type: string
        description: Timebased filter to list service requests requested _greater than or equal to_ a specified `ISO8601` timestamp.
      - name: filter[account.id]
        in: query
        required: false
        schema:
          type: string
          pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
          minLength: 36
          maxLength: 36
        description: Filter service requests based upon the specified `Account` identifier
      - name: filter[account.external_reference.srm_account]
        in: query
        required: false
        schema:
          type: string
        description: Filter service requests based upon the specified `SRM account` external reference
      - name: filter[service_provider.id]
        in: query
        required: false
        schema:
          type: string
          pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
          minLength: 36
          maxLength: 36
        description: Filter service requests based upon the specified `Service Provider` identifier
      - name: filter[status]
        in: query
        required: false
        schema:
          type: string
        description: Filter service requests by status
      - name: filter[registered_asset.id]
        in: query
        required: false
        schema:
          type: string
          pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
          minLength: 36
          maxLength: 36
        description: Filter service requests based upon the specified `Registered Asset` identifier
      - name: filter[case.id]
        in: query
        required: false
        schema:
          type: string
          pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
          minLength: 36
          maxLength: 36
        description: Filter service requests based upon the specified `Case` identifier
      - name: page[number]
        in: query
        required: false
        schema:
          type: number
        description: Sets the desired `page` when encountering larger result sets
      - name: page[size]
        in: query
        required: false
        schema:
          type: number
        description: Sets the desired maximum number of results per page
      - name: include
        in: query
        required: false
        schema:
          type: array
          items:
            type: string
            enum:
            - registered_asset
            - service_provider
            - case
            - primary_contact
        description: The relationships to be included.
      responses:
        '200':
          description: Returns list of Service requests
          content:
            application/vnd.api+json:
              example:
                data:
                - id: 22027e64-4191-41fd-b0e2-6f6c489d8b2a
                  type: service_requests
                  attributes:
                    complaint: transmission leaks on left side
                    status: Accepted
                    po_number: PO836743
                    auth_number: AUTH984107
                    note: Initial Note
                    asset_information:
                      odometer_value: 1234566
                      odometer_unit: mi
                    reference_number: 123245
                    primary_contact:
                      first_name: Gandalf
                      last_name: The Gray
                      email: gandalf@thegray.com
                      relation: Frodo
                      phone:
                        mobile: (582) 123-1234
                        work: (524) 123-1234
                    driver:
                      first_name: Bilbo
                      last_name: Baggins
                      email: bilbo@baggins.com
                      phone:
                        mobile: (582) 123-1234
                        work: (524) 123-1234
                    breakdown:
                      location: Dorris
                      city: South Lake Tahoe
                      state: KY
                    created_at: '2025-04-07T18:58:31Z'
                    updated_at: '2025-04-07T18:58:31Z'
                  relationships:
                    registered_asset:
                      data:
                        type: registered_assets
                        id: 552fb6b4-bbce-452b-bb60-8f40ca6e8eb3
                    service_provider:
                      data:
                        type: service_providers
                        id: 49babff7-536d-4262-b267-de66a19452cf
                    case:
                      data:
                        type: cases
                        id: e3dd4797-3215-4522-a2a8-7f3ccdb1fd44
                    primary_contact:
                      data:
                        type: contacts
                        id: 7da042d2-c47b-4748-ba65-c114adf1cf62
              schema:
                $ref: '#/components/schemas/service_requests'
        '400':
          description: This response may occur when an invalid request has been provided to the server.  The request may be corrected by the consumer and resubmitted.
          content:
            application/vnd.api+json:
              example:
                errors:
                - title: Filter not allowed
                  detail: '''{{filter_name}}'' is not allowed. Valid filters: {{filters_list}}'
                  code: decisiv:filters:001
                  status: '400'
                  source:
                    parameter: filter[filter_name]
                - title: Invalid filter value
                  code: decisiv:filters:010
                  detail: Invalid filter value `{{invalid_filter}}`. Expected an ISO 8601 timestamp.
                  status: '400'
                  source:
                    parameter: filter[event_timestamps.requested_at:gte]
              schema:
                $ref: '#/components/schemas/errors_response'
        '401':
          description: This response may occur when the access token provided within the Authorization token has expired.
          content:
            application/vnd.api+json:
              example:
                errors:
                - title: Access unauthorized
                  detail: Access unauthorized
                  code: decisiv::access_token:001
                  status: '401'
              schema:
                $ref: '#/components/schemas/errors_response'
        '403':
          description: This response may occur when the authenticated user embedded within the Authorization header does not have access to the requested resource.
          content:
            application/vnd.api+json:
              example:
                errors:
                - title: Forbidden
                  detail: User does not have permission to perform this action on the requested resource(s)
                  code: decisiv:access:001
                  status: '403'
              schema:
                $ref: '#/components/schemas/errors_response'
        '404':
          description: This response may occur when the requested resource is not found.
          content:
            application/vnd.api+json:
              example:
                errors:
                - status: '404'
                  code: decisiv:resource:001
                  title: Resource Identifier - Not Found
                  detail: The parent resource could not be found
                  source:
                    parameter: id
              schema:
                $ref: '#/components/schemas/errors_response'
        '424':
          description: This response may occur when there is an unresolved data dependency or configuration required inside of the Decisiv Platform preventing access to the requested action.
          content:
            application/vnd.api+json:
              example:
                errors:
                - title: Failed Dependency
                  detail: Failed Dependency
                  code: '424'
                  status: '424'
              schema:
                $ref: '#/components/schemas/errors_response'
        '504':
          description: This response may occur when there is an unexpected system timeout.
          content:
            application/vnd.api+json:
              example:
                errors:
                - code: '504'
                  detail: Gateway timeout error
                  status: '504'
                  title: Gateway timeout error
              schema:
                $ref: '#/components/schemas/errors_response'
    post:
      summary: Create a new Service Request
      operationId: createServiceRequest
      description: Creates a new Service Request for the requested account.
      tags:
      - Service Requests
      parameters:
      - name: srm_account_id
        in: path
        description: The account ID for SRM
        required: true
        schema:
          type: string
      - name: X-DECISIV-SILENCE-EVENTS
        in: header
        required: false
        schema:
          type: array
          items:
            type: string
            enum:
            - service_request:submitted
            - decisiv:asset_management:service_request:submitted
        description: Corresponding webhook events which can be muted for the given transaction
      responses:
        '200':
          description: Returns the created service request
          content:
            application/vnd.api+json:
              example:
                data:
                  id: 22027e64-4191-41fd-b0e2-6f6c489d8b2a
                  type: service_requests
                  attributes:
                    complaint: transmission leaks on left side
                    status: Accepted
                    po_number: PO836743
                    auth_number: AUTH984107
                    note: Initial Note
                    asset_information:
                      odometer_value: 1234566
                      odometer_unit: mi
                    reference_number: 123245
                    primary_contact:
                      first_name: Gandalf
                      last_name: The Gray
                      email: gandalf@thegray.com
                      relation: Frodo
                      phone:
                        mobile: (582) 123-1234
                        work: (524) 123-1234
                    driver:
                      first_name: Bilbo
                      last_name: Baggins
                      email: bilbo@baggins.com
                      phone:
                        mobile: (582) 123-1234
                        work: (524) 123-1234
                    breakdown:
                      location: Dorris
                      city: South Lake Tahoe
                      state: KY
                    created_at: '2025-04-07T18:58:31Z'
                    updated_at: '2025-04-07T18:58:31Z'
                  relationships:
                    registered_asset:
                      data:
                        type: registered_assets
                        id: 552fb6b4-bbce-452b-bb60-8f40ca6e8eb3
                    service_provider:
                      data:
                        type: service_providers
                        id: 49babff7-536d-4262-b267-de66a19452cf
                    case:
                      data:
                        type: cases
                        id: e3dd4797-3215-4522-a2a8-7f3ccdb1fd44
                    primary_contact:
                      data:
                        type: contacts
                        id: 7da042d2-c47b-4748-ba65-c114adf1cf62
              schema:
                $ref: '#/components/schemas/service_request'
        '400':
          description: This response may occur when an invalid request has been provided to the server.  The request may be corrected by the consumer and resubmitted.
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/errors_response'
              examples:
                Filter not allowed:
                  value:
                    errors:
                    - title: Filter not allowed
                      detail: '''{{filter_name}}'' is not allowed. Valid filters: {{filters_list}}'
                      code: decisiv:filters:001
                      status: '400'
                      source:
                        parameter: filter[filter_name]
                Invalid silence events header:
                  value:
                    errors:
                    - title: Bad Request
                      detail: Invalid value for X-DECISIV-SILENCE-EVENTS header
                      code: decisiv:silence_webhook_events:001
                      status: '400'
                Missing required relationship:
                  value:
                    errors:
                    - status: '400'
                      code: decisiv:relationships:002
                      title: Missing required relationship
                      detail: The required relationship registered_asset is missing
                      source:
                        pointer: /data/relationships/registered_asset
                Missing required attribute value:
                  value:
                    errors:
                    - status: '400'
                      code: decisiv:request_attributes:002
                      title: Missing required attribute value
                      detail: Required key must be populated
                      source:
                        pointer: /data/attributes/complaint
                Invalid timestamp value:
                  value:
                    errors:
                    - status: '400'
                      code: decisiv:request_attributes:006
                      title: Invalid Timestamp Format
                      detail: Timestamps must conform to ISO 8601 standard in the format of "YYYY-MM-DDTHH:MM:SSZ"
                      source:
                        pointer: /data/attributes/event_timestamps/requested_at
                Invalid odometer_unit value:
                  value:
                    errors:
                    - status: '400'
                      code: decisiv:request_attributes:010
                      title: Invalid Attribute Value
                      detail: Invalid odometer_unit value provided - Needs to be either 'km' or 'mi'
                      source:
                        pointer: /data/attributes/asset_information/odometer_unit
        '401':
          description: This response may occur when the access token provided within the Authorization token has expired.
          content:
            application/vnd.api+json:
              example:
                errors:
                - title: Access unauthorized
                  detail: Access unauthorized
                  code: decisiv::access_token:001
                  status: '401'
              schema:
                $ref: '#/components/schemas/errors_response'
        '403':
          description: This response may occur when the authenticated user embedded within the Authorization header does not have access to the requested resource.
          content:
            application/vnd.api+json:
              example:
                errors:
                - title: Forbidden
                  detail: User does not have permission to perform this action on the requested resource(s)
                  code: decisiv:access:001
                  status: '403'
              schema:
                $ref: '#/components/schemas/errors_response'
        '404':
          description: This response may occur when the requested resource is not found.
          content:
            application/vnd.api+json:
              example:
                errors:
                - status: '404'
                  code: decisiv:resource:001
                  title: Resource Identifier - Not Found
                  detail: The parent resource could not be found
                  source:
                    parameter: id
              schema:
                $ref: '#/components/schemas/errors_response'
        '422':
          description: Service Provider does not have a contact to receive request / Registered Asset is not owned by the dealer or does not have owner / Relationship not found / Missing required contact field / Invalid state
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/errors_response'
              examples:
                Service Provider does not have a contact to receive request:
                  value:
                    errors:
                    - status: '422'
                      code: decisiv:service_requests:002
                      title: Service Provider is not currently available for accepting requests
                      detail: Triggered when the service provider does not have a contact to receive the request
                      source:
                        pointer: /data/relationships/service_provider/data/id
                Registered Asset is not owned by the dealer or does not have owner:
                  value:
                    errors:
                    - status: '422'
                      code: decisiv:service_requests:001
                      title: Provided Registered Asset is not enrolled for this account
                      detail: Triggered when the registered asset is not owned by any dealers on the account
                      source:
                        pointer: /data/relationships/registered_asset/data/id
                Relationship not found:
                  value:
                    errors:
                    - status: '422'
                      code: decisiv:request_attributes:003
                      title: Identifier not found
                      detail: Triggered when the record is not found by the provided identifier
                      source:
                        pointer: /data/relationships/registered_asset/data/id
                Missing required contact field:
                  value:
                    errors:
                    - status: '422'
                      code: decisiv:contacts:002
                      title: Must be present when primary_contact information has been provided.
                      detail: Triggered when contact data has been provided with missing mandatory fields
                      source:
                        pointer: /data/attributes/primary_contact/first_name
                Invalid state:
                  value:
                    errors:
                    - status: '422'
                      code: decisiv:location:002
                      title: Invalid state value
                      detail: Invalid format for state value, must be ISO 3166-2
                      source:
                        pointer: /data/attributes/breakdown/state
        '424':
          description: This response may occur when there is an unresolved data dependency or configuration required inside of the Decisiv Platform preventing access to the requested action.
          content:
            application/vnd.api+json:
              example:
                errors:
                - title: Failed Dependency
                  detail: Failed Dependency
                  code: '424'
                  status: '424'
              schema:
                $ref: '#/components/schemas/errors_response'
        '504':
          description: This response may occur when there is an unexpected system timeout.
          content:
            application/vnd.api+json:
              example:
                errors:
                - code: '504'
                  detail: Gateway timeout error
                  status: '504'
                  title: Gateway timeout error
              schema:
                $ref: '#/components/schemas/errors_response'
      requestBody:
        content:
          application/vnd.api+json:
            schema:
              $ref: '#/components/schemas/create_service_request'
            examples:
              Service Request:
                value:
                  data:
                    type: service_requests
                    attributes:
                      complaint: transmission leaks on left side
                      po_number: PO836743
                      auth_number: AUTH984107
                      note: Initial Note
                      asset_information:
                        odometer_value: 1234566
                        odometer_unit: mi
                      primary_contact:
                        first_name: Gandalf
                        last_name: The Gray
                        email: gandalf@thegray.com
                        relation: Frodo
                        phone:
                          mobile: (582) 123-1234
                          work: (524) 123-1234
                      driver:
                        first_name: Bilbo
                        last_name: Baggins
                        email: bilbo@baggins.com
                        phone:
                          mobile: (582) 123-1234
                          work: (524) 123-1234
                      breakdown:
                        location: Dorris
                        city: South Lake Tahoe
                        state: KY
                    relationships:
                      registered_asset:
                        data:
                          type: registered_assets
                          id: 552fb6b4-bbce-452b-bb60-8f40ca6e8eb3
                      service_provider:
                        data:
                          type: service_providers
                          id: 49babff7-536d-4262-b267-de66a19452cf
                      primary_contact:
                        data:
                          type: contacts
                          id: 7da042d2-c47b-4748-ba65-c114adf1cf62
  /asset_management/{srm_account_id}/v1/service_requests/{id}:
    get:
      summary: Retrieves a Service Request available for the requested account
      operationId: getServiceRequest
      description: Returns details for a specific Service Request by ID.
      tags:
      - Service Requests
      parameters:
      - name: srm_account_id
        in: path
        description: The account ID for SRM
        required: true
        schema:
          type: string
      - name: id
        in: path
        description: The resource uuid
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Retrieves a Service request
          content:
            application/vnd.api+json:
              example:
                data:
                  id: 22027e64-4191-41fd-b0e2-6f6c489d8b2a
                  type: service_requests
                  attributes:
                    complaint: transmission leaks on left side
                    status: Accepted
                    po_number: PO836743
                    auth_number: AUTH984107
                    note: Initial Note
                    asset_information:
                      odometer_value: 1234566
                      odometer_unit: mi
                    reference_number: 123245
                    primary_contact:
                      first_name: Gandalf
                      last_name: The Gray
                      email: gandalf@thegray.com
                      relation: Frodo
                      phone:
                        mobile: (582) 123-1234
                        work: (524) 123-1234
                    driver:
                      first_name: Bilbo
                      last_name: Baggins
                      email: bilbo@baggins.com
                      phone:
                        mobile: (582) 123-1234
                        work: (524) 123-1234
                    breakdown:
                      location: Dorris
                      city: South Lake Tahoe
                      state: KY
                    created_at: '2025-04-07T18:58:31Z'
                    updated_at: '2025-04-07T18:58:31Z'
                  relationships:
                    registered_asset:
                      data:
                        type: registered_assets
                        id: 552fb6b4-bbce-452b-bb60-8f40ca6e8eb3
                    service_provider:
                      data:
                        type: service_providers
                        id: 49babff7-536d-4262-b267-de66a19452cf
                    case:
                      data:
                        type: cases
                        id: e3dd4797-3215-4522-a2a8-7f3ccdb1fd44
                    primary_contact:
                      data:
                        type: contacts
                        id: 7da042d2-c47b-4748-ba65-c114adf1cf62
              schema:
                $ref: '#/components/schemas/service_request'
        '401':
          description: This response may occur when the access token provided within the Authorization token has expired.
          content:
            application/vnd.api+json:
              example:
                errors:
                - title: Access unauthorized
                  detail: Access unauthorized
                  code: decisiv::access_token:001
                  status: '401'
              schema:
                $ref: '#/components/schemas/errors_response'
        '403':
          description: This response may occur when the authenticated user embedded within the Authorization header does not have access to the requested resource.
          content:
            application/vnd.api+json:
              example:
                errors:
                - title: Forbidden
                  detail: User does not have permission to perform this action on the requested resource(s)
                  code: decisiv:access:001
                  status: '403'
              schema:
                $ref: '#/components/schemas/errors_response'
        '404':
          description: This response may occur when the requested resource is not found.
          content:
            application/vnd.api+json:
              example:
                errors:
                - status: '404'
                  code: decisiv:resource:001
                  title: Resource Identifier - Not Found
                  detail: The parent resource could not be found
                  source:
                    parameter: id
              schema:
                $ref: '#/components/schemas/errors_response'
        '424':
          description: This response may occur when there is an unresolved data dependency or configuration required inside of the Decisiv Platform preventing access to the requested action.
          content:
            application/vnd.api+json:
              example:
                errors:
                - title: Failed Dependency
                  detail: Failed Dependency
                  code: '424'
                  status: '424'
              schema:
                $ref: '#/components/schemas/errors_response'
        '504':
          description: This response may occur when there is an unexpected system timeout.
          content:
            application/vnd.api+json:
              example:
                errors:
                - code: '504'
                  detail: Gateway timeout error
                  status: '504'
                  title: Gateway timeout error
              schema:
                $ref: '#/components/schemas/errors_response'
    put:
      summary: Updates a Service Request availavable for the requested account
      operationId: updateServiceRequest
      description: Updates an existing Service Request for the requested account.
      tags:
      - Service Requests
      parameters:
      - name: srm_account_id
        in: path
        description: The account ID for SRM
        required: true
        schema:
          type: string
      - name: id
        in: path
        description: The resource uuid
        required: true
        schema:
          type: string
      - name: X-DECISIV-SILENCE-EVENTS
        in: header
        required: false
        schema:
          type: array
          items:
            type: string
            enum:
            - service_request:canceled
            - decisiv:asset_management:service_request:canceled
        description: Corresponding webhook events which can be muted for the given transaction
      responses:
        '200':
          description: Show the updated Service Request
          content:
            application/vnd.api+json:
              example:
                data:
                  id: 22027e64-4191-41fd-b0e2-6f6c489d8b2a
                  type: service_requests
                  attributes:
                    complaint: transmission leaks on left side
                    status: Accepted
                    po_number: PO836743
                    auth_number: AUTH984107
                    note: Initial Note
                    asset_information:
                      odometer_value: 1234566
                      odometer_unit: mi
                    reference_number: 123245
                    primary_contact:
                      first_name: Gandalf
                      last_name: The Gray
                      email: gandalf@thegray.com
                      relation: Frodo
                      phone:
                        mobile: (582) 123-1234
                        work: (524) 123-1234
                    driver:
                      first_name: Bilbo
                      last_name: Baggins
                      email: bilbo@baggins.com
                      phone:
                        mobile: (582) 123-1234
                        work: (524) 123-1234
                    breakdown:
                      location: Dorris
                      city: South Lake Tahoe
                      state: KY
                    created_at: '2025-04-07T18:58:31Z'
                    updated_at: '2025-04-07T18:58:31Z'
                  relationships:
                    registered_asset:
                      data:
                        type: registered_assets
                        id: 552fb6b4-bbce-452b-bb60-8f40ca6e8eb3
                    service_provider:
                      data:
                        type: service_providers
                        id: 49babff7-536d-4262-b267-de66a19452cf
                    case:
                     

# --- truncated at 32 KB (67 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/decisiv/refs/heads/main/openapi/decisiv-service-requests-api-openapi.yml