Vendor Request

Get A Resource By ID

HTTP Request

GET /api/v1/vendor-request/{id}

📋 Description: Returns the single resource with the given ID.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Resource ID

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseVendorRequestDto

409

Conflict

Payment amount exceeds remaining invoice balance

InvoicePaymentBalanceConflictDto

502

Bad Gateway

Downstream service call failed

PayableErrorDto

Update A Resource

HTTP Request

PUT /api/v1/vendor-request/{id}

📋 Description: Fully replaces the resource with the given ID. All fields in the request body are applied.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Resource ID

body

body

VendorRequestDto

true

Request body containing the updated vendor request details, including status, contact information, and any relevant documentation.

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseVendorRequestDto

409

Conflict

Payment amount exceeds remaining invoice balance

InvoicePaymentBalanceConflictDto

502

Bad Gateway

Downstream service call failed

PayableErrorDto

Delete A Single Resource

HTTP Request

DELETE /api/v1/vendor-request/{id}

📋 Description: Permanently deletes the resource with the given ID.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Unique identifier for the resource

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseVoid

409

Conflict

Payment amount exceeds remaining invoice balance

InvoicePaymentBalanceConflictDto

502

Bad Gateway

Downstream service call failed

PayableErrorDto

Partially Update A Resource (Json Patch)

HTTP Request

PATCH /api/v1/vendor-request/{id}

📋 Description: Applies a JSON Patch (RFC 6902) document to the resource with the given ID. Only the fields specified in the patch are modified; all other fields remain unchanged.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Unique identifier for the resource

body

body

JsonPatch

true

Request body containing the updated vendor request details, including status, comments, and any relevant metadata for processing.

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseVendorRequestDto

409

Conflict

Payment amount exceeds remaining invoice balance

InvoicePaymentBalanceConflictDto

502

Bad Gateway

Downstream service call failed

PayableErrorDto

Bulk Create-Or-Update Resources

HTTP Request

PUT /api/v1/vendor-request/createOrUpdate/bulk

📋 Description: Creates or updates multiple resources in a single request. Partial success: each item is processed independently. Items that pass validation are persisted; failed items are recorded in the response errors list. The response body always contains the successfully processed items alongside any per-item errors.

Parameters

Name

In

Type

Required

Description

body

body

VendorRequestDto

true

Request body containing a bulk array of vendor request data, including details for creation or updates, to streamline vendor management processes.

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseListVendorRequestDto

409

Conflict

Payment amount exceeds remaining invoice balance

InvoicePaymentBalanceConflictDto

502

Bad Gateway

Downstream service call failed

PayableErrorDto

Create Or Update A Resource

HTTP Request

PUT /api/v1/vendor-request/createOrUpdate

📋 Description: Creates the resource if no matching record exists, or fully updates it if one is found. Idempotent: safe to call multiple times with the same payload.

Parameters

Name

In

Type

Required

Description

body

body

VendorRequestDto

true

Request body containing the vendor request details, including identification, specifications, and status for creating or updating vendor information.

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseVendorRequestDto

409

Conflict

Payment amount exceeds remaining invoice balance

InvoicePaymentBalanceConflictDto

502

Bad Gateway

Downstream service call failed

PayableErrorDto

Bulk-Update Resources

HTTP Request

PUT /api/v1/vendor-request/bulk

📋 Description: Updates multiple resources in a single request. Partial success: each item is processed independently. Items that pass validation are updated; failed items are recorded in the response errors list. The response body always contains the successfully updated items alongside any per-item errors.

Parameters

Name

In

Type

Required

Description

body

body

VendorRequestDto

true

Request body containing an array of vendor request objects, each including relevant details such as vendor information, request status, and associated metadata for bulk processing.

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseListVendorRequestDto

409

Conflict

Payment amount exceeds remaining invoice balance

InvoicePaymentBalanceConflictDto

502

Bad Gateway

Downstream service call failed

PayableErrorDto

Bulk-Create Resources

HTTP Request

POST /api/v1/vendor-request/bulk

📋 Description: Creates multiple resources in a single request. Partial success: each item is processed independently. Items that pass validation are persisted; failed items are recorded in the response errors list. The response body always contains the successfully created items alongside any per-item errors.

Parameters

Name

In

Type

Required

Description

body

body

VendorRequestDto

true

Request body containing an array of vendor request details, including vendor information and associated requirements for bulk processing.

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseListVendorRequestDto

409

Conflict

Payment amount exceeds remaining invoice balance

InvoicePaymentBalanceConflictDto

502

Bad Gateway

Downstream service call failed

PayableErrorDto

Bulk-Delete Resources

HTTP Request

DELETE /api/v1/vendor-request/bulk

📋 Description: Deletes multiple resources by ID in a single request. Partial success: each deletion is attempted independently. If one or more deletions fail (e.g. due to state constraints), the successfully deleted items are NOT rolled back. A ValidationException containing per-item errors is thrown after all items have been attempted, so the caller must inspect the error list to determine which IDs were not deleted.

Parameters

Name

In

Type

Required

Description

body

body

array[integer]

true

Request body containing an array of vendor request IDs to be deleted in bulk, facilitating efficient management of vendor relationships.

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseVoid

409

Conflict

Payment amount exceeds remaining invoice balance

InvoicePaymentBalanceConflictDto

502

Bad Gateway

Downstream service call failed

PayableErrorDto

Start A Vendor Update Request

HTTP Request

POST /api/v1/vendor-request/{vendorId}/update/start

📋 Description: Initiates the vendor update workflow for the specified vendor. Creates a draft VendorRequest capturing the proposed changes described in the request body.

Parameters

Name

In

Type

Required

Description

vendorId

path

integer(int64)

true

Payable vendor ID

body

body

StartVendorUpdateRequest

true

Request body containing the updated vendor request details, including status, relevant documentation, and any necessary metadata for processing the update.

Responses

Status

Meaning

Description

Schema

204

No Content

Vendor update request initiated

None

409

Conflict

Payment amount exceeds remaining invoice balance

InvoicePaymentBalanceConflictDto

502

Bad Gateway

Downstream service call failed

PayableErrorDto

Search Resources

HTTP Request

POST /api/v1/vendor-request/search

📋 Description: Returns a paginated list of resources matching the given filter criteria. Pass null or an empty body to return all accessible records.

Parameters

Name

In

Type

Required

Description

page

query

integer

false

Zero-based page index (0..N)

size

query

integer

false

The size of the page to be returned

sort

query

array[string]

false

Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

body

body

VendorRequestDtoFilter

false

Request body containing the search criteria for vendor requests, including filters and parameters to refine the results based on business needs.

Default Values

Parameter

Default

Type

page

0

query

size

100

query

sort

["CREATED_AT,ASC"]

query

Parameter Constraints

Parameter

Constraints

page

Min: 0

size

Min: 1

Responses

Status

Meaning

Description

Schema

200

OK

OK

PageVendorRequestDto

409

Conflict

Payment amount exceeds remaining invoice balance

InvoicePaymentBalanceConflictDto

502

Bad Gateway

Downstream service call failed

PayableErrorDto

Resolve A Conflicted Vendor Request

HTTP Request

POST /api/v1/vendor-request/resolve-conflict

📋 Description: Applies manual conflict resolution to a vendor request that is in a conflicted state (e.g. the underlying vendor was modified by another request after this one was submitted). The resolved data in the request body overwrites the conflicting fields.

Parameters

Name

In

Type

Required

Description

body

body

VendorRequestDto

true

Request body containing the details of the vendor conflict resolution, including conflict identifiers, proposed resolutions, and relevant metadata.

Responses

Status

Meaning

Description

Schema

204

No Content

Conflict resolved

None

409

Conflict

Payment amount exceeds remaining invoice balance

InvoicePaymentBalanceConflictDto

502

Bad Gateway

Downstream service call failed

PayableErrorDto

List All Resources

HTTP Request

GET /api/v1/vendor-request

📋 Description: Returns a paginated list of all accessible resources ordered by ID. Prefer POST /search for filtered queries.

Parameters

Name

In

Type

Required

Description

pageable

query

Pageable

true

Indicates whether the response should be paginated, allowing users to retrieve vendor requests in manageable segments for improved data handling and analysis.

Responses

Status

Meaning

Description

Schema

200

OK

OK

PageVendorRequestDto

409

Conflict

Payment amount exceeds remaining invoice balance

InvoicePaymentBalanceConflictDto

502

Bad Gateway

Downstream service call failed

PayableErrorDto

Create A Resource

HTTP Request

POST /api/v1/vendor-request

📋 Description: Creates a single resource. Returns the created resource with its generated ID.

Parameters

Name

In

Type

Required

Description

body

body

VendorRequestDto

true

Request body containing the vendor request details, including vendor information, service requirements, and associated metadata for processing procurement needs.

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseVendorRequestDto

409

Conflict

Payment amount exceeds remaining invoice balance

InvoicePaymentBalanceConflictDto

502

Bad Gateway

Downstream service call failed

PayableErrorDto

Get Workflow State History For A Vendor Request

HTTP Request

GET /api/v1/vendor-request/{vendorRequestId}/state-history

📋 Description: Returns the ordered list of state transitions the vendor request has gone through.

Parameters

Name

In

Type

Required

Description

vendorRequestId

path

integer(int64)

true

Vendor request ID

Responses

Status

Meaning

Description

Schema

200

OK

OK

Inline

409

Conflict

Payment amount exceeds remaining invoice balance

InvoicePaymentBalanceConflictDto

502

Bad Gateway

Downstream service call failed

PayableErrorDto

Response Schema

Status Code 200

Name

Type

Required

Restrictions

Description

anonymous

[VendorRequestStateHistoryDto]

false

none

[Data transfer object representing the historical state changes of vendor requests, providing insights into their progression and status over time for effective vendor management.]

» id

integer(int64)

false

none

Unique identifier for the resource

» success

boolean

false

none

Indicates whether the vendor request was successfully processed, providing essential insight into the status of vendor engagement.

» failedMessage

string

false

none

Message detailing the reason for the failure of a vendor request, providing essential context for troubleshooting and resolution.

» warningMessage

string

false

none

Contains a string message that provides warnings related to the state history of vendor requests, aiding in the identification of potential issues during processing.

» fromState

string

false

none

Represents the originating state of the vendor request within the state history, providing insight into its progression and status changes.

» event

string

false

none

Represents the specific event associated with the vendor request state history, providing context for changes in the request’s status.

» comment

string

false

none

Textual feedback or remarks associated with the vendor request, providing context and insights into the request’s status or history.

» vendorRequestRejectionReason

string

false

none

Reason for the rejection of a vendor request, providing clarity on the decision for record-keeping and future reference.

» vendorRequestId

integer(int64)

false

none

Unique identifier for the vendor request

Get Change Diff History For A Vendor

HTTP Request

GET /api/v1/vendor-request/{vendorId}/change-diff-history

📋 Description: Returns all historical diffs for a vendor — one per approved vendor request.

Parameters

Name

In

Type

Required

Description

vendorId

path

integer(int64)

true

Payable vendor ID

Responses

Status

Meaning

Description

Schema

200

OK

OK

Inline

409

Conflict

Payment amount exceeds remaining invoice balance

InvoicePaymentBalanceConflictDto

502

Bad Gateway

Downstream service call failed

PayableErrorDto

Response Schema

Status Code 200

Name

Type

Required

Restrictions

Description

anonymous

[VendorDiffResult]

false

none

[Data transfer object representing the differences identified between vendor records, including relevant metadata and comparison results, to facilitate informed decision-making in vendor management.]

» vendorId

integer(int64)

false

none

Unique identifier for the vendor

» operationReason

string

false

none

Description of the reason for the operational difference identified in the vendor analysis.

» operation

string

false

none

Specifies the type of operation performed in the vendor differentiation process, facilitating clear tracking and analysis of vendor performance.

» createdBy

string

false

none

Username of who created this resource

» createdAt

string(date-time)

false

none

Timestamp when this resource was created

» fieldDiffs

object

false

none

Contains the differences between vendor data sets, enabling users to identify and analyze discrepancies for informed decision-making.

»» additionalProperties

FieldDiff

false

none

Data transfer object representing the differences between two field values, enabling businesses to track changes and discrepancies in data for improved decision-making and data integrity.

»»» newValue

object

false

none

Represents the updated value of a field in the context of a change request, facilitating the tracking of modifications within the system.

»»» oldValue

object

false

none

Represents the previous state of the field before any modifications were made, providing essential context for tracking changes in data.

» companyDiff

RelationDiffString

false

none

Data transfer object representing the differences in string values between two related entities, facilitating comparison and analysis in business processes.

»» added

[string]

false

none

Array of strings representing the differences that have been added, facilitating tracking of changes within the related data.

»» removed

[string]

false

none

Array of strings representing the relationships that have been removed, providing insight into changes in data associations.

» roleDiff

RelationDiffString

false

none

Data transfer object representing the differences in string values between two related entities, facilitating comparison and analysis in business processes.

» contactDiff

RelationDiffPartnerContactDto

false

none

Data transfer object representing the contact details of a partner within a relational context, facilitating effective communication and collaboration in business partnerships.

»» added

[PartnerContactDto]

false

none

Array of related partner contact details that have been added, facilitating enhanced communication and collaboration with stakeholders.

»»» id

integer(int64)

false

none

Unique identifier for the resource

»»» status

string

false

none

Status of the resource

»»» displayId

string

true

none

Unique identifier for the display

»»» name

string

true

none

Name of the resource

»»» email

string

true

none

Email address of the partner contact, used for communication and correspondence within the business relationship.

»»» phone

string

false

none

Contact phone number for the partner, used for communication and coordination purposes.

»»» position

string

true

none

Represents the job title or role of the partner contact within their organization.

»»» address

string

false

none

Represents the physical address of the partner contact, essential for communication and logistical purposes.

»»» group

string

false

none

Represents the name of the group associated with the partner contact, facilitating organized communication and collaboration within the business context.

»»» buildingName

string

false

none

Name of the building

»»» fax

string

false

none

Fax number of the partner contact, used for facilitating direct communication and document transmission.

»»» erpSystemId

integer(int64)

false

none

Unique identifier for the erp system

»»» erpSystemDisplayId

string

false

none

Unique identifier for the erp system display

»»» partnerId

integer(int64)

false

none

Unique identifier for the partner

»»» contactRoleId

integer(int64)

false

none

Unique identifier for the contact role

»» removed

[PartnerContactDto]

false

none

List of contacts that have been removed from the partnership, providing insights into changes in stakeholder relationships.

» hasChanges

boolean

false

none

Whether the resource has has changes

Enumerated Values

Attribute

Value

operation

VENDOR_CREATE, VENDOR_DELETE, VENDOR_RESTORE, VENDOR_UPDATE

status

ACTIVE, CREATED, DECOMMISSIONED, DISABLED

Preview The Diff For A Vendor Request

HTTP Request

GET /api/v1/vendor-request/vendor-diff/preview/{vendorRequestId}

📋 Description: Returns a structured diff of what will change when this vendor request is approved. Use {@code type=NORMAL_DIFF} (default) for a field-by-field comparison, or {@code type=FULL_DIFF} to include unchanged fields as context.

Parameters

Name

In

Type

Required

Description

vendorRequestId

path

integer(int64)

true

Vendor request ID

type

query

string

false

NORMAL_DIFF shows only changed fields; FULL_DIFF includes all fields

Default Values

Parameter

Default

Type

type

NORMAL_DIFF

query

Enumerated Values

Attribute

Value

type

CONFLICT_DIFF, NORMAL_DIFF

Responses

Status

Meaning

Description

Schema

200

OK

OK

VendorDiffResult

409

Conflict

Payment amount exceeds remaining invoice balance

InvoicePaymentBalanceConflictDto

502

Bad Gateway

Downstream service call failed

PayableErrorDto

Get Full Vendor Details From Payable Context

HTTP Request

GET /api/v1/vendor-request/payable/vendors/{vendorId}

📋 Description: Returns the enriched vendor form data for a specific vendor as stored in the Payable module, including Payable-specific fields not present in FOS.

Parameters

Name

In

Type

Required

Description

vendorId

path

integer(int64)

true

Payable vendor ID

Responses

Status

Meaning

Description

Schema

200

OK

OK

PayableVendorFormDto

409

Conflict

Payment amount exceeds remaining invoice balance

InvoicePaymentBalanceConflictDto

502

Bad Gateway

Downstream service call failed

PayableErrorDto