POST api/comment/{sessionID}

Send comment (works only for buyers)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sessionID

ID сессии (получается при логине)

string

Required

Body Parameters

Comment
NameDescriptionTypeAdditional information
CorrID

Correspondent ID

integer

None.

Text

Message text

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CorrID": 1,
  "Text": "sample string 2"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

application/xml, text/xml

Sample:
<Comment>
  <corrID>1</corrID>
  <text>sample string 2</text>
</Comment>

Response Information

Resource Description

CommentResponse
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:
<comment.response>
  <retval>1</retval>
  <desc>sample string 2</desc>
</comment.response>