Vendor Management

Unmark A Vendor As Favourite

HTTP Request

POST /api/v1/vendor-management/{vendorId}/remove-from-favorite

📋 Description: Unmark a vendor as favourite

Parameters

Name

In

Type

Required

Description

vendorId

path

integer(int64)

true

Unique identifier for the vendor

Responses

Status

Meaning

Description

Schema

200

OK

OK

FavouriteModel

409

Conflict

Payment amount exceeds remaining invoice balance

InvoicePaymentBalanceConflictDto

502

Bad Gateway

Downstream service call failed

PayableErrorDto

Mark A Vendor As Favourite

HTTP Request

POST /api/v1/vendor-management/{vendorId}/add-to-favorite

📋 Description: Mark a vendor as favourite

Parameters

Name

In

Type

Required

Description

vendorId

path

integer(int64)

true

Unique identifier for the vendor

Responses

Status

Meaning

Description

Schema

200

OK

OK

FavouriteModel

409

Conflict

Payment amount exceeds remaining invoice balance

InvoicePaymentBalanceConflictDto

502

Bad Gateway

Downstream service call failed

PayableErrorDto

Search All Vendors

HTTP Request

POST /api/v1/vendor-management/partners/search

📋 Description: Returns a paginated list of all Payable vendors matching the optional filter. Applies company-access filtering automatically based on the authenticated user’s context.

Parameters

Name

In

Type

Required

Description

body

body

object

false

Request body containing search criteria and filters for identifying vendor partners within the vendor management system.

» request

body

PartnerSearchRequest

false

Data transfer object representing a request to search for partners within the enterprise ecosystem, facilitating the identification and evaluation of potential collaborations to enhance business opportunities.

»» searchTerm

body

string

false

Search term used to filter and refine partner search results based on user-defined criteria.

»» createdAtGreaterThanOrEqual

body

string(date-time)

false

Filter where created at is greater than or equal to specified value

»» createdAtLessThanOrEqual

body

string(date-time)

false

Filter where created at is less than or equal to specified value

»» modifiedAtGreaterThanOrEqual

body

string(date-time)

false

Filter where modified at is greater than or equal to specified value

»» modifiedAtLessThanOrEqual

body

string(date-time)

false

Filter where modified at is less than or equal to specified value

»» createdByLike

body

string

false

Filter by partial match of created by

»» createdByEqual

body

string

false

Filter by exact match of created by

»» statusEqual

body

string

false

Filter by exact match of status

»» statusIn

body

[string]

false

Filter by multiple values of status

»» erpSystemIdIn

body

[integer]

false

Filter by multiple values of erp system id

»» erpSystemIdEqual

body

integer(int64)

false

Filter by exact match of erp system id

»» erpSystemDisplayIdIn

body

[string]

false

Filter by multiple values of erp system display id

»» idIn

body

[integer]

false

Filter by multiple values of id

»» idNotIn

body

[integer]

false

Filter by excluding multiple values of id

»» leaseAreaIdIn

body

[integer]

false

Filter by multiple values of lease area id

»» businessUnitIdIn

body

[integer]

false

Filter by multiple values of business unit id

»» companyIdIn

body

[integer]

false

Filter by multiple values of company id

»» companyIdEqual

body

integer(int64)

false

Filter by exact match of company id

»» partnerRoleIdIn

body

[integer]

false

Filter by multiple values of partner role id

»» partnerRoleIdEqual

body

integer(int64)

false

Filter by exact match of partner role id

»» displayIdEqual

body

string

false

Filter by exact match of display id

» pageable

body

Pageable

false

Data transfer object representing a paginated collection of results, enabling efficient navigation and retrieval of large datasets within the API. This schema supports enhanced user experience by facilitating organized data presentation and management.

»» page

body

integer(int32)

false

Page number for pagination

»» size

body

integer(int32)

false

Number of items per page

»» sort

body

[string]

false

Sort order specification

Enumerated Values

Attribute

Value

»» statusEqual

ACTIVE, CREATED, DECOMMISSIONED, DISABLED

»» statusIn

ACTIVE, CREATED, DECOMMISSIONED, DISABLED

Parameter Constraints

Parameter

Constraints

»» page

Min: 0

»» size

Min: 1

Responses

Status

Meaning

Description

Schema

200

OK

Paginated vendor list returned

PagePayableVendorFormDto

409

Conflict

Payment amount exceeds remaining invoice balance

InvoicePaymentBalanceConflictDto

502

Bad Gateway

Downstream service call failed

PayableErrorDto

Archive A Vendor

HTTP Request

POST /api/v1/vendor-management/partner/{id}/archive

📋 Description: Marks the vendor as archived in Financial Org Structure. Archived vendors are excluded from new transaction lookups but remain visible on historical records.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Internal FOS vendor ID

Responses

Status

Meaning

Description

Schema

200

OK

Vendor archived

PartnerDto

404

Not Found

Vendor not found

PayableErrorDto

409

Conflict

Payment amount exceeds remaining invoice balance

InvoicePaymentBalanceConflictDto

502

Bad Gateway

Downstream service call failed

PayableErrorDto

Create A New Vendor (Partner)

HTTP Request

POST /api/v1/vendor-management/partner

📋 Description: Creates a new vendor record in Financial Org Structure. The supplied PartnerDto is validated and forwarded to FOS. Returns the persisted partner with assigned ID.

Parameters

Name

In

Type

Required

Description

body

body

PartnerDto

true

Request body containing the partner information, including identification details, contact information, and business attributes necessary for vendor management.

Responses

Status

Meaning

Description

Schema

201

Created

Vendor created successfully

PartnerDto

400

Bad Request

Invalid vendor data

PayableErrorDto

409

Conflict

Payment amount exceeds remaining invoice balance

InvoicePaymentBalanceConflictDto

502

Bad Gateway

Downstream service call failed

PayableErrorDto

Check Whether A Vendor Is Marked As Favourite By The Current User

HTTP Request

GET /api/v1/vendor-management/{vendorId}/is-favorite

📋 Description: Check whether a vendor is marked as favourite by the current user

Parameters

Name

In

Type

Required

Description

vendorId

path

integer(int64)

true

Unique identifier for the vendor

Responses

Status

Meaning

Description

Schema

200

OK

OK

boolean

409

Conflict

Payment amount exceeds remaining invoice balance

InvoicePaymentBalanceConflictDto

502

Bad Gateway

Downstream service call failed

PayableErrorDto

Get Recently Viewed Vendors For The Current User

HTTP Request

GET /api/v1/vendor-management/recents

📋 Description: Get recently viewed vendors for the current user

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

[RecentModel]

false

none

[Data transfer object representing the most recent model utilized in predictive analytics, encapsulating key attributes and performance metrics to support informed decision-making in business strategy.]

» internalId

string

false

none

Unique identifier for the internal

» foreignId

string

false

none

Unique identifier for the foreign

» objectType

string

false

none

Type of the object

» recentType

string

false

none

Type of the recent

» username

string

false

none

Represents the unique identifier for a user within the system, facilitating user management and authentication processes.

» lastAccess

string(date-time)

false

none

Timestamp indicating the most recent access to the resource, facilitating tracking of user engagement and system utilization.

Enumerated Values

Attribute

Value

recentType

APPROVED, CLOSED, MODIFIED, VIEWED

Get Vendor Details From FOS

HTTP Request

GET /api/v1/vendor-management/fos/vendors/{vendorId}

📋 Description: Loads the full vendor form data for a specific vendor from Financial Org Structure (FOS), enriched with Payable-specific metadata.

Parameters

Name

In

Type

Required

Description

vendorId

path

integer(int64)

true

Internal FOS vendor ID

Responses

Status

Meaning

Description

Schema

200

OK

Vendor details returned

PayableVendorFormDto

404

Not Found

Vendor not found

PayableErrorDto

409

Conflict

Payment amount exceeds remaining invoice balance

InvoicePaymentBalanceConflictDto

502

Bad Gateway

Downstream service call failed

PayableErrorDto

Get All Vendors Marked As Favourite By The Current User

HTTP Request

GET /api/v1/vendor-management/favorites

📋 Description: Get all vendors marked as favourite by the current user

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

[FavouriteModel]

false

none

[Data transfer object representing a user’s preferred items within the application, facilitating personalized experiences and enhancing user engagement.]

» internalId

string

false

none

Unique identifier for the internal

» foreignId

string

false

none

Unique identifier for the foreign

» objectType

string

false

none

Type of the object

» username

string

false

none

Represents the unique username associated with a user in the system, facilitating user identification and access management.

» sequenceNumber

integer(int32)

false

none

Sequential identifier for the favorite items, ensuring a consistent order within the user’s preferences.

» createdAt

string(date-time)

false

none

Timestamp when this resource was created