GET api/News/GetNewsBySectorId?sectorId={sectorId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sectorId

integer

Required

Body Parameters

None.

Response Information

Resource Description

News
NameDescriptionTypeAdditional information
id

integer

None.

title

Translation

None.

intro_text

Translation

None.

content

Translation

None.

date

date

None.

featured_image

string

None.

type

integer

None.

published

boolean

None.

visible_on_sector

boolean

None.

visible_on_project

boolean

None.

visible_on_index_page

boolean

None.

tags

string

None.

ProjectsId

integer

None.

Projects

Projects

None.

is_story_in_focus

boolean

None.

title_mp3

Translation

None.

title_log

Translation

None.

intro_text_mp3

Translation

None.

intro_text_log

Translation

None.

content_mp3

Translation

None.

content_log

Translation

None.

EuValuesId

integer

None.

EuValues

EuValues

None.

DevelopmentId

integer

None.

Development

Development

None.

CampaignId

integer

None.

Campaign

Campaign

None.

SectorsId

integer

None.

Sectors

Sectors

None.

up_to_data

boolean

None.

public_invatation

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "title": {
    "en": "sample string 1",
    "bhs": "sample string 2"
  },
  "intro_text": {
    "en": "sample string 1",
    "bhs": "sample string 2"
  },
  "content": {
    "en": "sample string 1",
    "bhs": "sample string 2"
  },
  "date": "2024-03-29T15:49:13.0036366+01:00",
  "featured_image": "sample string 3",
  "type": 4,
  "published": true,
  "visible_on_sector": true,
  "visible_on_project": true,
  "visible_on_index_page": true,
  "tags": "sample string 9",
  "ProjectsId": 1,
  "Projects": {
    "id": 1,
    "title": {
      "en": "sample string 1",
      "bhs": "sample string 2"
    },
    "is_finished": true,
    "SectorsId": 1,
    "Sectors": {
      "id": 1,
      "title": {
        "en": "sample string 1",
        "bhs": "sample string 2"
      },
      "intro": {
        "en": "sample string 1",
        "bhs": "sample string 2"
      },
      "tags": "sample string 2",
      "is_published": true,
      "title_mp3": {
        "en": "sample string 1",
        "bhs": "sample string 2"
      },
      "title_log": {
        "en": "sample string 1",
        "bhs": "sample string 2"
      },
      "intro_mp3": {
        "en": "sample string 1",
        "bhs": "sample string 2"
      },
      "intro_log": {
        "en": "sample string 1",
        "bhs": "sample string 2"
      }
    },
    "sector_title": {
      "en": "sample string 1",
      "bhs": "sample string 2"
    },
    "intro_text": {
      "en": "sample string 1",
      "bhs": "sample string 2"
    },
    "about": {
      "en": "sample string 1",
      "bhs": "sample string 2"
    },
    "contractors": {
      "en": "sample string 1",
      "bhs": "sample string 2"
    },
    "achivements": {
      "en": "sample string 1",
      "bhs": "sample string 2"
    },
    "tags": "sample string 3",
    "organizations_id": [
      1,
      2
    ],
    "is_published": true,
    "title_mp3": {
      "en": "sample string 1",
      "bhs": "sample string 2"
    },
    "title_log": {
      "en": "sample string 1",
      "bhs": "sample string 2"
    },
    "description_mp3": {
      "en": "sample string 1",
      "bhs": "sample string 2"
    },
    "description_log": {
      "en": "sample string 1",
      "bhs": "sample string 2"
    },
    "intro_text_mp3": {
      "en": "sample string 1",
      "bhs": "sample string 2"
    },
    "intro_text_log": {
      "en": "sample string 1",
      "bhs": "sample string 2"
    },
    "about_mp3": {
      "en": "sample string 1",
      "bhs": "sample string 2"
    },
    "about_log": {
      "en": "sample string 1",
      "bhs": "sample string 2"
    },
    "contractors_mp3": {
      "en": "sample string 1",
      "bhs": "sample string 2"
    },
    "contractors_log": {
      "en": "sample string 1",
      "bhs": "sample string 2"
    },
    "achivements_mp3": {
      "en": "sample string 1",
      "bhs": "sample string 2"
    },
    "achivements_log": {
      "en": "sample string 1",
      "bhs": "sample string 2"
    }
  },
  "is_story_in_focus": true,
  "title_mp3": {
    "en": "sample string 1",
    "bhs": "sample string 2"
  },
  "title_log": {
    "en": "sample string 1",
    "bhs": "sample string 2"
  },
  "intro_text_mp3": {
    "en": "sample string 1",
    "bhs": "sample string 2"
  },
  "intro_text_log": {
    "en": "sample string 1",
    "bhs": "sample string 2"
  },
  "content_mp3": {
    "en": "sample string 1",
    "bhs": "sample string 2"
  },
  "content_log": {
    "en": "sample string 1",
    "bhs": "sample string 2"
  },
  "EuValuesId": 1,
  "EuValues": {
    "id": 1,
    "title": {
      "en": "sample string 1",
      "bhs": "sample string 2"
    },
    "intro_text": {
      "en": "sample string 1",
      "bhs": "sample string 2"
    },
    "description": {
      "en": "sample string 1",
      "bhs": "sample string 2"
    },
    "title_mp3": {
      "en": "sample string 1",
      "bhs": "sample string 2"
    },
    "intro_text_mp3": {
      "en": "sample string 1",
      "bhs": "sample string 2"
    },
    "description_mp3": {
      "en": "sample string 1",
      "bhs": "sample string 2"
    },
    "visible": true
  },
  "DevelopmentId": 1,
  "Development": {
    "id": 1,
    "title": {
      "en": "sample string 1",
      "bhs": "sample string 2"
    },
    "content": {
      "en": "sample string 1",
      "bhs": "sample string 2"
    },
    "type": 2,
    "parent_id": 1,
    "created_at": "2024-03-29T15:49:13.0036366+01:00",
    "EuValuesId": 1,
    "EuValues": {
      "id": 1,
      "title": {
        "en": "sample string 1",
        "bhs": "sample string 2"
      },
      "intro_text": {
        "en": "sample string 1",
        "bhs": "sample string 2"
      },
      "description": {
        "en": "sample string 1",
        "bhs": "sample string 2"
      },
      "title_mp3": {
        "en": "sample string 1",
        "bhs": "sample string 2"
      },
      "intro_text_mp3": {
        "en": "sample string 1",
        "bhs": "sample string 2"
      },
      "description_mp3": {
        "en": "sample string 1",
        "bhs": "sample string 2"
      },
      "visible": true
    },
    "is_deleted": true,
    "visible": true
  },
  "CampaignId": 1,
  "Campaign": {
    "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": "2024-03-29T15:49:13.0036366+01:00",
    "order": 5
  },
  "SectorsId": 1,
  "Sectors": {
    "id": 1,
    "title": {
      "en": "sample string 1",
      "bhs": "sample string 2"
    },
    "intro": {
      "en": "sample string 1",
      "bhs": "sample string 2"
    },
    "tags": "sample string 2",
    "is_published": true,
    "title_mp3": {
      "en": "sample string 1",
      "bhs": "sample string 2"
    },
    "title_log": {
      "en": "sample string 1",
      "bhs": "sample string 2"
    },
    "intro_mp3": {
      "en": "sample string 1",
      "bhs": "sample string 2"
    },
    "intro_log": {
      "en": "sample string 1",
      "bhs": "sample string 2"
    }
  },
  "up_to_data": true,
  "public_invatation": true
}

application/xml, text/xml

Sample:
<News 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>2024-03-29T15:49:13.0036366+01: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>
  <CampaignId>1</CampaignId>
  <Development>
    <EuValues>
      <description>
        <bhs>sample string 2</bhs>
        <en>sample string 1</en>
      </description>
      <description_mp3>
        <bhs>sample string 2</bhs>
        <en>sample string 1</en>
      </description_mp3>
      <id>1</id>
      <intro_text>
        <bhs>sample string 2</bhs>
        <en>sample string 1</en>
      </intro_text>
      <intro_text_mp3>
        <bhs>sample string 2</bhs>
        <en>sample string 1</en>
      </intro_text_mp3>
      <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>
    </EuValues>
    <EuValuesId>1</EuValuesId>
    <content>
      <bhs>sample string 2</bhs>
      <en>sample string 1</en>
    </content>
    <created_at>2024-03-29T15:49:13.0036366+01:00</created_at>
    <id>1</id>
    <is_deleted>true</is_deleted>
    <parent_id>1</parent_id>
    <title>
      <bhs>sample string 2</bhs>
      <en>sample string 1</en>
    </title>
    <type>2</type>
    <visible>true</visible>
  </Development>
  <DevelopmentId>1</DevelopmentId>
  <EuValues>
    <description>
      <bhs>sample string 2</bhs>
      <en>sample string 1</en>
    </description>
    <description_mp3>
      <bhs>sample string 2</bhs>
      <en>sample string 1</en>
    </description_mp3>
    <id>1</id>
    <intro_text>
      <bhs>sample string 2</bhs>
      <en>sample string 1</en>
    </intro_text>
    <intro_text_mp3>
      <bhs>sample string 2</bhs>
      <en>sample string 1</en>
    </intro_text_mp3>
    <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>
  </EuValues>
  <EuValuesId>1</EuValuesId>
  <Projects>
    <Sectors>
      <id>1</id>
      <intro>
        <bhs>sample string 2</bhs>
        <en>sample string 1</en>
      </intro>
      <intro_log>
        <bhs>sample string 2</bhs>
        <en>sample string 1</en>
      </intro_log>
      <intro_mp3>
        <bhs>sample string 2</bhs>
        <en>sample string 1</en>
      </intro_mp3>
      <is_published>true</is_published>
      <tags>sample string 2</tags>
      <title>
        <bhs>sample string 2</bhs>
        <en>sample string 1</en>
      </title>
      <title_log>
        <bhs>sample string 2</bhs>
        <en>sample string 1</en>
      </title_log>
      <title_mp3>
        <bhs>sample string 2</bhs>
        <en>sample string 1</en>
      </title_mp3>
    </Sectors>
    <SectorsId>1</SectorsId>
    <about>
      <bhs>sample string 2</bhs>
      <en>sample string 1</en>
    </about>
    <about_log>
      <bhs>sample string 2</bhs>
      <en>sample string 1</en>
    </about_log>
    <about_mp3>
      <bhs>sample string 2</bhs>
      <en>sample string 1</en>
    </about_mp3>
    <achivements>
      <bhs>sample string 2</bhs>
      <en>sample string 1</en>
    </achivements>
    <achivements_log>
      <bhs>sample string 2</bhs>
      <en>sample string 1</en>
    </achivements_log>
    <achivements_mp3>
      <bhs>sample string 2</bhs>
      <en>sample string 1</en>
    </achivements_mp3>
    <contractors>
      <bhs>sample string 2</bhs>
      <en>sample string 1</en>
    </contractors>
    <contractors_log>
      <bhs>sample string 2</bhs>
      <en>sample string 1</en>
    </contractors_log>
    <contractors_mp3>
      <bhs>sample string 2</bhs>
      <en>sample string 1</en>
    </contractors_mp3>
    <description_log>
      <bhs>sample string 2</bhs>
      <en>sample string 1</en>
    </description_log>
    <description_mp3>
      <bhs>sample string 2</bhs>
      <en>sample string 1</en>
    </description_mp3>
    <id>1</id>
    <intro_text>
      <bhs>sample string 2</bhs>
      <en>sample string 1</en>
    </intro_text>
    <intro_text_log>
      <bhs>sample string 2</bhs>
      <en>sample string 1</en>
    </intro_text_log>
    <intro_text_mp3>
      <bhs>sample string 2</bhs>
      <en>sample string 1</en>
    </intro_text_mp3>
    <is_finished>true</is_finished>
    <is_published>true</is_published>
    <organizations_id xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:long>1</d3p1:long>
      <d3p1:long>2</d3p1:long>
    </organizations_id>
    <sector_title>
      <bhs>sample string 2</bhs>
      <en>sample string 1</en>
    </sector_title>
    <tags>sample string 3</tags>
    <title>
      <bhs>sample string 2</bhs>
      <en>sample string 1</en>
    </title>
    <title_log>
      <bhs>sample string 2</bhs>
      <en>sample string 1</en>
    </title_log>
    <title_mp3>
      <bhs>sample string 2</bhs>
      <en>sample string 1</en>
    </title_mp3>
  </Projects>
  <ProjectsId>1</ProjectsId>
  <Sectors>
    <id>1</id>
    <intro>
      <bhs>sample string 2</bhs>
      <en>sample string 1</en>
    </intro>
    <intro_log>
      <bhs>sample string 2</bhs>
      <en>sample string 1</en>
    </intro_log>
    <intro_mp3>
      <bhs>sample string 2</bhs>
      <en>sample string 1</en>
    </intro_mp3>
    <is_published>true</is_published>
    <tags>sample string 2</tags>
    <title>
      <bhs>sample string 2</bhs>
      <en>sample string 1</en>
    </title>
    <title_log>
      <bhs>sample string 2</bhs>
      <en>sample string 1</en>
    </title_log>
    <title_mp3>
      <bhs>sample string 2</bhs>
      <en>sample string 1</en>
    </title_mp3>
  </Sectors>
  <SectorsId>1</SectorsId>
  <content>
    <bhs>sample string 2</bhs>
    <en>sample string 1</en>
  </content>
  <content_log>
    <bhs>sample string 2</bhs>
    <en>sample string 1</en>
  </content_log>
  <content_mp3>
    <bhs>sample string 2</bhs>
    <en>sample string 1</en>
  </content_mp3>
  <date>2024-03-29T15:49:13.0036366+01:00</date>
  <featured_image>sample string 3</featured_image>
  <id>1</id>
  <intro_text>
    <bhs>sample string 2</bhs>
    <en>sample string 1</en>
  </intro_text>
  <intro_text_log>
    <bhs>sample string 2</bhs>
    <en>sample string 1</en>
  </intro_text_log>
  <intro_text_mp3>
    <bhs>sample string 2</bhs>
    <en>sample string 1</en>
  </intro_text_mp3>
  <is_story_in_focus>true</is_story_in_focus>
  <public_invatation>true</public_invatation>
  <published>true</published>
  <tags>sample string 9</tags>
  <title>
    <bhs>sample string 2</bhs>
    <en>sample string 1</en>
  </title>
  <title_log>
    <bhs>sample string 2</bhs>
    <en>sample string 1</en>
  </title_log>
  <title_mp3>
    <bhs>sample string 2</bhs>
    <en>sample string 1</en>
  </title_mp3>
  <type>4</type>
  <up_to_data>true</up_to_data>
  <visible_on_index_page>true</visible_on_index_page>
  <visible_on_project>true</visible_on_project>
  <visible_on_sector>true</visible_on_sector>
</News>