POST api/Announcment
Request Information
URI Parameters
None.
Body Parameters
AnnouncmentName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
SocialGroup_Id | integer |
None. |
|
Text | string |
None. |
|
Author | string |
None. |
|
Priority | integer |
None. |
|
IsShow | boolean |
None. |
|
InsertDateTime | date |
None. |
|
SocialGroup | SocialGroup |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "SocialGroup_Id": 1, "Text": "sample string 2", "Author": "sample string 3", "Priority": 1, "IsShow": true, "InsertDateTime": "2021-02-25T06:14:14.0810454+03:30", "SocialGroup": { "$id": "2", "Id": 1, "Title": "sample string 2", "AdminName": "sample string 3", "Subject": "sample string 4", "ImageUrl": "sample string 5", "Priority": 1, "IsShow": true, "InsertDateTime": "2021-02-25T06:14:14.0810454+03:30", "Announcments": [ { "$ref": "1" }, { "$ref": "1" } ] } }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AnnouncmentName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
SocialGroup_Id | integer |
None. |
|
Text | string |
None. |
|
Author | string |
None. |
|
Priority | integer |
None. |
|
IsShow | boolean |
None. |
|
InsertDateTime | date |
None. |
|
SocialGroup | SocialGroup |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "SocialGroup_Id": 1, "Text": "sample string 2", "Author": "sample string 3", "Priority": 1, "IsShow": true, "InsertDateTime": "2021-02-25T06:14:14.0810454+03:30", "SocialGroup": { "$id": "2", "Id": 1, "Title": "sample string 2", "AdminName": "sample string 3", "Subject": "sample string 4", "ImageUrl": "sample string 5", "Priority": 1, "IsShow": true, "InsertDateTime": "2021-02-25T06:14:14.0810454+03:30", "Announcments": [ { "$ref": "1" }, { "$ref": "1" } ] } }