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 URLMethodAuthentication requirements
/v1/api/erp/svSupplierServicePOST1. 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 TagDescriptionData type
clientid
Mandatory
Client IDString
clientsecret
Mandatory
Client CodeString
signature
Mandatory
SignatureString
svSupplierServiceRQ
Mandatory
Supplier service adding request tagObject
company
Mandatory
Unique Company codeString
code
Mandatory
Name of the Group in EnglishString
supplier
Mandatory
Array of suppliersArray
userName
Mandatory
SingleView's account usernameString
name
Mandatory
Name of the supplierString
category
Optional
Category of the supplierString
supplierContact
Mandatory
Contact name of the supplierString
mobile
Mandatory
Mobile number of the supplierString
email
Mandatory
Email address of the supplierString
supplierCode
Mandatory
Unique supplier codeString
paymentTerms
Optional
Array of payment termsString
name
Optional
NameString
value
Optional
ValueString
methodOfPayment
Optional
Array of payment methodsArray