GET v1/user/{userId}/communications?Start={Start}&Count={Count}&Search={Search}
Get communications for a user
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userId |
User id |
decimal number |
Required |
| Start |
How many record wants to skip |
integer |
None. |
| Count |
How many record wants to retrieve |
integer |
None. |
| Search |
Filter the result set |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
ApiResponseListOfCommunicationListItem| Name | Description | Type | Additional information |
|---|---|---|---|
| Count | integer |
None. |
|
| Result | Collection of CommunicationListItem |
None. |
|
| Status | boolean |
None. |
|
| Message | string |
None. |
|
| Errors |
Errors occures while processing request |
Collection of ApiError |
None. |
Response Formats
application/json, text/json
Sample:
{
"Count": 1,
"Result": [
null,
{
"Id": 1,
"UserName": "sample string 2",
"Subject": "sample string 3",
"Status": 0,
"Date": "sample string 4"
}
],
"Status": true,
"Message": "sample string 3",
"Errors": [
{
"Number": 1,
"Message": "sample string 2",
"Exception": {
"ClassName": "System.Exception",
"Message": null,
"Data": null,
"InnerException": null,
"HelpURL": "sample string 1",
"StackTraceString": null,
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": 3,
"Source": "sample string 2",
"WatsonBuckets": null
}
},
{
"Number": 1,
"Message": "sample string 2",
"Exception": {
"ClassName": "System.Exception",
"Message": null,
"Data": null,
"InnerException": null,
"HelpURL": "sample string 1",
"StackTraceString": null,
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": 3,
"Source": "sample string 2",
"WatsonBuckets": null
}
}
]
}