PUT api/SocialGroup/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

SocialGroup
NameDescriptionTypeAdditional information
Id

integer

None.

Title

string

None.

AdminName

string

None.

Subject

string

None.

ImageUrl

string

None.

Priority

integer

None.

IsShow

boolean

None.

InsertDateTime

date

None.

Announcments

Collection of Announcment

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Title": "sample string 2",
  "AdminName": "sample string 3",
  "Subject": "sample string 4",
  "ImageUrl": "sample string 5",
  "Priority": 1,
  "IsShow": true,
  "InsertDateTime": "2021-09-22T00:37:33.2414046+03:30",
  "Announcments": [
    {
      "$id": "2",
      "Id": 1,
      "SocialGroup_Id": 1,
      "Text": "sample string 2",
      "Author": "sample string 3",
      "Priority": 1,
      "IsShow": true,
      "InsertDateTime": "2021-09-22T00:37:33.2414046+03:30",
      "SocialGroup": {
        "$ref": "1"
      }
    },
    {
      "$ref": "2"
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.