GET api/NoqoodyUser/GetDashboardData?LanguageId={LanguageId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
LanguageId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
UserDashBoardResponseName | Description | Type | Additional information |
---|---|---|---|
Balance | decimal number |
None. |
|
BannersList | Collection of AppBannerListModel |
None. |
|
CurrentBills | Collection of PendingBillsResponse |
None. |
|
ServiceList | Collection of ServiceListForAppResponse |
None. |
|
BillDetails | Collection of BillDetailModel |
None. |
|
TotalCollected | decimal number |
None. |
|
TotalOutstanding | decimal number |
None. |
|
success | boolean |
None. |
|
code | string |
None. |
|
message | string |
None. |
|
errors | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Balance": 1.0, "BannersList": [ { "BannerID": 1, "BannerLocation": "sample string 2" }, { "BannerID": 1, "BannerLocation": "sample string 2" } ], "CurrentBills": [ { "BillID": 1, "ServiceProvider": "sample string 2", "Amount": 3.0 }, { "BillID": 1, "ServiceProvider": "sample string 2", "Amount": 3.0 } ], "ServiceList": [ { "CategoryID": 1, "CategoryName": "sample string 2", "OrderNo": 3, "ColorCode": "sample string 4", "ServiceList": [ { "ServiceID": 1, "ServiceName": "sample string 2", "ImageLocation": "sample string 3", "Count": 4 }, { "ServiceID": 1, "ServiceName": "sample string 2", "ImageLocation": "sample string 3", "Count": 4 } ] }, { "CategoryID": 1, "CategoryName": "sample string 2", "OrderNo": 3, "ColorCode": "sample string 4", "ServiceList": [ { "ServiceID": 1, "ServiceName": "sample string 2", "ImageLocation": "sample string 3", "Count": 4 }, { "ServiceID": 1, "ServiceName": "sample string 2", "ImageLocation": "sample string 3", "Count": 4 } ] } ], "BillDetails": [ { "Name": "sample string 1", "ID": 2, "Amount": 3.0, "Count": 4 }, { "Name": "sample string 1", "ID": 2, "Amount": 3.0, "Count": 4 } ], "TotalCollected": 2.0, "TotalOutstanding": 3.0, "success": true, "code": "sample string 5", "message": "sample string 6", "errors": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<NoqoodyUserModels.UserDashBoardResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QatarPay.Models"> <code>sample string 5</code> <errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </errors> <message>sample string 6</message> <success>true</success> <Balance>1</Balance> <BannersList> <NoqoodyUserModels.AppBannerListModel> <BannerID>1</BannerID> <BannerLocation>sample string 2</BannerLocation> </NoqoodyUserModels.AppBannerListModel> <NoqoodyUserModels.AppBannerListModel> <BannerID>1</BannerID> <BannerLocation>sample string 2</BannerLocation> </NoqoodyUserModels.AppBannerListModel> </BannersList> <BillDetails> <NoqoodyUserModels.BillDetailModel> <Amount>3</Amount> <Count>4</Count> <ID>2</ID> <Name>sample string 1</Name> </NoqoodyUserModels.BillDetailModel> <NoqoodyUserModels.BillDetailModel> <Amount>3</Amount> <Count>4</Count> <ID>2</ID> <Name>sample string 1</Name> </NoqoodyUserModels.BillDetailModel> </BillDetails> <CurrentBills> <NoqoodyUserModels.PendingBillsResponse> <Amount>3</Amount> <BillID>1</BillID> <ServiceProvider>sample string 2</ServiceProvider> </NoqoodyUserModels.PendingBillsResponse> <NoqoodyUserModels.PendingBillsResponse> <Amount>3</Amount> <BillID>1</BillID> <ServiceProvider>sample string 2</ServiceProvider> </NoqoodyUserModels.PendingBillsResponse> </CurrentBills> <ServiceList> <NoqoodyUserModels.ServiceListForAppResponse> <CategoryID>1</CategoryID> <CategoryName>sample string 2</CategoryName> <ColorCode>sample string 4</ColorCode> <OrderNo>3</OrderNo> <ServiceList> <NoqoodyUserModels.ServicesResponse> <Count>4</Count> <ImageLocation>sample string 3</ImageLocation> <ServiceID>1</ServiceID> <ServiceName>sample string 2</ServiceName> </NoqoodyUserModels.ServicesResponse> <NoqoodyUserModels.ServicesResponse> <Count>4</Count> <ImageLocation>sample string 3</ImageLocation> <ServiceID>1</ServiceID> <ServiceName>sample string 2</ServiceName> </NoqoodyUserModels.ServicesResponse> </ServiceList> </NoqoodyUserModels.ServiceListForAppResponse> <NoqoodyUserModels.ServiceListForAppResponse> <CategoryID>1</CategoryID> <CategoryName>sample string 2</CategoryName> <ColorCode>sample string 4</ColorCode> <OrderNo>3</OrderNo> <ServiceList> <NoqoodyUserModels.ServicesResponse> <Count>4</Count> <ImageLocation>sample string 3</ImageLocation> <ServiceID>1</ServiceID> <ServiceName>sample string 2</ServiceName> </NoqoodyUserModels.ServicesResponse> <NoqoodyUserModels.ServicesResponse> <Count>4</Count> <ImageLocation>sample string 3</ImageLocation> <ServiceID>1</ServiceID> <ServiceName>sample string 2</ServiceName> </NoqoodyUserModels.ServicesResponse> </ServiceList> </NoqoodyUserModels.ServiceListForAppResponse> </ServiceList> <TotalCollected>2</TotalCollected> <TotalOutstanding>3</TotalOutstanding> </NoqoodyUserModels.UserDashBoardResponse>