POST api/Message/ReadAllMessages?to={to}&from={from}&lastrowid={lastrowid}&isSinchMessageId={isSinchMessageId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
to

string

Required

from

string

Required

lastrowid

string

Required

isSinchMessageId

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

ResultEntity
NameDescriptionTypeAdditional information
isError

boolean

None.

message

string

None.

extraValue

integer

None.

resultCode

integer

None.

result

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "isError": true,
  "message": "sample string 2",
  "extraValue": 3,
  "resultCode": 4,
  "result": {}
}

application/xml, text/xml

Sample:
<ResultEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JadoreApi.Models">
  <extraValue>3</extraValue>
  <isError>true</isError>
  <message>sample string 2</message>
  <result />
  <resultCode>4</resultCode>
</ResultEntity>