Vendor Resource

Get Vendor

HTTP Request

GET /api/vendors/{id}

📋 Description: Retrieves detailed information about a specific vendor identified by the provided ID, enabling users to access essential vendor data for informed decision-making.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Unique identifier for the resource

Responses

Status

Meaning

Description

Schema

200

OK

OK

VendorDTO

Update Vendor

HTTP Request

PUT /api/vendors/{id}

📋 Description: Updates the details of a specific vendor identified by the unique {id}, allowing for modifications to vendor information to ensure accuracy and relevance in business operations.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Unique identifier for the resource

body

body

VendorDTO

true

Request body containing the updated vendor information, including name, contact details, and service offerings, to ensure accurate vendor management.

Responses

Status

Meaning

Description

Schema

200

OK

OK

None

Delete Vendor

HTTP Request

DELETE /api/vendors/{id}

📋 Description: Deletes a vendor identified by the specified ID, ensuring the removal of associated records from the system to maintain accurate vendor management.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Unique identifier for the resource

Responses

Status

Meaning

Description

Schema

204

No Content

No Content

None

Get All Vendor

HTTP Request

GET /api/vendors

📋 Description: Retrieves a list of registered vendors, providing essential details for vendor management and selection processes.

Responses

Status

Meaning

Description

Schema

200

OK

OK

Inline

Response Schema

Status Code 200

Name

Type

Required

Restrictions

Description

anonymous

[VendorDTO]

false

none

[Data transfer object representing a vendor, encapsulating essential details such as vendor identification, contact information, and service offerings to facilitate effective supplier management and collaboration.]

» id

integer(int64)

false

none

Unique identifier for the resource

» createdBy

string

false

none

Username of who created this resource

» createdAt

string(date-time)

false

none

Timestamp when this resource was created

» displayId

string

false

none

Unique identifier for the display

» name

string

false

none

Name of the resource

» description

string

false

none

Description of the resource

» address

string

false

none

Represents the physical location of the vendor, essential for logistical coordination and service delivery.

» contractEndDate

string(date)

false

none

Date of the contract end

» services

string

false

none

Represents the list of services offered by the vendor, essential for evaluating vendor capabilities and aligning them with business needs.

» vendorType

string

false

none

Type of the vendor

» vendorStatusId

integer(int64)

false

none

Unique identifier for the vendor status

» vendorStatus

string

false

none

Status of the vendor

» vendorStatusType

string

false

none

Type of the vendor status

» businessTypeId

integer(int64)

false

none

Unique identifier for the business type

» businessType

string

false

none

Type of the business

» vendorRateId

integer(int64)

false

none

Unique identifier for the vendor rate

» vendorRate

string

false

none

Rate of vendor

» vendorContactIds

[integer]

false

none

Array of unique identifiers for vendor contacts associated with the vendor, facilitating streamlined communication and management of vendor relationships.

» premiseIds

[integer]

false

none

Array of unique identifiers representing the premises associated with the vendor, facilitating streamlined management and tracking of vendor relationships.

» firstPremiseDisplayId

string

false

none

Unique identifier for the first premise display

» ownerUserName

string

false

none

Name of the owner user

» ownerDto

UserDTO

false

none

Data transfer object representing a user profile within the system, encapsulating essential user information and attributes for effective management and interaction across business applications.

»» id

integer(int64)

false

none

Unique identifier for the resource

»» createdBy

string

false

none

Username of who created this resource

»» createdAt

string(date-time)

false

none

Timestamp when this resource was created

»» userName

string

false

none

Name of the user

»» firstName

string

false

none

Name of the first

»» lastName

string

false

none

Name of the last

»» email

string

false

none

Email address of the user, used for communication and account verification purposes within the system.

»» roleIds

[Role]

false

none

Array of unique identifiers representing the roles assigned to the user, facilitating role-based access and permissions within the system.

»»» id

integer(int64)

false

none

Unique identifier for the resource

»»» createdBy

string

false

none

Username of who created this resource

»»» createdAt

string(date-time)

false

none

Timestamp when this resource was created

»»» modifiedBy

string

false

none

Username of who last modified this resource

»»» modifiedAt

string(date-time)

false

none

Timestamp when this resource was last modified

»»» roleName

string

false

none

Name of the role

»»» entity

string

false

none

Represents the specific role associated with the entity within the organizational structure, facilitating effective resource allocation and management.

»»» new

boolean

false

none

Indicates whether the role is newly created within the system, facilitating effective management of organizational changes.

»» internalTeamNames

[string]

false

none

List of names representing the internal teams associated with the user, facilitating effective collaboration and resource allocation within the organization.

»» internalTeamIds

[integer]

false

none

An array of unique identifiers representing the internal teams associated with the user, facilitating team management and collaboration within the organization.

»» internalTeamDisplayIds

[string]

false

none

An array of unique identifiers representing the internal teams associated with the user, facilitating streamlined team management and collaboration.

»» premiseIds

[integer]

false

none

Array of unique identifiers representing the premises associated with the user, facilitating efficient management and tracking of user-related locations.

»» premiseNames

[string]

false

none

List of names associated with the user’s premises, providing essential context for location-based services and operations.

»» userAvailable

boolean

false

none

Indicates whether the user is available for assignment or engagement within the system.

»» temporaryWorkload

integer(int32)

false

none

Represents the temporary workload allocation for the user, measured in integer units, to facilitate effective resource management and planning.

»» preferredCultureCode

string

false

none

Code for the preferred culture

» vendorAvailable

boolean

false

none

Indicates whether the vendor is currently available for new engagements.

» vendorRating

number(double)

false

none

Numeric representation of the vendor’s performance rating, used to assess and compare vendor quality within the procurement process.

» premiseDisplayIds

[string]

false

none

Array of unique identifiers for the premises associated with the vendor, facilitating streamlined management and reference within the system.

Create Vendor

HTTP Request

POST /api/vendors

📋 Description: Creates a new vendor record in the system, enabling businesses to manage vendor relationships and streamline procurement processes.

Parameters

Name

In

Type

Required

Description

body

body

VendorDTO

true

Request body containing the vendor information, including name, contact details, and business classification, necessary for vendor registration.

Responses

Status

Meaning

Description

Schema

201

Created

Created

VendorDTO

Get All Vendor Contacts By Vendor ID

HTTP Request

GET /api/vendors/{id}/vendorContacts

📋 Description: Retrieves the list of vendor contacts associated with a specified vendor, enabling efficient management of vendor relationships and communication.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Unique identifier for the resource

Responses

Status

Meaning

Description

Schema

200

OK

OK

Inline

Response Schema

Status Code 200

Name

Type

Required

Restrictions

Description

anonymous

[VendorContactDTO]

false

none

[Data transfer object representing the contact information and details of a vendor, facilitating effective communication and relationship management within the vendor management system.]

» id

integer(int64)

false

none

Unique identifier for the resource

» createdBy

string

false

none

Username of who created this resource

» createdAt

string(date-time)

false

none

Timestamp when this resource was created

» name

string

false

none

Name of the resource

» designation

string

false

none

Represents the job title or role of the vendor contact within their organization, facilitating effective communication and relationship management.

» phone

string

false

none

Contact phone number for the vendor, facilitating direct communication and support.

» email

string

false

none

Email address of the vendor contact, used for communication and correspondence related to vendor management.

» vendorId

integer(int64)

false

none

Unique identifier for the vendor

» vendorDisplayId

string

false

none

Unique identifier for the vendor display

» originalName

string

false

none

Name of the original

Create Vendor Contacts By Vendor

HTTP Request

POST /api/vendors/{id}/vendorContacts

📋 Description: Creates a new vendor contact associated with the specified vendor ID, enabling effective communication and relationship management within the vendor ecosystem.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Unique identifier for the resource

body

body

VendorContactDTO

true

Request body containing the vendor contact information, including name, email, phone number, and role, essential for managing vendor relationships effectively.

Responses

Status

Meaning

Description

Schema

201

Created

Created

integer

Get Vendor Contact By ID

HTTP Request

GET /api/vendors/{id}/vendorContacts/{contactId}

📋 Description: Retrieves detailed information about a specific vendor contact associated with the given vendor ID, facilitating effective vendor management and communication.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Unique identifier for the resource

contactId

path

integer(int64)

true

Unique identifier for the contact

Responses

Status

Meaning

Description

Schema

200

OK

OK

VendorContactDTO

Update Vendor Contact

HTTP Request

POST /api/vendors/{id}/vendorContacts/{contactId}

📋 Description: Creates or updates a vendor contact for the specified vendor, ensuring accurate and up-to-date contact information is maintained within the system.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Unique identifier for the resource

contactId

path

integer(int64)

true

Unique identifier for the contact

body

body

VendorContactDTO

true

Request body containing the updated contact information for the specified vendor, including name, email, phone number, and role.

Responses

Status

Meaning

Description

Schema

200

OK

OK

None

Attach Asset Part To Vendor

HTTP Request

POST /api/vendors/{id}/assetParts/{assetPartId}

📋 Description: Creates a new asset part for the specified vendor, enabling efficient management and tracking of vendor-related assets.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Unique identifier for the resource

assetPartId

path

integer(int64)

true

Unique identifier for the asset part

Responses

Status

Meaning

Description

Schema

200

OK

OK

None

Detach Asset Parts By Main Asset

HTTP Request

DELETE /api/vendors/{id}/assetParts/{assetPartId}

📋 Description: Deletes a specific asset part associated with a vendor, ensuring the removal of outdated or unnecessary components from the vendor’s asset inventory.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Unique identifier for the resource

assetPartId

path

integer(int64)

true

Unique identifier for the asset part

Responses

Status

Meaning

Description

Schema

200

OK

OK

None

Find Vendor

HTTP Request

POST /api/vendors/search

📋 Description: Submits a search query to retrieve vendor information based on specified criteria, enabling efficient vendor management and selection processes.

Parameters

Name

In

Type

Required

Description

pageable

query

Pageable

true

Indicates whether the search results should be returned in a paginated format, allowing for efficient navigation through large sets of vendor data.

body

body

VendorDtoFilter

true

Request body containing search criteria parameters to identify and retrieve vendor information based on specified attributes.

Responses

Status

Meaning

Description

Schema

200

OK

OK

PageVendorDTO

Copy Vendor

HTTP Request

POST /api/vendors/copyVendor/{id}

📋 Description: Copies an existing vendor record identified by the specified ID, allowing for efficient duplication of vendor information within the system.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Unique identifier for the resource

name

query

string

true

Name of the resource

Responses

Status

Meaning

Description

Schema

200

OK

OK

VendorDTO

Get All Documents By Vendor

HTTP Request

GET /api/vendors/{id}/documents

📋 Description: Retrieves all documents associated with a specific vendor, identified by the provided vendor ID, to facilitate effective document management and review processes.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Unique identifier for the resource

Responses

Status

Meaning

Description

Schema

200

OK

OK

Inline

Response Schema

Status Code 200

Name

Type

Required

Restrictions

Description

anonymous

[DocumentDTO]

false

none

[Data transfer object representing a document within the enterprise system, encapsulating essential attributes such as title, content, and metadata for effective document management and retrieval.]

» id

integer(int64)

false

none

Unique identifier for the resource

» createdBy

string

false

none

Username of who created this resource

» createdAt

string(date-time)

false

none

Timestamp when this resource was created

» name

string

false

none

Name of the resource

» contentType

string

false

none

Type of the content

» documentTypeName

string

false

none

Name of the document type

» documentTypeId

integer(int64)

false

none

Unique identifier for the document type

» description

string

false

none

Description of the resource

» data

string(byte)

false

none

Contains the primary content of the document, providing essential information relevant to the associated business process.

» startDate

string(date)

false

none

Start date of the resource

» endDate

string(date)

false

none

End date of the resource

» documentStatusId

integer(int64)

false

none

Unique identifier for the document status

» documentStatus

string

false

none

Status of the document

» documentStatusType

string

false

none

Type of the document status

» parentEntityId

integer(int64)

true

none

Unique identifier for the parent entity

» link

string

false

none

URL reference to the associated document, facilitating easy access and retrieval within the system.

» parentEntityName

string

true

none

Name of the parent entity

Get Documents By Vendor ID

HTTP Request

GET /api/vendors/{id}/documents/{documentId}

📋 Description: Fetches the specified document associated with a vendor, providing essential details for review and management of vendor-related documentation.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Unique identifier for the resource

documentId

path

integer(int64)

true

Unique identifier for the document

Responses

Status

Meaning

Description

Schema

200

OK

OK

DocumentDTO

Find All Asset Parts By Vendor ID

HTTP Request

GET /api/vendors/{id}/assetParts

📋 Description: Fetches the asset parts associated with a specific vendor, enabling users to manage and review inventory components effectively.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Unique identifier for the resource

Responses

Status

Meaning

Description

Schema

200

OK

OK

Inline

Response Schema

Status Code 200

Name

Type

Required

Restrictions

Description

anonymous

[AssetPartDTO]

false

none

[Data transfer object representing a component of an asset, detailing its specifications and associated metadata for effective asset management and tracking within the enterprise.]

» id

integer(int64)

false

none

Unique identifier for the resource

» createdBy

string

false

none

Username of who created this resource

» createdAt

string(date-time)

false

none

Timestamp when this resource was created

» displayId

string

false

none

Unique identifier for the display

» name

string

true

none

Name of the resource

» description

string

false

none

Description of the resource

» imageId

integer(int64)

false

none

Unique identifier for the image

» premiseId

integer(int64)

false

none

Unique identifier for the premise

» premiseDisplayId

string

false

none

Unique identifier for the premise display

» premiseDto

PremiseDTO

false

none

Data transfer object representing a premise, encapsulating essential details such as location, type, and associated attributes to facilitate effective decision-making in real estate and operational planning.

»» id

integer(int64)

false

none

Unique identifier for the resource

»» createdBy

string

false

none

Username of who created this resource

»» createdAt

string(date-time)

false

none

Timestamp when this resource was created

»» displayId

string

false

none

Unique identifier for the display

»» premiseName

string

false

none

Name of the premise

»» description

string

false

none

Description of the resource

»» address

string

true

none

Represents the physical location associated with the premise, essential for logistics and service delivery.

»» internalTeamNames

[string]

false

none

List of names representing the internal teams associated with the premise, facilitating streamlined collaboration and resource allocation within the organization.

»» internalTeamIds

[integer]

false

none

List of unique identifiers representing the internal teams associated with the premise, facilitating streamlined collaboration and resource allocation.

»» premiseAvailable

boolean

false

none

Indicates whether the premise is available for use within the specified context.

»» premiseFromNrm

boolean

false

none

Indicates whether the premise is sourced from the National Resource Management (NRM) framework, facilitating compliance and reporting within environmental management processes.

»» nlmId

integer(int64)

false

none

Unique identifier for the nlm

»» nlmDisplayId

string

false

none

Unique identifier for the nlm display

»» nlmUsed

boolean

false

none

Indicates whether the National Labor Market (NLM) resources have been utilized in the premise evaluation process.

»» manager

integer(int64)

false

none

Unique identifier for the manager associated with the premise, facilitating effective organizational hierarchy and resource management.

»» managerName

string

false

none

Name of the manager

»» imageId

integer(int64)

false

none

Unique identifier for the image

»» area

string

false

none

Represents the geographic area associated with the premise, providing essential context for location-based services and analysis.

»» modifiedAt

string(date-time)

false

none

Timestamp when this resource was last modified

» premiseFromNrm

boolean

false

none

Indicates whether the asset part originates from the National Resource Management (NRM) framework, facilitating compliance and reporting requirements.

» model

string

false

none

Represents the specific model associated with the asset part, facilitating accurate identification and management within the system.

» unitCost

string

false

none

Represents the cost per unit of the asset part, essential for accurate budgeting and financial analysis within asset management.

» serialNumber

string

false

none

Unique identifier for the asset part, facilitating efficient tracking and management within the asset management system.

» qrCode

string

false

none

Code for the qr

» quantityOnHand

integer(int64)

false

none

Represents the current inventory level of the asset part, indicating the quantity available for use or sale.

» reOrderPoint

integer(int64)

false

none

Reorder point indicates the inventory level at which new stock should be ordered to prevent stockouts and ensure continuous availability of asset parts.

» size

string

false

none

Number of items per page

» color

string

false

none

Represents the color attribute associated with the asset part, providing essential visual differentiation for inventory management and asset tracking.

» weight

string

false

none

Represents the weight of the asset part, providing essential information for inventory management and logistics optimization.

» length

string

false

none

Specifies the length of the asset part, providing essential information for inventory management and resource allocation.

» width

string

false

none

Specifies the width dimension of the asset part, facilitating accurate representation and management of asset specifications.

» height

string

false

none

Specifies the height of the asset part, providing essential dimensional information for inventory and asset management.

» materialType

string

false

none

Type of the material

» assetPartType

string

false

none

Type of the asset part

» assetPartTypeId

integer(int64)

false

none

Unique identifier for the asset part type

» assetPartManufacturer

AssetPartManufacturerDTO

false

none

Data transfer object representing the manufacturer details of an asset part, including essential identification and classification information to facilitate inventory management and procurement processes.

»» id

integer(int64)

false

none

Unique identifier for the resource

»» createdBy

string

false

none

Username of who created this resource

»» createdAt

string(date-time)

false

none

Timestamp when this resource was created

»» name

string

false

none

Name of the resource

»» assetParts

[AssetPartDTO]

false

none

An array of asset parts, represented by AssetPartManufacturerDTO, that details the components associated with each asset for effective inventory and resource management.

» variableQuantity

integer(int64)

false

none

Quantity of variable quantity

» assetPartAvailable

boolean

false

none

Indicates whether the specific asset part is currently available for allocation or use within the system.

» owner

integer(int64)

false

none

Unique identifier for the owner of the asset part, facilitating asset management and accountability within the system.

» ownerDto

UserDTO

false

none

Data transfer object representing a user profile within the system, encapsulating essential user information and attributes for effective management and interaction across business applications.

»» id

integer(int64)

false

none

Unique identifier for the resource

»» createdBy

string

false

none

Username of who created this resource

»» createdAt

string(date-time)

false

none

Timestamp when this resource was created

»» userName

string

false

none

Name of the user

»» firstName

string

false

none

Name of the first

»» lastName

string

false

none

Name of the last

»» email

string

false

none

Email address of the user, used for communication and account verification purposes within the system.

»» roleIds

[Role]

false

none

Array of unique identifiers representing the roles assigned to the user, facilitating role-based access and permissions within the system.

»»» id

integer(int64)

false

none

Unique identifier for the resource

»»» createdBy

string

false

none

Username of who created this resource

»»» createdAt

string(date-time)

false

none

Timestamp when this resource was created

»»» modifiedBy

string

false

none

Username of who last modified this resource

»»» modifiedAt

string(date-time)

false

none

Timestamp when this resource was last modified

»»» roleName

string

false

none

Name of the role

»»» entity

string

false

none

Represents the specific role associated with the entity within the organizational structure, facilitating effective resource allocation and management.

»»» new

boolean

false

none

Indicates whether the role is newly created within the system, facilitating effective management of organizational changes.

»» internalTeamNames

[string]

false

none

List of names representing the internal teams associated with the user, facilitating effective collaboration and resource allocation within the organization.

»» internalTeamIds

[integer]

false

none

An array of unique identifiers representing the internal teams associated with the user, facilitating team management and collaboration within the organization.

»» internalTeamDisplayIds

[string]

false

none

An array of unique identifiers representing the internal teams associated with the user, facilitating streamlined team management and collaboration.

»» premiseIds

[integer]

false

none

Array of unique identifiers representing the premises associated with the user, facilitating efficient management and tracking of user-related locations.

»» premiseNames

[string]

false

none

List of names associated with the user’s premises, providing essential context for location-based services and operations.

»» userAvailable

boolean

false

none

Indicates whether the user is available for assignment or engagement within the system.

»» temporaryWorkload

integer(int32)

false

none

Represents the temporary workload allocation for the user, measured in integer units, to facilitate effective resource management and planning.

»» preferredCultureCode

string

false

none

Code for the preferred culture

» ownerUserName

string

false

none

Name of the owner user

» modifiedAt

string(date-time)

false

none

Timestamp when this resource was last modified

» isPartsSufficient

boolean

false

none

Whether the resource is parts sufficient

Get All Active Vendor Status Type IDs

HTTP Request

GET /api/vendors/allActiveVendorStatusTypes

📋 Description: Retrieves a list of all active vendor status types, providing essential information for vendor management and operational decision-making.

Responses

Status

Meaning

Description

Schema

200

OK

OK

Inline

Response Schema

Delete Vendor Contact

HTTP Request

DELETE /api/vendors/vendorContacts/{contactId}

📋 Description: Deletes a specified vendor contact from the system, ensuring that outdated or irrelevant contact information is removed to maintain accurate vendor records.

Parameters

Name

In

Type

Required

Description

contactId

path

integer(int64)

true

Unique identifier for the contact

Responses

Status

Meaning

Description

Schema

204

No Content

No Content

None