POST api/ViewChat

Request Information

URI Parameters

None.

Body Parameters

ChatListParams
NameDescriptionTypeAdditional information
Uid

integer

None.

Id

integer

None.

ChatUserName

string

None.

str

integer

None.

pr

integer

None.

Message

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Uid": 1,
  "Id": 1,
  "ChatUserName": "sample string 1",
  "str": 1,
  "pr": 1,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<ChatListParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.mcapp.Models">
  <ChatUserName>sample string 1</ChatUserName>
  <Id>1</Id>
  <Message>sample string 2</Message>
  <Uid>1</Uid>
  <pr>1</pr>
  <str>1</str>
</ChatListParams>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of Chat
NameDescriptionTypeAdditional information
Id

integer

None.

ChatHeadId

integer

None.

ChatHead

ChatHead

None.

SenderId

integer

None.

SenderName

string

None.

Message

string

None.

SendOn

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "ChatHeadId": 1,
    "ChatHead": {
      "Id": 1,
      "IsGroupChat": true,
      "IsDirectChat": true,
      "CreatorId": 1,
      "Creator": {
        "Id": 1,
        "Name": "sample string 2",
        "Address": "sample string 3",
        "Email": "sample string 4",
        "Mobile": "sample string 5",
        "Password": "sample string 6",
        "TypeId": 1,
        "Type": {
          "Id": 1,
          "Name": "sample string 2",
          "UserPriority": 3
        },
        "USerPriority": 7,
        "TeamId": 1,
        "Team": {
          "Id": 1,
          "Name": "sample string 2"
        }
      },
      "CreatorName": "sample string 4",
      "ReceiverId": 1,
      "TaskId": 1,
      "Task": {
        "Id": 1,
        "FileNo": "sample string 2",
        "WorkTypeId": 1,
        "WorkType": {
          "Id": 1,
          "Name": "sample string 2"
        },
        "ClientId": 1,
        "Client": {
          "Id": 1,
          "Name": "sample string 2",
          "Address": "sample string 3",
          "Email": "sample string 4",
          "Mobile": "sample string 5",
          "District": "sample string 6",
          "Area": "sample string 7",
          "CompanyName": "sample string 8",
          "FileNo": "sample string 9",
          "Gstin": "sample string 10",
          "PanNo": "sample string 11",
          "OutStandingBalance": 12.1,
          "CareOf": "sample string 13",
          "Group": "sample string 14"
        },
        "FileDate": "2025-12-06T04:55:30.4854486+00:00",
        "StartDate": "2025-12-06T04:55:30.4854486+00:00",
        "DueDate": "2025-12-06T04:55:30.4854486+00:00",
        "WorkStatus": "sample string 3",
        "EndDate": "2025-12-06T04:55:30.4854486+00:00",
        "Description": "sample string 4",
        "Progress": "sample string 5",
        "Remarks": "sample string 6",
        "Evcsigned": "sample string 7",
        "Isprintout": true,
        "WorkTrack": "sample string 9",
        "TaskCompleted": true,
        "IsApproved": true,
        "TeamId": 1,
        "Team": {
          "Id": 1,
          "Name": "sample string 2"
        },
        "UserId": 1,
        "User": {
          "Id": 1,
          "Name": "sample string 2",
          "Address": "sample string 3",
          "Email": "sample string 4",
          "Mobile": "sample string 5",
          "Password": "sample string 6",
          "TypeId": 1,
          "Type": {
            "Id": 1,
            "Name": "sample string 2",
            "UserPriority": 3
          },
          "USerPriority": 7,
          "TeamId": 1,
          "Team": {
            "Id": 1,
            "Name": "sample string 2"
          }
        },
        "AssignedToId": 1,
        "AssignedTo": {
          "Id": 1,
          "Name": "sample string 2",
          "Address": "sample string 3",
          "Email": "sample string 4",
          "Mobile": "sample string 5",
          "Password": "sample string 6",
          "TypeId": 1,
          "Type": {
            "Id": 1,
            "Name": "sample string 2",
            "UserPriority": 3
          },
          "USerPriority": 7,
          "TeamId": 1,
          "Team": {
            "Id": 1,
            "Name": "sample string 2"
          }
        },
        "VerifiedById": 1,
        "VerifiedBy": {
          "Id": 1,
          "Name": "sample string 2",
          "Address": "sample string 3",
          "Email": "sample string 4",
          "Mobile": "sample string 5",
          "Password": "sample string 6",
          "TypeId": 1,
          "Type": {
            "Id": 1,
            "Name": "sample string 2",
            "UserPriority": 3
          },
          "USerPriority": 7,
          "TeamId": 1,
          "Team": {
            "Id": 1,
            "Name": "sample string 2"
          }
        },
        "BillStatus": "sample string 12",
        "PayStatus": "sample string 13",
        "PayAmount": 14.1,
        "TaskFees": 15.1,
        "BillAmount": 16.1,
        "BillRemarks": "sample string 17",
        "RefUrl": "sample string 18",
        "Organization": "sample string 19",
        "IsChatAdded": true,
        "IsARepeatTask": true,
        "RepeatType": "sample string 22",
        "AuditorName": "sample string 23",
        "Frn": "sample string 24",
        "FinalizedBy": "sample string 25"
      },
      "Title": "sample string 5",
      "LastMessage": "sample string 6",
      "CreatedOn": "2025-12-06T04:55:30.4854486+00:00",
      "RecentUpdate": "2025-12-06T04:55:30.4854486+00:00",
      "IsEnded": true,
      "EndedOn": "2025-12-06T04:55:30.4854486+00:00"
    },
    "SenderId": 1,
    "SenderName": "sample string 2",
    "Message": "sample string 3",
    "SendOn": "2025-12-06T04:55:30.4854486+00:00"
  },
  {
    "Id": 1,
    "ChatHeadId": 1,
    "ChatHead": {
      "Id": 1,
      "IsGroupChat": true,
      "IsDirectChat": true,
      "CreatorId": 1,
      "Creator": {
        "Id": 1,
        "Name": "sample string 2",
        "Address": "sample string 3",
        "Email": "sample string 4",
        "Mobile": "sample string 5",
        "Password": "sample string 6",
        "TypeId": 1,
        "Type": {
          "Id": 1,
          "Name": "sample string 2",
          "UserPriority": 3
        },
        "USerPriority": 7,
        "TeamId": 1,
        "Team": {
          "Id": 1,
          "Name": "sample string 2"
        }
      },
      "CreatorName": "sample string 4",
      "ReceiverId": 1,
      "TaskId": 1,
      "Task": {
        "Id": 1,
        "FileNo": "sample string 2",
        "WorkTypeId": 1,
        "WorkType": {
          "Id": 1,
          "Name": "sample string 2"
        },
        "ClientId": 1,
        "Client": {
          "Id": 1,
          "Name": "sample string 2",
          "Address": "sample string 3",
          "Email": "sample string 4",
          "Mobile": "sample string 5",
          "District": "sample string 6",
          "Area": "sample string 7",
          "CompanyName": "sample string 8",
          "FileNo": "sample string 9",
          "Gstin": "sample string 10",
          "PanNo": "sample string 11",
          "OutStandingBalance": 12.1,
          "CareOf": "sample string 13",
          "Group": "sample string 14"
        },
        "FileDate": "2025-12-06T04:55:30.4854486+00:00",
        "StartDate": "2025-12-06T04:55:30.4854486+00:00",
        "DueDate": "2025-12-06T04:55:30.4854486+00:00",
        "WorkStatus": "sample string 3",
        "EndDate": "2025-12-06T04:55:30.4854486+00:00",
        "Description": "sample string 4",
        "Progress": "sample string 5",
        "Remarks": "sample string 6",
        "Evcsigned": "sample string 7",
        "Isprintout": true,
        "WorkTrack": "sample string 9",
        "TaskCompleted": true,
        "IsApproved": true,
        "TeamId": 1,
        "Team": {
          "Id": 1,
          "Name": "sample string 2"
        },
        "UserId": 1,
        "User": {
          "Id": 1,
          "Name": "sample string 2",
          "Address": "sample string 3",
          "Email": "sample string 4",
          "Mobile": "sample string 5",
          "Password": "sample string 6",
          "TypeId": 1,
          "Type": {
            "Id": 1,
            "Name": "sample string 2",
            "UserPriority": 3
          },
          "USerPriority": 7,
          "TeamId": 1,
          "Team": {
            "Id": 1,
            "Name": "sample string 2"
          }
        },
        "AssignedToId": 1,
        "AssignedTo": {
          "Id": 1,
          "Name": "sample string 2",
          "Address": "sample string 3",
          "Email": "sample string 4",
          "Mobile": "sample string 5",
          "Password": "sample string 6",
          "TypeId": 1,
          "Type": {
            "Id": 1,
            "Name": "sample string 2",
            "UserPriority": 3
          },
          "USerPriority": 7,
          "TeamId": 1,
          "Team": {
            "Id": 1,
            "Name": "sample string 2"
          }
        },
        "VerifiedById": 1,
        "VerifiedBy": {
          "Id": 1,
          "Name": "sample string 2",
          "Address": "sample string 3",
          "Email": "sample string 4",
          "Mobile": "sample string 5",
          "Password": "sample string 6",
          "TypeId": 1,
          "Type": {
            "Id": 1,
            "Name": "sample string 2",
            "UserPriority": 3
          },
          "USerPriority": 7,
          "TeamId": 1,
          "Team": {
            "Id": 1,
            "Name": "sample string 2"
          }
        },
        "BillStatus": "sample string 12",
        "PayStatus": "sample string 13",
        "PayAmount": 14.1,
        "TaskFees": 15.1,
        "BillAmount": 16.1,
        "BillRemarks": "sample string 17",
        "RefUrl": "sample string 18",
        "Organization": "sample string 19",
        "IsChatAdded": true,
        "IsARepeatTask": true,
        "RepeatType": "sample string 22",
        "AuditorName": "sample string 23",
        "Frn": "sample string 24",
        "FinalizedBy": "sample string 25"
      },
      "Title": "sample string 5",
      "LastMessage": "sample string 6",
      "CreatedOn": "2025-12-06T04:55:30.4854486+00:00",
      "RecentUpdate": "2025-12-06T04:55:30.4854486+00:00",
      "IsEnded": true,
      "EndedOn": "2025-12-06T04:55:30.4854486+00:00"
    },
    "SenderId": 1,
    "SenderName": "sample string 2",
    "Message": "sample string 3",
    "SendOn": "2025-12-06T04:55:30.4854486+00:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfChat xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/core.mcapp">
  <Chat>
    <ChatHead>
      <CreatedOn>2025-12-06T04:55:30.4854486+00:00</CreatedOn>
      <Creator>
        <Address>sample string 3</Address>
        <Email>sample string 4</Email>
        <Id>1</Id>
        <Mobile>sample string 5</Mobile>
        <Name>sample string 2</Name>
        <Password>sample string 6</Password>
        <Team>
          <Id>1</Id>
          <Name>sample string 2</Name>
        </Team>
        <TeamId>1</TeamId>
        <Type>
          <Id>1</Id>
          <Name>sample string 2</Name>
          <UserPriority>3</UserPriority>
        </Type>
        <TypeId>1</TypeId>
        <USerPriority>7</USerPriority>
      </Creator>
      <CreatorId>1</CreatorId>
      <CreatorName>sample string 4</CreatorName>
      <EndedOn>2025-12-06T04:55:30.4854486+00:00</EndedOn>
      <Id>1</Id>
      <IsDirectChat>true</IsDirectChat>
      <IsEnded>true</IsEnded>
      <IsGroupChat>true</IsGroupChat>
      <LastMessage>sample string 6</LastMessage>
      <ReceiverId>1</ReceiverId>
      <RecentUpdate>2025-12-06T04:55:30.4854486+00:00</RecentUpdate>
      <Task>
        <AssignedTo>
          <Address>sample string 3</Address>
          <Email>sample string 4</Email>
          <Id>1</Id>
          <Mobile>sample string 5</Mobile>
          <Name>sample string 2</Name>
          <Password>sample string 6</Password>
          <Team>
            <Id>1</Id>
            <Name>sample string 2</Name>
          </Team>
          <TeamId>1</TeamId>
          <Type>
            <Id>1</Id>
            <Name>sample string 2</Name>
            <UserPriority>3</UserPriority>
          </Type>
          <TypeId>1</TypeId>
          <USerPriority>7</USerPriority>
        </AssignedTo>
        <AssignedToId>1</AssignedToId>
        <AuditorName>sample string 23</AuditorName>
        <BillAmount>16.1</BillAmount>
        <BillRemarks>sample string 17</BillRemarks>
        <BillStatus>sample string 12</BillStatus>
        <Client>
          <Address>sample string 3</Address>
          <Area>sample string 7</Area>
          <CareOf>sample string 13</CareOf>
          <CompanyName>sample string 8</CompanyName>
          <District>sample string 6</District>
          <Email>sample string 4</Email>
          <FileNo>sample string 9</FileNo>
          <Group>sample string 14</Group>
          <Gstin>sample string 10</Gstin>
          <Id>1</Id>
          <Mobile>sample string 5</Mobile>
          <Name>sample string 2</Name>
          <OutStandingBalance>12.1</OutStandingBalance>
          <PanNo>sample string 11</PanNo>
        </Client>
        <ClientId>1</ClientId>
        <Description>sample string 4</Description>
        <DueDate>2025-12-06T04:55:30.4854486+00:00</DueDate>
        <EndDate>2025-12-06T04:55:30.4854486+00:00</EndDate>
        <Evcsigned>sample string 7</Evcsigned>
        <FileDate>2025-12-06T04:55:30.4854486+00:00</FileDate>
        <FileNo>sample string 2</FileNo>
        <FinalizedBy>sample string 25</FinalizedBy>
        <Frn>sample string 24</Frn>
        <Id>1</Id>
        <IsARepeatTask>true</IsARepeatTask>
        <IsApproved>true</IsApproved>
        <IsChatAdded>true</IsChatAdded>
        <Isprintout>true</Isprintout>
        <Organization>sample string 19</Organization>
        <PayAmount>14.1</PayAmount>
        <PayStatus>sample string 13</PayStatus>
        <Progress>sample string 5</Progress>
        <RefUrl>sample string 18</RefUrl>
        <Remarks>sample string 6</Remarks>
        <RepeatType>sample string 22</RepeatType>
        <StartDate>2025-12-06T04:55:30.4854486+00:00</StartDate>
        <TaskCompleted>true</TaskCompleted>
        <TaskFees>15.1</TaskFees>
        <Team>
          <Id>1</Id>
          <Name>sample string 2</Name>
        </Team>
        <TeamId>1</TeamId>
        <User>
          <Address>sample string 3</Address>
          <Email>sample string 4</Email>
          <Id>1</Id>
          <Mobile>sample string 5</Mobile>
          <Name>sample string 2</Name>
          <Password>sample string 6</Password>
          <Team>
            <Id>1</Id>
            <Name>sample string 2</Name>
          </Team>
          <TeamId>1</TeamId>
          <Type>
            <Id>1</Id>
            <Name>sample string 2</Name>
            <UserPriority>3</UserPriority>
          </Type>
          <TypeId>1</TypeId>
          <USerPriority>7</USerPriority>
        </User>
        <UserId>1</UserId>
        <VerifiedBy>
          <Address>sample string 3</Address>
          <Email>sample string 4</Email>
          <Id>1</Id>
          <Mobile>sample string 5</Mobile>
          <Name>sample string 2</Name>
          <Password>sample string 6</Password>
          <Team>
            <Id>1</Id>
            <Name>sample string 2</Name>
          </Team>
          <TeamId>1</TeamId>
          <Type>
            <Id>1</Id>
            <Name>sample string 2</Name>
            <UserPriority>3</UserPriority>
          </Type>
          <TypeId>1</TypeId>
          <USerPriority>7</USerPriority>
        </VerifiedBy>
        <VerifiedById>1</VerifiedById>
        <WorkStatus>sample string 3</WorkStatus>
        <WorkTrack>sample string 9</WorkTrack>
        <WorkType>
          <Id>1</Id>
          <Name>sample string 2</Name>
        </WorkType>
        <WorkTypeId>1</WorkTypeId>
      </Task>
      <TaskId>1</TaskId>
      <Title>sample string 5</Title>
    </ChatHead>
    <ChatHeadId>1</ChatHeadId>
    <Id>1</Id>
    <Message>sample string 3</Message>
    <SendOn>2025-12-06T04:55:30.4854486+00:00</SendOn>
    <SenderId>1</SenderId>
    <SenderName>sample string 2</SenderName>
  </Chat>
  <Chat>
    <ChatHead>
      <CreatedOn>2025-12-06T04:55:30.4854486+00:00</CreatedOn>
      <Creator>
        <Address>sample string 3</Address>
        <Email>sample string 4</Email>
        <Id>1</Id>
        <Mobile>sample string 5</Mobile>
        <Name>sample string 2</Name>
        <Password>sample string 6</Password>
        <Team>
          <Id>1</Id>
          <Name>sample string 2</Name>
        </Team>
        <TeamId>1</TeamId>
        <Type>
          <Id>1</Id>
          <Name>sample string 2</Name>
          <UserPriority>3</UserPriority>
        </Type>
        <TypeId>1</TypeId>
        <USerPriority>7</USerPriority>
      </Creator>
      <CreatorId>1</CreatorId>
      <CreatorName>sample string 4</CreatorName>
      <EndedOn>2025-12-06T04:55:30.4854486+00:00</EndedOn>
      <Id>1</Id>
      <IsDirectChat>true</IsDirectChat>
      <IsEnded>true</IsEnded>
      <IsGroupChat>true</IsGroupChat>
      <LastMessage>sample string 6</LastMessage>
      <ReceiverId>1</ReceiverId>
      <RecentUpdate>2025-12-06T04:55:30.4854486+00:00</RecentUpdate>
      <Task>
        <AssignedTo>
          <Address>sample string 3</Address>
          <Email>sample string 4</Email>
          <Id>1</Id>
          <Mobile>sample string 5</Mobile>
          <Name>sample string 2</Name>
          <Password>sample string 6</Password>
          <Team>
            <Id>1</Id>
            <Name>sample string 2</Name>
          </Team>
          <TeamId>1</TeamId>
          <Type>
            <Id>1</Id>
            <Name>sample string 2</Name>
            <UserPriority>3</UserPriority>
          </Type>
          <TypeId>1</TypeId>
          <USerPriority>7</USerPriority>
        </AssignedTo>
        <AssignedToId>1</AssignedToId>
        <AuditorName>sample string 23</AuditorName>
        <BillAmount>16.1</BillAmount>
        <BillRemarks>sample string 17</BillRemarks>
        <BillStatus>sample string 12</BillStatus>
        <Client>
          <Address>sample string 3</Address>
          <Area>sample string 7</Area>
          <CareOf>sample string 13</CareOf>
          <CompanyName>sample string 8</CompanyName>
          <District>sample string 6</District>
          <Email>sample string 4</Email>
          <FileNo>sample string 9</FileNo>
          <Group>sample string 14</Group>
          <Gstin>sample string 10</Gstin>
          <Id>1</Id>
          <Mobile>sample string 5</Mobile>
          <Name>sample string 2</Name>
          <OutStandingBalance>12.1</OutStandingBalance>
          <PanNo>sample string 11</PanNo>
        </Client>
        <ClientId>1</ClientId>
        <Description>sample string 4</Description>
        <DueDate>2025-12-06T04:55:30.4854486+00:00</DueDate>
        <EndDate>2025-12-06T04:55:30.4854486+00:00</EndDate>
        <Evcsigned>sample string 7</Evcsigned>
        <FileDate>2025-12-06T04:55:30.4854486+00:00</FileDate>
        <FileNo>sample string 2</FileNo>
        <FinalizedBy>sample string 25</FinalizedBy>
        <Frn>sample string 24</Frn>
        <Id>1</Id>
        <IsARepeatTask>true</IsARepeatTask>
        <IsApproved>true</IsApproved>
        <IsChatAdded>true</IsChatAdded>
        <Isprintout>true</Isprintout>
        <Organization>sample string 19</Organization>
        <PayAmount>14.1</PayAmount>
        <PayStatus>sample string 13</PayStatus>
        <Progress>sample string 5</Progress>
        <RefUrl>sample string 18</RefUrl>
        <Remarks>sample string 6</Remarks>
        <RepeatType>sample string 22</RepeatType>
        <StartDate>2025-12-06T04:55:30.4854486+00:00</StartDate>
        <TaskCompleted>true</TaskCompleted>
        <TaskFees>15.1</TaskFees>
        <Team>
          <Id>1</Id>
          <Name>sample string 2</Name>
        </Team>
        <TeamId>1</TeamId>
        <User>
          <Address>sample string 3</Address>
          <Email>sample string 4</Email>
          <Id>1</Id>
          <Mobile>sample string 5</Mobile>
          <Name>sample string 2</Name>
          <Password>sample string 6</Password>
          <Team>
            <Id>1</Id>
            <Name>sample string 2</Name>
          </Team>
          <TeamId>1</TeamId>
          <Type>
            <Id>1</Id>
            <Name>sample string 2</Name>
            <UserPriority>3</UserPriority>
          </Type>
          <TypeId>1</TypeId>
          <USerPriority>7</USerPriority>
        </User>
        <UserId>1</UserId>
        <VerifiedBy>
          <Address>sample string 3</Address>
          <Email>sample string 4</Email>
          <Id>1</Id>
          <Mobile>sample string 5</Mobile>
          <Name>sample string 2</Name>
          <Password>sample string 6</Password>
          <Team>
            <Id>1</Id>
            <Name>sample string 2</Name>
          </Team>
          <TeamId>1</TeamId>
          <Type>
            <Id>1</Id>
            <Name>sample string 2</Name>
            <UserPriority>3</UserPriority>
          </Type>
          <TypeId>1</TypeId>
          <USerPriority>7</USerPriority>
        </VerifiedBy>
        <VerifiedById>1</VerifiedById>
        <WorkStatus>sample string 3</WorkStatus>
        <WorkTrack>sample string 9</WorkTrack>
        <WorkType>
          <Id>1</Id>
          <Name>sample string 2</Name>
        </WorkType>
        <WorkTypeId>1</WorkTypeId>
      </Task>
      <TaskId>1</TaskId>
      <Title>sample string 5</Title>
    </ChatHead>
    <ChatHeadId>1</ChatHeadId>
    <Id>1</Id>
    <Message>sample string 3</Message>
    <SendOn>2025-12-06T04:55:30.4854486+00:00</SendOn>
    <SenderId>1</SenderId>
    <SenderName>sample string 2</SenderName>
  </Chat>
</ArrayOfChat>