GET api/Product?scanCode={scanCode}&advsearch={advsearch}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| scanCode | string |
Required |
|
| advsearch | boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
Collection of ProductModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| PhotoCount | integer |
None. |
|
| Description | string |
None. |
|
| ScanCode | string |
None. |
|
| State | ProductState |
None. |
|
| CreatedDate | date |
None. |
|
| IsRevised | boolean |
None. |
|
| IsSelected | boolean |
None. |
|
| ProductUser | Collection of ProductUserModel |
None. |
|
| Price | Collection of PriceModel |
None. |
|
| Provider | Collection of ProviderModel |
None. |
|
| ProductPhoto | Collection of ProductPhotoModel |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": "54149046-6ecb-4b87-aad2-85a91d26dbeb",
"Name": "sample string 2",
"PhotoCount": 3,
"Description": "sample string 4",
"ScanCode": "sample string 5",
"State": 0,
"CreatedDate": "2026-01-01T14:22:41.9171191+02:00",
"IsRevised": true,
"IsSelected": true,
"ProductUser": [
{
"UserId": 1,
"DepartmentId": 2,
"DepartmentName": "sample string 3",
"UserName": "sample string 4",
"RoleName": "sample string 5",
"Quantity": 6
},
{
"UserId": 1,
"DepartmentId": 2,
"DepartmentName": "sample string 3",
"UserName": "sample string 4",
"RoleName": "sample string 5",
"Quantity": 6
}
],
"Price": [
{
"Id": "493b5c08-46d0-4e5f-ae24-b0bfbc7561ad",
"Amount": 2.0,
"PriceTypeName": "sample string 3",
"PriceTypeId": 4,
"IsFixed": true
},
{
"Id": "493b5c08-46d0-4e5f-ae24-b0bfbc7561ad",
"Amount": 2.0,
"PriceTypeName": "sample string 3",
"PriceTypeId": 4,
"IsFixed": true
}
],
"Provider": [
{
"Id": 1,
"Name": "sample string 2",
"IsSelected": true
},
{
"Id": 1,
"Name": "sample string 2",
"IsSelected": true
}
],
"ProductPhoto": [
{
"ImageId": "8e42731c-583e-4d47-b69a-d7554f215c6f",
"OrgImage": "QEA=",
"ProductId": "ad01e2d1-4805-400e-81f1-3bfc550bd323"
},
{
"ImageId": "8e42731c-583e-4d47-b69a-d7554f215c6f",
"OrgImage": "QEA=",
"ProductId": "ad01e2d1-4805-400e-81f1-3bfc550bd323"
}
]
},
{
"Id": "54149046-6ecb-4b87-aad2-85a91d26dbeb",
"Name": "sample string 2",
"PhotoCount": 3,
"Description": "sample string 4",
"ScanCode": "sample string 5",
"State": 0,
"CreatedDate": "2026-01-01T14:22:41.9171191+02:00",
"IsRevised": true,
"IsSelected": true,
"ProductUser": [
{
"UserId": 1,
"DepartmentId": 2,
"DepartmentName": "sample string 3",
"UserName": "sample string 4",
"RoleName": "sample string 5",
"Quantity": 6
},
{
"UserId": 1,
"DepartmentId": 2,
"DepartmentName": "sample string 3",
"UserName": "sample string 4",
"RoleName": "sample string 5",
"Quantity": 6
}
],
"Price": [
{
"Id": "493b5c08-46d0-4e5f-ae24-b0bfbc7561ad",
"Amount": 2.0,
"PriceTypeName": "sample string 3",
"PriceTypeId": 4,
"IsFixed": true
},
{
"Id": "493b5c08-46d0-4e5f-ae24-b0bfbc7561ad",
"Amount": 2.0,
"PriceTypeName": "sample string 3",
"PriceTypeId": 4,
"IsFixed": true
}
],
"Provider": [
{
"Id": 1,
"Name": "sample string 2",
"IsSelected": true
},
{
"Id": 1,
"Name": "sample string 2",
"IsSelected": true
}
],
"ProductPhoto": [
{
"ImageId": "8e42731c-583e-4d47-b69a-d7554f215c6f",
"OrgImage": "QEA=",
"ProductId": "ad01e2d1-4805-400e-81f1-3bfc550bd323"
},
{
"ImageId": "8e42731c-583e-4d47-b69a-d7554f215c6f",
"OrgImage": "QEA=",
"ProductId": "ad01e2d1-4805-400e-81f1-3bfc550bd323"
}
]
}
]
application/xml, text/xml
Sample:
<ArrayOfProductModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRetail.Helpers">
<ProductModel>
<CreatedDate>2026-01-01T14:22:41.9171191+02:00</CreatedDate>
<Description>sample string 4</Description>
<Id>54149046-6ecb-4b87-aad2-85a91d26dbeb</Id>
<IsRevised>true</IsRevised>
<IsSelected>true</IsSelected>
<Name>sample string 2</Name>
<PhotoCount>3</PhotoCount>
<Price>
<PriceModel>
<Amount>2</Amount>
<Id>493b5c08-46d0-4e5f-ae24-b0bfbc7561ad</Id>
<IsFixed>true</IsFixed>
<PriceTypeId>4</PriceTypeId>
<PriceTypeName>sample string 3</PriceTypeName>
</PriceModel>
<PriceModel>
<Amount>2</Amount>
<Id>493b5c08-46d0-4e5f-ae24-b0bfbc7561ad</Id>
<IsFixed>true</IsFixed>
<PriceTypeId>4</PriceTypeId>
<PriceTypeName>sample string 3</PriceTypeName>
</PriceModel>
</Price>
<ProductPhoto>
<ProductPhotoModel>
<ImageId>8e42731c-583e-4d47-b69a-d7554f215c6f</ImageId>
<OrgImage>QEA=</OrgImage>
<ProductId>ad01e2d1-4805-400e-81f1-3bfc550bd323</ProductId>
</ProductPhotoModel>
<ProductPhotoModel>
<ImageId>8e42731c-583e-4d47-b69a-d7554f215c6f</ImageId>
<OrgImage>QEA=</OrgImage>
<ProductId>ad01e2d1-4805-400e-81f1-3bfc550bd323</ProductId>
</ProductPhotoModel>
</ProductPhoto>
<ProductUser>
<ProductUserModel>
<DepartmentId>2</DepartmentId>
<DepartmentName>sample string 3</DepartmentName>
<Quantity>6</Quantity>
<RoleName>sample string 5</RoleName>
<UserId>1</UserId>
<UserName>sample string 4</UserName>
</ProductUserModel>
<ProductUserModel>
<DepartmentId>2</DepartmentId>
<DepartmentName>sample string 3</DepartmentName>
<Quantity>6</Quantity>
<RoleName>sample string 5</RoleName>
<UserId>1</UserId>
<UserName>sample string 4</UserName>
</ProductUserModel>
</ProductUser>
<Provider>
<ProviderModel>
<Id>1</Id>
<IsSelected>true</IsSelected>
<Name>sample string 2</Name>
</ProviderModel>
<ProviderModel>
<Id>1</Id>
<IsSelected>true</IsSelected>
<Name>sample string 2</Name>
</ProviderModel>
</Provider>
<ScanCode>sample string 5</ScanCode>
<State>Available</State>
</ProductModel>
<ProductModel>
<CreatedDate>2026-01-01T14:22:41.9171191+02:00</CreatedDate>
<Description>sample string 4</Description>
<Id>54149046-6ecb-4b87-aad2-85a91d26dbeb</Id>
<IsRevised>true</IsRevised>
<IsSelected>true</IsSelected>
<Name>sample string 2</Name>
<PhotoCount>3</PhotoCount>
<Price>
<PriceModel>
<Amount>2</Amount>
<Id>493b5c08-46d0-4e5f-ae24-b0bfbc7561ad</Id>
<IsFixed>true</IsFixed>
<PriceTypeId>4</PriceTypeId>
<PriceTypeName>sample string 3</PriceTypeName>
</PriceModel>
<PriceModel>
<Amount>2</Amount>
<Id>493b5c08-46d0-4e5f-ae24-b0bfbc7561ad</Id>
<IsFixed>true</IsFixed>
<PriceTypeId>4</PriceTypeId>
<PriceTypeName>sample string 3</PriceTypeName>
</PriceModel>
</Price>
<ProductPhoto>
<ProductPhotoModel>
<ImageId>8e42731c-583e-4d47-b69a-d7554f215c6f</ImageId>
<OrgImage>QEA=</OrgImage>
<ProductId>ad01e2d1-4805-400e-81f1-3bfc550bd323</ProductId>
</ProductPhotoModel>
<ProductPhotoModel>
<ImageId>8e42731c-583e-4d47-b69a-d7554f215c6f</ImageId>
<OrgImage>QEA=</OrgImage>
<ProductId>ad01e2d1-4805-400e-81f1-3bfc550bd323</ProductId>
</ProductPhotoModel>
</ProductPhoto>
<ProductUser>
<ProductUserModel>
<DepartmentId>2</DepartmentId>
<DepartmentName>sample string 3</DepartmentName>
<Quantity>6</Quantity>
<RoleName>sample string 5</RoleName>
<UserId>1</UserId>
<UserName>sample string 4</UserName>
</ProductUserModel>
<ProductUserModel>
<DepartmentId>2</DepartmentId>
<DepartmentName>sample string 3</DepartmentName>
<Quantity>6</Quantity>
<RoleName>sample string 5</RoleName>
<UserId>1</UserId>
<UserName>sample string 4</UserName>
</ProductUserModel>
</ProductUser>
<Provider>
<ProviderModel>
<Id>1</Id>
<IsSelected>true</IsSelected>
<Name>sample string 2</Name>
</ProviderModel>
<ProviderModel>
<Id>1</Id>
<IsSelected>true</IsSelected>
<Name>sample string 2</Name>
</ProviderModel>
</Provider>
<ScanCode>sample string 5</ScanCode>
<State>Available</State>
</ProductModel>
</ArrayOfProductModel>