POST api/Source

Request Information

URI Parameters

None.

Body Parameters

SourceDto
NameDescriptionTypeAdditional information
Id

integer

None.

SourceType

SourceType

None.

Name

string

None.

AuthorContact

ListItemDto

None.

AuthorOutlet

ListItemDto

None.

Enabled

boolean

None.

GlobalTags

Collection of SourceGlobalTagDto

None.

BalticClient

ListItemDto

None.

ClientGroup

ListItemDto

None.

IgnoreSmallArticles

boolean

None.

MinimalArticleLength

integer

None.

OldArticleCutoff

date

None.

ReUpdateable

boolean

None.

Created

date

None.

EnableSentiment

boolean

None.

HtmlEnabled

boolean

None.

HighlightKeywords

string

None.

ArticleType

ArticleType

None.

SourceGroup

ListItemDto

None.

SourceSubClient

ListItemDto

None.

TargetOutletLists

Collection of SourceTargetOutletListDto

None.

PulsarIdentifiers

Collection of SourcePulsarIdentifierDto

None.

BalticFacetedSearch

ListItemDto

None.

BalticGroups

Collection of SourceBalticGroupDto

None.

SendOncePerAlert

boolean

None.

RssUrl

string

None.

IgnoreRssGuid

boolean

None.

LastRun

date

None.

FtpPath

string

None.

StreamReference

string

None.

SearchQuery

string

None.

StreamUrl

string

None.

ConfigurationError

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "sourceType": 0,
  "name": "sample string 2",
  "authorContact": {
    "id": 1,
    "name": "sample string 2"
  },
  "authorOutlet": {
    "id": 1,
    "name": "sample string 2"
  },
  "enabled": true,
  "globalTags": [
    {
      "id": 1,
      "deleted": true,
      "globalTag": {
        "id": 1,
        "name": "sample string 2"
      }
    },
    {
      "id": 1,
      "deleted": true,
      "globalTag": {
        "id": 1,
        "name": "sample string 2"
      }
    }
  ],
  "balticClient": {
    "id": 1,
    "name": "sample string 2"
  },
  "clientGroup": {
    "id": 1,
    "name": "sample string 2"
  },
  "ignoreSmallArticles": true,
  "minimalArticleLength": 1,
  "oldArticleCutoff": "2025-05-02T04:39:33.1519187+00:00",
  "reUpdateable": true,
  "created": "2025-05-02T04:39:33.1519187+00:00",
  "enableSentiment": true,
  "htmlEnabled": true,
  "highlightKeywords": "sample string 8",
  "articleType": 1,
  "sourceGroup": {
    "id": 1,
    "name": "sample string 2"
  },
  "sourceSubClient": {
    "id": 1,
    "name": "sample string 2"
  },
  "targetOutletLists": [
    {
      "id": 1,
      "deleted": true,
      "tolMode": 0,
      "balticGroup": {
        "id": 1,
        "name": "sample string 2"
      }
    },
    {
      "id": 1,
      "deleted": true,
      "tolMode": 0,
      "balticGroup": {
        "id": 1,
        "name": "sample string 2"
      }
    }
  ],
  "pulsarIdentifiers": [
    {
      "id": 1,
      "name": "sample string 2",
      "searchId": 3,
      "sourceId": 4,
      "deleted": true,
      "pulsarContent": "sample string 6"
    },
    {
      "id": 1,
      "name": "sample string 2",
      "searchId": 3,
      "sourceId": 4,
      "deleted": true,
      "pulsarContent": "sample string 6"
    }
  ],
  "balticFacetedSearch": {
    "id": 1,
    "name": "sample string 2"
  },
  "balticGroups": [
    {
      "id": 1,
      "deleted": true,
      "balticGroup": {
        "id": 1,
        "name": "sample string 2"
      }
    },
    {
      "id": 1,
      "deleted": true,
      "balticGroup": {
        "id": 1,
        "name": "sample string 2"
      }
    }
  ],
  "sendOncePerAlert": true,
  "rssUrl": "sample string 10",
  "ignoreRssGuid": true,
  "lastRun": "2025-05-02T04:39:33.1519187+00:00",
  "ftpPath": "sample string 12",
  "streamReference": "sample string 13",
  "searchQuery": "sample string 14",
  "streamUrl": "sample string 15",
  "configurationError": "sample string 16"
}

text/plain

Sample:
{"id":1,"sourceType":0,"name":"sample string 2","authorContact":{"id":1,"name":"sample string 2"},"authorOutlet":{"id":1,"name":"sample string 2"},"enabled":true,"globalTags":[{"id":1,"deleted":true,"globalTag":{"id":1,"name":"sample string 2"}},{"id":1,"deleted":true,"globalTag":{"id":1,"name":"sample string 2"}}],"balticClient":{"id":1,"name":"sample string 2"},"clientGroup":{"id":1,"name":"sample string 2"},"ignoreSmallArticles":true,"minimalArticleLength":1,"oldArticleCutoff":"2025-05-02T04:39:33.1519187+00:00","reUpdateable":true,"created":"2025-05-02T04:39:33.1519187+00:00","enableSentiment":true,"htmlEnabled":true,"highlightKeywords":"sample string 8","articleType":1,"sourceGroup":{"id":1,"name":"sample string 2"},"sourceSubClient":{"id":1,"name":"sample string 2"},"targetOutletLists":[{"id":1,"deleted":true,"tolMode":0,"balticGroup":{"id":1,"name":"sample string 2"}},{"id":1,"deleted":true,"tolMode":0,"balticGroup":{"id":1,"name":"sample string 2"}}],"pulsarIdentifiers":[{"id":1,"name":"sample string 2","searchId":3,"sourceId":4,"deleted":true,"pulsarContent":"sample string 6"},{"id":1,"name":"sample string 2","searchId":3,"sourceId":4,"deleted":true,"pulsarContent":"sample string 6"}],"balticFacetedSearch":{"id":1,"name":"sample string 2"},"balticGroups":[{"id":1,"deleted":true,"balticGroup":{"id":1,"name":"sample string 2"}},{"id":1,"deleted":true,"balticGroup":{"id":1,"name":"sample string 2"}}],"sendOncePerAlert":true,"rssUrl":"sample string 10","ignoreRssGuid":true,"lastRun":"2025-05-02T04:39:33.1519187+00:00","ftpPath":"sample string 12","streamReference":"sample string 13","searchQuery":"sample string 14","streamUrl":"sample string 15","configurationError":"sample string 16"}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/plain

Sample:

Sample not available.