POST news/collect_news

Request Information

URI Parameters

None.

Body Parameters

CollectNewsViewModel
NameDescriptionTypeAdditional information
news_id

integer

Required

client_id

integer

Required

shop_id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "news_id": 1,
  "client_id": 2,
  "shop_id": 3
}

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 'CollectNewsViewModel'.

Response Information

Resource Description

DataResponseOfString
NameDescriptionTypeAdditional information
code

integer

None.

message

string

None.

success

boolean

None.

data

string

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "message": "sample string 2",
  "success": true,
  "data": "sample string 4"
}