GrowthZone REST API API Reference

undefined

API Endpoint
https://app.memberzone.org
Request Content-Types: application/json
Response Content-Types: application/json
Schemes: https
Version: v1.0

Paths

GET /api/social/feeds

Response Example (200 OK)
[
  {
    "SocialFeedId": "integer",
    "MembershipActivationId": "string",
    "ContentItemId": "string",
    "ContactId": "string",
    "SocialFeedTypeId": "string",
    "ContactName": "string",
    "CommentsCount": "integer",
    "FilesCount": "integer"
  }
]

GET /api/social/feeds/{socialfeedid}

socialfeedid: integer
in path

(no description)

Response Example (200 OK)
{
  "SocialFeedId": "integer",
  "MembershipActivationId": "string",
  "ContactId": "string",
  "ContentItemId": "string",
  "ContactName": "string",
  "SocialFeedTypeId": "string",
  "Url": "string",
  "MessageText": "string",
  "EmbedCodeHtml": "string",
  "SocialFeedFileUpload": "string",
  "SocialFeedFiles": "string"
}

POST /api/social/feeds/{socialfeedid}

socialfeedid: integer
in path

(no description)

Request Example
{
  "SocialFeedId": "integer",
  "MembershipActivationId": "string",
  "ContactId": "string",
  "ContentItemId": "string",
  "ContactName": "string",
  "SocialFeedTypeId": "string",
  "Url": "string",
  "MessageText": "string",
  "EmbedCodeHtml": "string",
  "SocialFeedFileUpload": "string",
  "SocialFeedFiles": "string"
}
Response Example (200 OK)
{
  "SocialFeedId": "integer",
  "MembershipActivationId": "string",
  "ContentItemId": "string",
  "ContactId": "string",
  "SocialFeedTypeId": "string",
  "ContactName": "string",
  "CommentsCount": "integer",
  "FilesCount": "integer"
}

GET /api/social/feeds/{socialfeedid}/comments

socialfeedid: integer
in path

(no description)

Response Example (200 OK)
[
  {
    "SocialFeedCommentId": "integer",
    "SocialFeedId": "integer",
    "CommentBy": "integer",
    "CommentByContact": "string",
    "CommentDate": "string",
    "CommentText": "string"
  }
]

GET /api/social/feeds/{socialfeedid}/comments/{socialfeedcommentid}

socialfeedid: integer
in path

(no description)

socialfeedcommentid: integer
in path

(no description)

Response Example (200 OK)
{
  "SocialFeedCommentId": "integer",
  "SocialFeedId": "integer",
  "CommentBy": "integer",
  "CommentDate": "string",
  "CommentByContact": "string",
  "CommentText": "string"
}

POST /api/social/feeds/{socialfeedid}/comments/{socialfeedcommentid}

socialfeedid: integer
in path

(no description)

socialfeedcommentid: integer
in path

(no description)

Request Example
{
  "SocialFeedCommentId": "integer",
  "SocialFeedId": "integer",
  "CommentBy": "integer",
  "CommentDate": "string",
  "CommentByContact": "string",
  "CommentText": "string"
}
Response Example (200 OK)
{
  "SocialFeedCommentId": "integer",
  "SocialFeedId": "integer",
  "CommentBy": "integer",
  "CommentByContact": "string",
  "CommentDate": "string",
  "CommentText": "string"
}

POST /api/social/feeds/{socialfeedid}/like

socialfeedid: integer
in path

(no description)

200 OK

OK

POST /api/social/feeds/{socialfeedid}/unlike

socialfeedid: integer
in path

(no description)

200 OK

OK

Schema Definitions

SocialFeedCollectionItemModel: object

SocialFeedId: integer
MembershipActivationId: string
ContentItemId: string
ContactId: string
SocialFeedTypeId: string
ContactName: string
CommentsCount: integer
FilesCount: integer
Example
{
  "SocialFeedId": "integer",
  "MembershipActivationId": "string",
  "ContentItemId": "string",
  "ContactId": "string",
  "SocialFeedTypeId": "string",
  "ContactName": "string",
  "CommentsCount": "integer",
  "FilesCount": "integer"
}

AddEditSocialFeedViewModel: object

SocialFeedId: integer
MembershipActivationId: string
ContactId: string
ContentItemId: string
ContactName: string
SocialFeedTypeId: string
Url: string
MessageText: string
EmbedCodeHtml: string
SocialFeedFileUpload: string
SocialFeedFiles: string
Example
{
  "SocialFeedId": "integer",
  "MembershipActivationId": "string",
  "ContactId": "string",
  "ContentItemId": "string",
  "ContactName": "string",
  "SocialFeedTypeId": "string",
  "Url": "string",
  "MessageText": "string",
  "EmbedCodeHtml": "string",
  "SocialFeedFileUpload": "string",
  "SocialFeedFiles": "string"
}

SocialFeedCommentCollectionItemModel: object

SocialFeedCommentId: integer
SocialFeedId: integer
CommentBy: integer
CommentByContact: string
CommentDate: string
CommentText: string
Example
{
  "SocialFeedCommentId": "integer",
  "SocialFeedId": "integer",
  "CommentBy": "integer",
  "CommentByContact": "string",
  "CommentDate": "string",
  "CommentText": "string"
}

AddEditSocialFeedCommentViewModel: object

SocialFeedCommentId: integer
SocialFeedId: integer
CommentBy: integer
CommentDate: string
CommentByContact: string
CommentText: string
Example
{
  "SocialFeedCommentId": "integer",
  "SocialFeedId": "integer",
  "CommentBy": "integer",
  "CommentDate": "string",
  "CommentByContact": "string",
  "CommentText": "string"
}