PUT api/Campaigns/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Campaign
NameDescriptionTypeAdditional information
id

integer

None.

title

Translation

None.

about

Translation

None.

title_mp3

Translation

None.

about_mp3

Translation

None.

visible

boolean

None.

featured_image

string

None.

created_at

date

None.

order

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "title": {
    "en": "sample string 1",
    "bhs": "sample string 2"
  },
  "about": {
    "en": "sample string 1",
    "bhs": "sample string 2"
  },
  "title_mp3": {
    "en": "sample string 1",
    "bhs": "sample string 2"
  },
  "about_mp3": {
    "en": "sample string 1",
    "bhs": "sample string 2"
  },
  "visible": true,
  "featured_image": "sample string 3",
  "created_at": "2020-06-02T23:46:47.8148601+02:00",
  "order": 5
}

application/xml, text/xml

Sample:
<Campaign xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/euResursApi.Models">
  <about>
    <bhs>sample string 2</bhs>
    <en>sample string 1</en>
  </about>
  <about_mp3>
    <bhs>sample string 2</bhs>
    <en>sample string 1</en>
  </about_mp3>
  <created_at>2020-06-02T23:46:47.8148601+02:00</created_at>
  <featured_image>sample string 3</featured_image>
  <id>1</id>
  <order>5</order>
  <title>
    <bhs>sample string 2</bhs>
    <en>sample string 1</en>
  </title>
  <title_mp3>
    <bhs>sample string 2</bhs>
    <en>sample string 1</en>
  </title_mp3>
  <visible>true</visible>
</Campaign>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.