Supplier
Retrieves a list of suppliers with optional query parameters for filtering and pagination.
The number of results to return.
10The starting point for the result set.
0The keyword to search suppliers by.
The name of the supplier to search for.
The country of the supplier.
The category of the supplier.
The mobile number associated with the supplier.
The date when the supplier was created.
Optional parameter to toggle count behavior.
0Bearer token for vendor authentication
Successfully retrieved the list of suppliers.
1Successfully Get All supplier ListBad Request
Internal Server Error
GET /backend/api/supplier HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully Get All supplier List</message>
</object>
Creates a new supplier entry with the provided details.
Bearer token for vendor authentication
Successfully created a new supplier.
1Successfully supplier Created.Bad Request - Invalid input data
Internal Server Error
POST /backend/api/supplier HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 396
"supplierName='text'&taxId='text'&address='text'&countryId=1&website='text'&mobile='text'¬es='text'&categoryId=1&comments='text'&status=1&tags='text'&contactDetail=[{'name':'text','position':'text','status':1,'email':'text','mobile':'text'}]&uploadDetail=[{'documentId':1,'name':'text','filePath':'text','fileName':'text','isApproved':1,'type':'text','link':'text'}]"<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully supplier Created.</message>
</object>
Retrieves a list of all available countries.
Bearer token for vendor authentication
Successfully retrieved the list of countries.
1Successfully got the list of countriesInternal Server Error
GET /backend/api/list/country-list HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully got the list of countries</message>
</object>
Retrieves a list of all available categories.
Bearer token for vendor authentication
Successfully retrieved the list of categories.
1Successfully got the list of categoriesInternal Server Error
GET /backend/api/list/category HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully got the list of categories</message>
</object>
Retrieves the details of a specific supplier by their ID.
The ID of the supplier to retrieve.
Bearer token for vendor authentication
Successfully retrieved the supplier details.
1Successfully Get supplierSupplier not found
Internal Server Error
GET /backend/api/supplier/{id} HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully Get supplier</message>
</object>
Updates the details of a specific supplier based on their ID.
The ID of the supplier to update.
Bearer token for vendor authentication
Successfully updated the supplier details.
1Supplier Updated Successfully.Bad Request
Supplier not found
Internal Server Error
PUT /backend/api/supplier/{id} HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 710
"supplierName='text'&taxId='text'&address='text'&countryId=1&website='text'&mobile='text'¬es='text'&categoryId=1&comments='text'&status=1&tags='text'&contactDetail=[{'createdBy':'text','createdDate':'text','modifiedBy':'text','modifiedDate':'text','id':1,'supplierId':1,'name':'text','email':'text','mobile':'text','isActive':1,'isDelete':1,'position':'text'}]&uploadDetail=[{'createdBy':'text','createdDate':'text','modifiedBy':'text','modifiedDate':'text','id':1,'supplierId':1,'documentId':1,'name':'text','filePath':'text','fileName':'text','link':'text','isApproved':1,'isDelete':1,'isActive':1,'UploadType':1,'type':'text'}]&id=1&contactDeleteId=[1]&uploadDeleteId=[1]"<?xml version="1.0"?>
<object>
<status>1</status>
<message>Supplier Updated Successfully.</message>
</object>
Deletes a specific supplier based on the supplied supplier ID.
The ID of the supplier to delete.
Bearer token for vendor authentication
Successfully deleted the supplier.
1Supplier Deleted successfully.Bad Request - Invalid input or supplier ID
Supplier not found
Internal Server Error
DELETE /backend/api/supplier/{id} HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Supplier Deleted successfully.</message>
</object>
Fetches a list of documents associated with the vendor.
Successfully retrieved the list of vendor documents.
1Successfully got documents listBad Request
Internal Server Error
GET /backend/api/vendor-document/document HTTP/1.1
Host: 139.59.67.17
Accept: */*
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully got documents list</message>
</object>
Uploads a media file (image or document) to a specific path.
Bearer token for vendor authentication
The file to be uploaded (image or document).
The name of the file being uploaded.
The type of the file (e.g., image, document).
The path where the file should be stored on the server.
The image content, can be base64 encoded (if file is an image).
An identifier for the document (if applicable).
Successfully uploaded the media file.
1Image Uploaded SuccessfullyBad Request - Invalid input or file.
Internal Server Error
POST /backend/api/media/upload-file HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: multipart/form-data
Accept: */*
Content-Length: 92
{
"file": "binary",
"fileName": "text",
"fileType": 1,
"path": "text",
"image": "text",
"documentId": 1
}<?xml version="1.0"?>
<object>
<status>1</status>
<message>Image Uploaded Successfully</message>
</object>
Last updated

