POST api/newsbar/socmed/upsert

Request Information

URI Parameters

None.

Body Parameters

InsertUpdateSocMedNewsRqst
NameDescriptionTypeAdditional information
news_socm_id

integer

None.

news_socm_title

string

None.

news_socm_link

string

None.

news_socm_link_text

string

None.

news_socm_icon

string

None.

news_socm_release_date

date

None.

Request Formats

application/json, text/json

Sample:
{
  "news_socm_id": 1,
  "news_socm_title": "sample string 1",
  "news_socm_link": "sample string 2",
  "news_socm_link_text": "sample string 3",
  "news_socm_icon": "sample string 4",
  "news_socm_release_date": "2026-06-13T04:39:44.5698686+02:00"
}

application/xml, text/xml

Sample:
<InsertUpdateSocMedNewsRqst xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aplikacija_za_prijavu_Evenata.Models">
  <news_socm_icon>sample string 4</news_socm_icon>
  <news_socm_id>1</news_socm_id>
  <news_socm_link>sample string 2</news_socm_link>
  <news_socm_link_text>sample string 3</news_socm_link_text>
  <news_socm_release_date>2026-06-13T04:39:44.5698686+02:00</news_socm_release_date>
  <news_socm_title>sample string 1</news_socm_title>
</InsertUpdateSocMedNewsRqst>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.