POST api/dotcom/GetItems?searchkey={searchkey}&showall={showall}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| searchkey | string |
Required |
|
| showall | boolean |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of HCSItems| Name | Description | Type | Additional information |
|---|---|---|---|
| ITEMNMBR | string |
None. |
|
| ITEMDESC | string |
None. |
|
| SDS | boolean |
None. |
|
| Label | boolean |
None. |
|
| ExcludeFromWeb | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ITEMNMBR": "sample string 1",
"ITEMDESC": "sample string 2",
"SDS": true,
"Label": true,
"ExcludeFromWeb": true
},
{
"ITEMNMBR": "sample string 1",
"ITEMDESC": "sample string 2",
"SDS": true,
"Label": true,
"ExcludeFromWeb": true
}
]
application/xml, text/xml
Sample:
<ArrayOfHCSItems xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HCSAPI.DTOs">
<HCSItems>
<ExcludeFromWeb>true</ExcludeFromWeb>
<ITEMDESC>sample string 2</ITEMDESC>
<ITEMNMBR>sample string 1</ITEMNMBR>
<Label>true</Label>
<SDS>true</SDS>
</HCSItems>
<HCSItems>
<ExcludeFromWeb>true</ExcludeFromWeb>
<ITEMDESC>sample string 2</ITEMDESC>
<ITEMNMBR>sample string 1</ITEMNMBR>
<Label>true</Label>
<SDS>true</SDS>
</HCSItems>
</ArrayOfHCSItems>