GET api/addtoblacklist/{sessionID}/{corrType}/{corrID}

Adds a correspondent to the blacklist

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sessionID

Session ID (obtained at login)

string

Required

corrType

Correspondent type

string

Required

corrID

Correspondent ID

integer

Required

Body Parameters

None.

Response Information

Resource Description

AddToBlacklistResponse
NameDescriptionTypeAdditional information
retval

Return code (0 - ok, otherwise - error)

integer

None.

desc

Text description of the return code (error description)

string

None.

Response Formats

application/json, text/json

Sample:
{
  "retval": 1,
  "desc": "sample string 2"
}

application/xml, text/xml

Sample:
<addtoblacklis.response>
  <retval>1</retval>
  <desc>sample string 2</desc>
</addtoblacklis.response>