GET api/Values?userid={userid}&culture={culture}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userid | globally unique identifier |
Required |
|
culture | string |
Default value is ar |
Body Parameters
None.
Response Information
Resource Description
PointClassName | Description | Type | Additional information |
---|---|---|---|
ValidPoints | integer |
None. |
|
PointsDetails | Collection of PointDetailClass |
None. |
Response Formats
application/json, text/json
Sample:
{ "ValidPoints": 1, "PointsDetails": [ { "Date": "2025-04-03T21:18:01.3084901+02:00", "Points": 2, "Status": "sample string 3", "ExpiryDate": "2025-04-03T21:18:01.3084901+02:00" }, { "Date": "2025-04-03T21:18:01.3084901+02:00", "Points": 2, "Status": "sample string 3", "ExpiryDate": "2025-04-03T21:18:01.3084901+02:00" } ] }
application/xml, text/xml
Sample:
<ValuesController.PointClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MasriaAPI.Controllers"> <PointsDetails> <ValuesController.PointDetailClass> <Date>2025-04-03T21:18:01.3084901+02:00</Date> <ExpiryDate>2025-04-03T21:18:01.3084901+02:00</ExpiryDate> <Points>2</Points> <Status>sample string 3</Status> </ValuesController.PointDetailClass> <ValuesController.PointDetailClass> <Date>2025-04-03T21:18:01.3084901+02:00</Date> <ExpiryDate>2025-04-03T21:18:01.3084901+02:00</ExpiryDate> <Points>2</Points> <Status>sample string 3</Status> </ValuesController.PointDetailClass> </PointsDetails> <ValidPoints>1</ValidPoints> </ValuesController.PointClass>