GET api/KGPL/GetCustomer?UserId={UserId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ServiceResultOfListOfKGPLCustomerDropDownMDL| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| Description | string |
None. |
|
| Result | boolean |
None. |
|
| Data | Collection of KGPLCustomerDropDownMDL |
None. |
|
| status | integer |
None. |
|
| TotalCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Message": "sample string 1",
"Description": "sample string 2",
"Result": true,
"Data": [
{
"CustomerId": 1,
"CustomerName": "sample string 2"
},
{
"CustomerId": 1,
"CustomerName": "sample string 2"
}
],
"status": 4,
"TotalCount": 5
}
application/xml, text/xml
Sample:
<ServiceResultOfArrayOfKGPLCustomerDropDownMDLhaW9PlSJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FTSMDLClassLibrary.FTSServices">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/FTSMDLClassLibrary.WebAPIMDL.KGPL">
<d2p1:KGPLCustomerDropDownMDL>
<d2p1:CustomerId>1</d2p1:CustomerId>
<d2p1:CustomerName>sample string 2</d2p1:CustomerName>
</d2p1:KGPLCustomerDropDownMDL>
<d2p1:KGPLCustomerDropDownMDL>
<d2p1:CustomerId>1</d2p1:CustomerId>
<d2p1:CustomerName>sample string 2</d2p1:CustomerName>
</d2p1:KGPLCustomerDropDownMDL>
</Data>
<Description>sample string 2</Description>
<Message>sample string 1</Message>
<Result>true</Result>
<TotalCount>5</TotalCount>
<status>4</status>
</ServiceResultOfArrayOfKGPLCustomerDropDownMDLhaW9PlSJ>