curl --location --request POST 'https: //api.veniocrm.com/dev/v1/Products/GetProduct' \
--header 'Ocp-Apim-Subscription-Key: <Your Subscription-Key>' \
--header 'Authorization: Bearer <Your access_token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"productFor": "string",
"typeFor": 0,
"productType": 1031,
"productGroupIds": [
0
],
"status": [
true
],
"skip": 0,
"take": 0,
"smartSearch": "string",
"orderBy": "string"
}'
{
"data": {
"value": [
{
"partId": 0,
"partTypeId": 0,
"partName": "string",
"qty": 0,
"price": 0,
"companyId": 0,
"unit": "string",
"name": "string",
"isActive": true,
"partTypeName": "string",
"partCode": "string",
"notes": "string",
"productCode": 0,
"isForInventory": true,
"isForSales": true,
"isForPurchase": true,
"unitId": 0,
"productType": 0,
"productValues": [
{
"itemId": 0,
"productPropertyId": 0,
"productPropertyValueId": 0,
"propertyValue": "string"
}
],
"attachments": [
{
"attachmentId": 0,
"refId": 0,
"type": 0,
"filename": "string",
"extension": "string",
"fileSize": 0,
"isActive": true,
"createdByUserId": "string",
"dateCreated": "2021-09-18T04:07:13.639Z",
"resourceUrl": "string",
"companyId": 0,
"isProcessed": true,
"url": "string",
"urlResponseUpload": "string",
"thumbnail": "string"
}
]
}
],
"formatters": [],
"statusCode": 200
},
"statusCode": 1000,
"httpStatusCode": 200
}