Supplier Services
Create your suppliers' list
Supplier services represent all the associated companies or individual service providers with your company.
Add Supplier
Endpoint details
Endpoint URL | Method | Authentication requirements |
---|---|---|
/v1/api/erp/svSupplierService | POST | 1. clientid 2. clientsecret 3. signature |
A request in the following format should be posted to the above mentioned endpoint URL.
curl --location --request POST 'https://servicesuat.onesingleview.com/v1/api/erp/svSupplierService' \
--header 'clientid: Enter_Client_ID' \
--header 'clientsecret: Enter_Client_Secret' \
--header 'signature: Enter_Signature' \
--header 'Content-Type: application/json' \
--data-raw '{
"svSupplierServiceRQ": {
"company": [
{
"code": "Enter_Company_Code",
"supplier": [
{
"userName": "Enter_Username",
"name": "Enter_Supplier_Name",
"category": "Enter_Supplier_Category",
"supplierContact": "Enter_Supplier_Contact_Name",
"mobile": "Enter_Supplier_Contact_Number",
"email": "Enter_Supplier_Contact_Email",
"supplierCode": "Enter_ERP_Supplier_Code",
"paymentTerms": [
{
"name": "Enter_Name",
"value": "Enter_Value"
}
],
"methodOfPayment": [
{
"name": "Enter_Name",
"value": "Enter_Value"
}
]
},
{
"userName": "Enter_Username",
"name": "Enter_Supplier_Name",
"category": "Enter_Supplier_Category",
"supplierContact": "Enter_Supplier_Contact_Name",
"mobile": "Enter_Supplier_Contact_Number",
"email": "Enter_Supplier_Contact_Email",
"supplierCode": "Enter_ERP_Supplier_Code",
"paymentTerms": [
{
"name": "Enter_Name",
"value": "Enter_Value"
}
],
"methodOfPayment": [
{
"name": "Enter_Name",
"value": "Enter_Value"
}
]
}
]
},
{
"code": "Enter_Company_Code",
"supplier": [
{
"userName": "Enter_Username",
"name": "Enter_Supplier_Name",
"category": "Enter_Supplier_Category",
"supplierContact": "Enter_Supplier_Contact_Name",
"mobile": "Enter_Supplier_Contact_Number",
"email": "Enter_Supplier_Contact_Email",
"supplierCode": "Enter_ERP_Supplier_Code",
"paymentTerms": [
{
"name": "Enter_Name",
"value": "Enter_Value"
}
],
"methodOfPayment": [
{
"name": "Enter_Name",
"value": "Enter_Value"
}
]
},
{
"userName": "Enter_Username",
"name": "Enter_Supplier_Name",
"category": "Enter_Supplier_Category",
"supplierContact": "Enter_Supplier_Contact_Name",
"mobile": "Enter_Supplier_Contact_Number",
"email": "Enter_Supplier_Contact_Email",
"supplierCode": "Enter_ERP_Supplier_Code",
"paymentTerms": [
{
"name": "Enter_Name",
"value": "Enter_Value"
}
],
"methodOfPayment": [
{
"name": "Enter_Name",
"value": "Enter_Value"
}
]
}
]
}
]
}
}'
Request details:
JSON Tag | Description | Data type |
---|---|---|
clientid Mandatory | Client ID | String |
clientsecret Mandatory | Client Code | String |
signature Mandatory | Signature | String |
svSupplierServiceRQ Mandatory | Supplier service adding request tag | Object |
company Mandatory | Unique Company code | String |
code Mandatory | Name of the Group in English | String |
supplier Mandatory | Array of suppliers | Array |
userName Mandatory | SingleView's account username | String |
name Mandatory | Name of the supplier | String |
category Optional | Category of the supplier | String |
supplierContact Mandatory | Contact name of the supplier | String |
mobile Mandatory | Mobile number of the supplier | String |
email Mandatory | Email address of the supplier | String |
supplierCode Mandatory | Unique supplier code | String |
paymentTerms Optional | Array of payment terms | String |
name Optional | Name | String |
value Optional | Value | String |
methodOfPayment Optional | Array of payment methods | Array |
Updated about 2 months ago