GET api/Product/GetProType?proClass={proClass}&FParent={FParent}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| proClass | integer |
Default value is -1 |
|
| FParent | integer |
Default value is -1 |
Body Parameters
None.
Response Information
Resource Description
MessageModelOfListOfProductTypeSelectViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | integer |
None. |
|
| Success | boolean |
None. |
|
| Msg | string |
None. |
|
| Response | Collection of ProductTypeSelectViewModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 200,
"Success": true,
"Msg": "sample string 3",
"Response": [
{
"FTypeID": 1,
"FTypeName": "sample string 1"
},
{
"FTypeID": 1,
"FTypeName": "sample string 1"
}
]
}
application/xml, text/xml
Sample:
<MessageModelOfArrayOfProductTypeSelectViewModelKI6_SDWR9 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DY.Entity">
<Msg>sample string 3</Msg>
<Response xmlns:d2p1="http://schemas.datacontract.org/2004/07/DY.Entity.ViewModel">
<d2p1:ProductTypeSelectViewModel>
<d2p1:FTypeID>1</d2p1:FTypeID>
<d2p1:FTypeName>sample string 1</d2p1:FTypeName>
</d2p1:ProductTypeSelectViewModel>
<d2p1:ProductTypeSelectViewModel>
<d2p1:FTypeID>1</d2p1:FTypeID>
<d2p1:FTypeName>sample string 1</d2p1:FTypeName>
</d2p1:ProductTypeSelectViewModel>
</Response>
<Status>200</Status>
<Success>true</Success>
</MessageModelOfArrayOfProductTypeSelectViewModelKI6_SDWR9>