GET api/User/getConnectionHistory/{user_id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| user_id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ConnectsViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| userId | integer |
None. |
|
| date | date |
None. |
|
| remainingConnects | integer |
None. |
|
| connects | integer |
None. |
|
| connectionDescription | string |
None. |
|
| Username | string |
None. |
|
| userforId | integer |
None. |
|
| userForName | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"id": 1,
"userId": 2,
"date": "2025-11-30T23:02:51.8188985+00:00",
"remainingConnects": 4,
"connects": 5,
"connectionDescription": "sample string 6",
"Username": "sample string 7",
"userforId": 8,
"userForName": "sample string 9"
},
{
"id": 1,
"userId": 2,
"date": "2025-11-30T23:02:51.8188985+00:00",
"remainingConnects": 4,
"connects": 5,
"connectionDescription": "sample string 6",
"Username": "sample string 7",
"userforId": 8,
"userForName": "sample string 9"
}
]
application/xml, text/xml
Sample:
<ArrayOfConnectsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/asanRishta.Models.ViewModels">
<ConnectsViewModel>
<Username>sample string 7</Username>
<connectionDescription>sample string 6</connectionDescription>
<connects>5</connects>
<date>2025-11-30T23:02:51.8188985+00:00</date>
<id>1</id>
<remainingConnects>4</remainingConnects>
<userForName>sample string 9</userForName>
<userId>2</userId>
<userforId>8</userforId>
</ConnectsViewModel>
<ConnectsViewModel>
<Username>sample string 7</Username>
<connectionDescription>sample string 6</connectionDescription>
<connects>5</connects>
<date>2025-11-30T23:02:51.8188985+00:00</date>
<id>1</id>
<remainingConnects>4</remainingConnects>
<userForName>sample string 9</userForName>
<userId>2</userId>
<userforId>8</userforId>
</ConnectsViewModel>
</ArrayOfConnectsViewModel>