POST api/consult/saveComment

Request Information

URI Parameters

None.

Body Parameters

SaveCommentModel
NameDescriptionTypeAdditional information
commentType

integer

None.

roleType

integer

None.

userId

string

None.

lawyerId

string

None.

quotationComment

string

None.

consultId

integer

None.

quotationId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "commentType": 1,
  "roleType": 2,
  "userId": "sample string 3",
  "lawyerId": "sample string 4",
  "quotationComment": "sample string 5",
  "consultId": 6,
  "quotationId": 7
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SaveCommentModel'.

Response Information

Resource Description

Result
NameDescriptionTypeAdditional information
success

boolean

None.

data

Object

None.

error

string

None.

code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "data": {},
  "error": "sample string 3",
  "code": 4
}