POST api/itgelement2socialmedia/keyvalue

Request Information

URI Parameters

None.

Body Parameters

ItgElement2SocialMediaSelect
NameDescriptionTypeAdditional information
Id

integer

None.

KrnElement2SocialMediaId

integer

None.

PersonId

integer

None.

OrganisationId

integer

None.

KrnSocialMediaId

integer

None.

Webadresse

string

None.

Bemerkung

string

None.

DuplikatTo

integer

None.

DuplikatFrom

integer

None.

PageSize

integer

Required

PageIndex

integer

Required

SortField

string

None.

SortFieldDefault

string

None.

Quicksearch

string

None.

filterIsSet

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "KrnElement2SocialMediaId": 1,
  "PersonId": 1,
  "OrganisationId": 1,
  "KrnSocialMediaId": 1,
  "Webadresse": "sample string 1",
  "Bemerkung": "sample string 2",
  "DuplikatTo": 1,
  "DuplikatFrom": 1,
  "PageSize": 3,
  "PageIndex": 4,
  "SortField": "sample string 5",
  "SortFieldDefault": "sample string 6",
  "Quicksearch": "sample string 7",
  "filterIsSet": true
}

application/xml, text/xml

Sample:
<ItgElement2SocialMediaSelect xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Itg.Models">
  <PageIndex xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">4</PageIndex>
  <PageSize xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">3</PageSize>
  <Quicksearch xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">sample string 7</Quicksearch>
  <SortField xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">sample string 5</SortField>
  <SortFieldDefault xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">sample string 6</SortFieldDefault>
  <filterIsSet xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">true</filterIsSet>
  <Bemerkung>sample string 2</Bemerkung>
  <DuplikatFrom>1</DuplikatFrom>
  <DuplikatTo>1</DuplikatTo>
  <Id>1</Id>
  <KrnElement2SocialMediaId>1</KrnElement2SocialMediaId>
  <KrnSocialMediaId>1</KrnSocialMediaId>
  <OrganisationId>1</OrganisationId>
  <PersonId>1</PersonId>
  <Webadresse>sample string 1</Webadresse>
</ItgElement2SocialMediaSelect>

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

Response Information

Resource Description

Collection of KeyValue
NameDescriptionTypeAdditional information
Id

integer

Required

Value

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Value": "sample string 2"
  },
  {
    "Id": 1,
    "Value": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfKeyValue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">
  <KeyValue>
    <Id>1</Id>
    <Value>sample string 2</Value>
  </KeyValue>
  <KeyValue>
    <Id>1</Id>
    <Value>sample string 2</Value>
  </KeyValue>
</ArrayOfKeyValue>