Authorization: Bearer ********************
{
"productFor": "string",
"typeFor": 0,
"productType": 1031,
"productGroupIds": [
0
],
"status": [
true
],
"skip": 0,
"take": 0,
"smartSearch": "string",
"orderBy": "string"
}
curl --location --request POST 'https://api.gofive.co.th/v1/products/getProduct' \
--header 'Ocp-Apim-Subscription-Key: <Your-Subscription-Key>' \
--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": [
{
"productId": 0,
"productType": 1031,
"productCode": "string",
"groupId": 20,
"groupName": "string",
"productName": "string",
"qty": 1,
"price": 10,
"companyId": 0,
"unitId": 2,
"unitName": "กล่อง",
"notes": "string",
"isForInventory": true,
"isForPurchase": true,
"isActive": true,
"productValues": [],
"attachments": [
{
"attachmentId": 1,
"refId": 1,
"type": 40007,
"filename": "string",
"extension": "image/jpeg",
"fileSize": 1,
"isActive": true,
"createdByUserId": "string",
"dateCreated": "2021-09-15T10:04:42+0700",
"resourceUrl": "string",
"companyId": 1015,
"url": "string",
"urlResponseUpload": "string",
"thumbnail": "string"
}
]
}
],
"statusCode": 200
},
"statusCode": 1000,
"httpStatusCode": 200
}