POST api/ActivityApi/SaveActivity
Request Information
URI Parameters
None.
Body Parameters
DiaryFeedViewModelName | Description | Type | Additional information |
---|---|---|---|
Id | decimal number |
None. |
|
Title | string |
None. |
|
FeedType | string |
None. |
|
FeedDescription | string |
None. |
|
ImageUrl | string |
None. |
|
ClassId | string |
None. |
|
StudentId | string |
None. |
|
UserId | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1.0, "Title": "sample string 2", "FeedType": "sample string 3", "FeedDescription": "sample string 4", "ImageUrl": "sample string 5", "ClassId": "sample string 6", "StudentId": "sample string 7", "UserId": 8.0 }
application/xml, text/xml
Sample:
<DiaryFeedViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataModels"> <ClassId>sample string 6</ClassId> <FeedDescription>sample string 4</FeedDescription> <FeedType>sample string 3</FeedType> <Id>1</Id> <ImageUrl>sample string 5</ImageUrl> <StudentId>sample string 7</StudentId> <Title>sample string 2</Title> <UserId>8</UserId> </DiaryFeedViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |