GET api/Chat/GetChatById?fromid={fromid}&toid={toid}&lastrecord={lastrecord}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
fromid

integer

Required

toid

integer

Required

lastrecord

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ChatModel
NameDescriptionTypeAdditional information
Id

integer

None.

Mobile

string

None.

DeleteId

integer

None.

Img

string

None.

Name

string

None.

From

integer

None.

To

integer

None.

Msg

string

None.

Date

string

None.

OrginalDate

date

None.

isOnline

boolean

None.

RId

integer

None.

sharedClinciId

integer

None.

sharedClinciName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Id": 1,
    "Mobile": "sample string 2",
    "DeleteId": 3,
    "Img": "sample string 4",
    "Name": "sample string 5",
    "From": 6,
    "To": 7,
    "Msg": "sample string 8",
    "Date": "sample string 9",
    "OrginalDate": "2019-02-20T06:10:42.7039095-06:00",
    "isOnline": true,
    "RId": 12,
    "sharedClinciId": 13,
    "sharedClinciName": "sample string 14"
  },
  {
    "$ref": "1"
  }
]