POST api/Chat/GetUserChats

Request Information

URI Parameters

None.

Body Parameters

ApiRequestOfChatFilter
NameDescriptionTypeAdditional information
Language

LanguageEnum

None.

Date

date

None.

Data

ChatFilter

None.

Request Formats

application/json, text/json

Sample:
{
  "Language": 1,
  "Date": "2025-08-02T08:15:07.8366994-05:00",
  "Data": {
    "ItemId": 1,
    "MessageId": "be3fa644-2147-4a1c-a908-cab3fe81fb2d",
    "UserId": "sample string 2",
    "CurrentUserId": "sample string 3"
  }
}

text/xml

Sample:
<ApiRequestOfChatFilterKpYCwjPJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Eiqaratinna.Repository.Models">
  <Data>
    <CurrentUserId>sample string 3</CurrentUserId>
    <ItemId>1</ItemId>
    <MessageId>be3fa644-2147-4a1c-a908-cab3fe81fb2d</MessageId>
    <UserId>sample string 2</UserId>
  </Data>
  <Date>2025-08-02T08:15:07.8366994-05:00</Date>
  <Language>Arabic</Language>
</ApiRequestOfChatFilterKpYCwjPJ>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResponseOfChatUserViewOfString
NameDescriptionTypeAdditional information
Status

boolean

None.

ErrorMessage

string

None.

Exception

Exception

None.

Data

ChatUserViewOfString

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "ErrorMessage": "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
  },
  "Data": {
    "Users": [
      {
        "IsCreatedByMe": true,
        "State": 1,
        "UnreadCount": 2,
        "IsOwner": true,
        "Status": 1,
        "Id": "sample string 4",
        "Name": "sample string 5",
        "Email": "sample string 6",
        "MobileNo": "sample string 7",
        "Image": "sample string 8"
      },
      {
        "IsCreatedByMe": true,
        "State": 1,
        "UnreadCount": 2,
        "IsOwner": true,
        "Status": 1,
        "Id": "sample string 4",
        "Name": "sample string 5",
        "Email": "sample string 6",
        "MobileNo": "sample string 7",
        "Image": "sample string 8"
      }
    ],
    "Id": 1,
    "Title": "sample string 2",
    "ImagePath": "sample string 3"
  }
}

text/xml

Sample:
<ApiResponseOfChatUserViewOfstringKpYCwjPJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Eiqaratinna.Repository.Models">
  <Data />
  <ErrorMessage>sample string 2</ErrorMessage>
  <Exception xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <ClassName xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">System.Exception</ClassName>
    <Message i:nil="true" xmlns="" />
    <Data i:nil="true" xmlns="" />
    <InnerException i:nil="true" xmlns="" />
    <HelpURL xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 1</HelpURL>
    <StackTraceString i:nil="true" xmlns="" />
    <RemoteStackTraceString i:nil="true" xmlns="" />
    <RemoteStackIndex xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">0</RemoteStackIndex>
    <ExceptionMethod i:nil="true" xmlns="" />
    <HResult xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">3</HResult>
    <Source xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 2</Source>
    <WatsonBuckets i:nil="true" xmlns="" />
  </Exception>
  <Status>true</Status>
</ApiResponseOfChatUserViewOfstringKpYCwjPJ>