POST api/UserActivities

Request Information

URI Parameters

None.

Body Parameters

ServiceResponse
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

ReturnID

integer

None.

FieldName

string

None.

FieldMsg

string

None.

OptionalData

Object

None.

Request Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "ReturnID": 2,
  "FieldName": "sample string 3",
  "FieldMsg": "sample string 4",
  "OptionalData": {}
}

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

Response Information

Resource Description

ApiResponse
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

Message

string

None.

StatusCode

HttpStatusCode

None.

Data

Object

None.

FailData

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "Message": "sample string 2",
  "StatusCode": 100,
  "Data": {},
  "FailData": {}
}