Loop Business Exceptions API
The business-exceptions API from Loop — 3 operation(s) for business-exceptions.
The business-exceptions API from Loop — 3 operation(s) for business-exceptions.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/loop:loop-business-exceptions-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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: 3.2.0
info:
title: Loop Business Exceptions API
description: The HTTP REST API for Loop.
version: '0.1'
contact: {}
servers:
- url: https://api.loop.com
description: Production
security:
- bearer: []
tags:
- name: business-exceptions
paths:
/v1/business-exceptions/target-entity-qid/{targetEntityQid}:
get:
description: Returns all business exceptions for the specified target entity
operationId: BusinessExceptions_listForTargetEntityQid
parameters:
- name: targetEntityQid
required: true
in: path
description: QID of the target entity for which to retrieve exceptions
schema:
format: qid
example: qid::payable_invoice:0ca6f700-4137-4d09-b44a-43bb8d7900c5
type: string
responses:
'200':
description: ''
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/BusinessException'
'400':
description: Invalid QID
summary: Retrieve all business exceptions on an entity
tags:
- business-exceptions
/v1/business-exceptions/{qid}:
get:
description: Returns the business exception with the specified QID
operationId: BusinessExceptions_get
parameters:
- name: qid
required: true
in: path
description: QID of the entity to retrieve
schema:
format: qid
example: qid::business_exception:0ca6f700-4137-4d09-b44a-43bb8d7900c5
type: string
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BusinessException'
'400':
description: Invalid QID
'404':
description: Business exception not found
summary: Retrieve a business exception
tags:
- business-exceptions
/v1/business-exceptions/{qid}/resolve:
put:
description: Resolves the business exception with the provided QID. If the exception is already resolved, a 422 (Unprocessable Entity) will be returned.
operationId: BusinessExceptions_resolve
parameters:
- name: qid
required: true
in: path
description: QID of the exception to resolve
schema:
format: qid
example: qid::business_exception:0ca6f700-4137-4d09-b44a-43bb8d7900c5
type: string
requestBody:
required: false
content:
application/json:
schema:
$ref: '#/components/schemas/ResolveBusinessExceptionInput'
responses:
'200':
description: The business exception was successfully resolved
content:
application/json:
schema:
$ref: '#/components/schemas/BusinessException'
'400':
description: Invalid QID
'404':
description: Business exception not found
'422':
description: The business exception is already resolved
summary: Resolve a business exception
tags:
- business-exceptions
components:
schemas:
ResolveBusinessExceptionInput:
type: object
properties:
note:
type: string
example: This is a note
description: A note to be added to the business exception. If provided, this will overwrite any existing note.
BusinessException:
type: object
properties:
qid:
type: string
description: Qualified unique identifier.
example: qid::business_exception:0ca6f700-4137-4d09-b44a-43bb8d7900c4
format: qid
label:
type: string
description: The description of the business exception
example: Variance over threshold
resolvedAt:
type:
- string
- 'null'
format: utc-timestamp
example: '2023-01-01T00:00:00.000Z'
description: If resolved, the time the exception was resolved. If the exception was resolved and re-opened, this will be null.
targetQid:
type: string
description: Qualified unique identifier of the business exception's target entity.
format: qid
example: qid::payable_invoice:0ca6f700-4137-4d09-b44a-43bb8d7900c4
note:
type:
- string
- 'null'
description: The note on the business exception
required:
- qid
- label
- resolvedAt
- targetQid
securitySchemes:
bearer:
scheme: bearer
bearerFormat: apiKey
name: bearerAuth
type: http
description: "Bearer HTTP authentication. Allowed headers: \n Authorization: Bearer <apiKey>"