Fetch Product data by ID or UID
Variable | Name | Type | Format | Usage | Description |
---|---|---|---|---|---|
X-App-Sig | X-App-Sig | header | string | M | Dev Authentication |
Example | DEV-SKIP | ||||
id | id | path | integer | M | Record ID or UID |
Example | 50 - by ID
fc33956d-39d2-0a91-7514-f2e8606d67fc - by UID |
200 - Response successfully when status is OK
200 - Response successfully when status is OK
Variable | Name | Type | Format | Description |
---|---|---|---|---|
status | status | string | Request execution status | |
error_description | Error Description | string | Description of error | |
error | Error Code | string | Error code | |
data_type | data_type | string | Type of data | |
total_records | total_records | string | Total count of records | |
data | data | object | data of Response |
Variable | Name | Type | Format | Description |
---|---|---|---|---|
action | Action | string | ||
code | code | string | Code of a given record | |
create_date | Create Date | string | DATETIME | The date entry was created on |
create_user | Create User | string | The username of ABS user who has created an entry | |
description | description | string | Description of a given record | |
form_title | form_title | string | Service field | |
id | id | integer | INT64 | Record's sequence number generated in the system. |
modify_date | Modify Date | string | DATETIME | The date entry was last modified on |
modify_user | Modify User | string | The username of ABS user who has made last changes to the entry | |
parent_id | Parent ID | integer | INT64 | Parent record ID of a given record |
product_category | Product Category | string | Category of a given product | |
product_status | Product Status | string | Status of a given product | |
product_type | Product Type | string | Type of a given product | |
state | state | integer | INT64 | Record state for replication |
uid | uid | string | Unique record identifier which is used to distinguish between existing records | |
version | version | integer | INT64 | Record version for replication |
{ "status": "ok", "error_description": "", "error": {}, "data_type": "system.api.product.productModel", "total_records": 1, "data": { "parent_id": 36, "code": "221000", "description": "test", "product_status": "ACTIVE", "product_type": "product", "product_category": "PRODUCT", "uid": "fc33956d-39d2-0a91-7514-f2e8606d67fc", "id": 50, "version": 533382862, "state": 9, "create_user": "smalcheva", "create_date": "2020-12-07T17:23:13.921", "modify_user": "smalcheva", "modify_date": "2020-12-28T16:29:04.837" } }
200 - Response with error when status is ERROR
200 - Response with error when status is ERROR
Variable | Name | Type | Format | Description |
---|---|---|---|---|
status | status | string | Request execution status | |
error_description | Error Description | string | Description of error | |
error | Error Code | string | Error code | |
data_type | data_type | string | Type of data | |
total_records | total_records | string | Total count of records | |
data | data | object | Empty object |
{ "status": "error", "error_description": "[RECORD-NOT-FOUND : Object productModel cannot find record product.uid with value test]", "error": {}, "data_type": "system.api.product.productModel", "total_records": 1, "data": {} }