POST api/resourceOrrecourse/savefollowinfo

Request Information

URI Parameters

None.

Body Parameters

CooperationInfoModel
NameDescriptionTypeAdditional information
Id

integer

None.

userId

integer

None.

ResourceId

string

None.

addTime

date

None.

IsFollow

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "userId": 2,
  "resourceId": "sample string 3",
  "addTime": "2026-08-13T05:38:39.6389173+08:00",
  "isFollow": 4
}

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

Response Information

Resource Description

Result
NameDescriptionTypeAdditional information
success

boolean

None.

data

Object

None.

error

string

None.

Response Formats

application/json, text/json

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