It allows you:
to get the Related Products
Columns that can be used as filters:
Active
Product_ID
ProductValue
RelatedProductType (Alternative, Non deductible expenses, Web Promotion, Service Works Quote, Supplemental)
DocTypeName
PriceList
Actions can be done:
list
URL: https://api.socratecloud.com/webapi/rest/related_product/list/{version}?startRow={0}&endRow={100}&accessToken={access_token}
Method: GET
Available filter parameters:
Active
Product_ID
ProductValue
RelatedProductType (Alternative, Non deductible expenses, Web Promotion, Service Works Quote, Supplemental)
DocTypeName
PriceList
URL: https://api.socratecloud.com/webapi/rest/related_product/list/{version}?startRow={0}&endRow={100}&accessToken={access_token}
Return: JSON object with next format:
{
"data": [
{
"Organization": "*",
"Product_ID": 1141446,
"ProductValue": "RP001",
"ProductName": "RP001",
"Active": true,
"CreatedBy": "1014218",
"Updated": "2022-01-27 08:20:12+0000",
"UpdatedBy": "1014218",
"RelatedProducts": [
{
"Created": "2022-01-27 08:25:22+0000",
"CreatedBy": "1014218",
"Updated": "2022-03-02 12:28:50+0000",
"UpdatedBy": "1014218",
"RelatedProductName": "Curatare cartus filtrant",
"RelatedProductValue": "1000062",
"RelatedProduct_ID": 1122230,
"ProductType": "Service",
"RelatedProductUOMCode": "Each",
"RelatedProductCategoryValue": "1000009",
"RelatedProductCategoryName": "SERVICII",
"RelatedProductSubcategoryValue": null,
"RelatedProductSubcategoryName": null,
"RelatedProductFamilyTypeName": "InterActiuni intretinere",
"RelatedProductFamilyName": null,
"RelatedProductType": "Service Works Quote",
"RelatedProductActive": false,
"RelatedProductRelationActive": true,
"Preloaded": true,
"PriceList": "Vanzare RON",
"Currency": "RON",
"PriceListVersion": "Vanzare RON vers1",
"TaxIncluded": false,
"PriceStd": 250,
"docTypes": [
{
"Product_ID": 1141446,
"RelatedProduct_ID": 1122230,
"IsActive": true,
"DocTypeName": "Time Expense - test"
}
],
"bomProducts": []
},
{
"Created": "2022-03-02 09:31:01+0000",
"CreatedBy": "1014218",
"Updated": "2022-03-02 10:04:33+0000",
"UpdatedBy": "1014218",
"RelatedProductName": "COS_N",
"RelatedProductValue": "COS NESTOCABIL",
"RelatedProduct_ID": 1132874,
"ProductType": "Item",
"RelatedProductUOMCode": "Each",
"RelatedProductCategoryValue": "PRODUSE",
"RelatedProductCategoryName": "PRODUSE",
"RelatedProductSubcategoryValue": "BOM",
"RelatedProductSubcategoryName": "BOM",
"RelatedProductFamilyTypeName": null,
"RelatedProductFamilyName": null,
"RelatedProductType": "Service Works Quote",
"RelatedProductActive": true,
"RelatedProductRelationActive": true,
"Preloaded": true,
"PriceList": "Vanzare RON",
"Currency": "RON",
"PriceListVersion": "Vanzare RON vers1",
"TaxIncluded": false,
"PriceStd": 25,
"docTypes": [],
"bomProducts": [
{
"ProductName": "MATERIE PRIMA 1",
"ProductValue": "MP_1",
"Created": "2021-04-08 20:17:35+0000",
"CreatedBy": "1014218",
"Updated": "2021-04-08 20:17:35+0000",
"UpdatedBy": "1014218",
"PriceList": "Vanzare RON",
"Currency": "RON",
"PriceListVersion": "Vanzare RON vers1",
"TaxIncluded": false,
"PriceStd": 5
},
{
"ProductName": "MATERIE PRIMA 2",
"ProductValue": "MP_2",
"Created": "2021-04-08 20:17:48+0000",
"CreatedBy": "1014218",
"Updated": "2021-04-08 20:17:48+0000",
"UpdatedBy": "1014218",
"PriceList": "Vanzare RON",
"Currency": "RON",
"PriceListVersion": "Vanzare RON vers1",
"TaxIncluded": false,
"PriceStd": 2
}
]
}
],
"bomProducts": []
}
],
"totalRows": 1
}