GET api/ProductImages/GetProductImageToProductToListByCompanyIdByIsAttached?companyId={companyId}&isAttached={isAttached}&categoryId={categoryId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| companyId | integer |
Required |
|
| isAttached | boolean |
Required |
|
| categoryId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ProductImage| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductImageId | integer |
None. |
|
| ProductImageName | string |
None. |
|
| ProductCode | string |
None. |
|
| CompanyId | integer |
None. |
|
| ObjectState | ObjectState |
None. |
Response Formats
application/json, text/json
Sample:
{
"productImageId": 1,
"productImageName": "sample string 2",
"productCode": "sample string 3",
"companyId": 1,
"objectState": 0
}
application/xml, text/xml
Sample:
<ProductImage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gruo.Core.Models"> <ObjectState xmlns="http://schemas.datacontract.org/2004/07/Gruo.Core.Repository">Unchanged</ObjectState> <CompanyId>1</CompanyId> <ProductCode>sample string 3</ProductCode> <ProductImageId>1</ProductImageId> <ProductImageName>sample string 2</ProductImageName> </ProductImage>