PUT api/Campaigns/PutCampaignList

Request Information

URI Parameters

None.

Body Parameters

Collection of 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-05-28T22:55:01.3519732+02:00",
    "order": 5
  },
  {
    "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-05-28T22:55:01.3519732+02:00",
    "order": 5
  }
]

application/xml, text/xml

Sample:
<ArrayOfCampaign xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/euResursApi.Models">
  <Campaign>
    <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-05-28T22:55:01.3519732+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>
  <Campaign>
    <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-05-28T22:55:01.3519732+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>
</ArrayOfCampaign>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.