GET api/ListType/GetListBasedOnType?listType={listType}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| listType | string |
Required |
Body Parameters
None.
Response Information
Resource Description
PageResponseOfListTypeDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Collection of ListTypeDto |
None. |
|
| Message | string |
None. |
|
| Status | ResponseStatus |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": [
{
"Id": "645411e5-2868-4a43-9f2e-aed9bc156a04",
"ListTypeName": "sample string 2",
"ListTypeText": "sample string 3",
"Code": "sample string 4",
"MG": "sample string 5",
"Sequence": 6
},
{
"Id": "645411e5-2868-4a43-9f2e-aed9bc156a04",
"ListTypeName": "sample string 2",
"ListTypeText": "sample string 3",
"Code": "sample string 4",
"MG": "sample string 5",
"Sequence": 6
}
],
"Message": "sample string 1",
"Status": 0
}
application/xml, text/xml
Sample:
<PageResponseOfListTypeDtoPxPp4L4a xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Utilities.Common">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.ListTypeModule.Model">
<d2p1:ListTypeDto>
<d2p1:Code>sample string 4</d2p1:Code>
<d2p1:Id>645411e5-2868-4a43-9f2e-aed9bc156a04</d2p1:Id>
<d2p1:ListTypeName>sample string 2</d2p1:ListTypeName>
<d2p1:ListTypeText>sample string 3</d2p1:ListTypeText>
<d2p1:MG>sample string 5</d2p1:MG>
<d2p1:Sequence>6</d2p1:Sequence>
</d2p1:ListTypeDto>
<d2p1:ListTypeDto>
<d2p1:Code>sample string 4</d2p1:Code>
<d2p1:Id>645411e5-2868-4a43-9f2e-aed9bc156a04</d2p1:Id>
<d2p1:ListTypeName>sample string 2</d2p1:ListTypeName>
<d2p1:ListTypeText>sample string 3</d2p1:ListTypeText>
<d2p1:MG>sample string 5</d2p1:MG>
<d2p1:Sequence>6</d2p1:Sequence>
</d2p1:ListTypeDto>
</Data>
<Message>sample string 1</Message>
<Status>Failed</Status>
</PageResponseOfListTypeDtoPxPp4L4a>