POST api/Kontingent/SaveKontingentForAfdeling

Request Information

URI Parameters

None.

Body Parameters

EuiKontingent
NameDescriptionTypeAdditional information
Content

string

None.

KlubOfficeUrl

string

None.

Afdeling

Afdeling

None.

KontingentContent

Collection of KontingentIndhold

None.

Id

integer

None.

Created

date

None.

CreatedBy

string

None.

Modified

date

None.

ModifiedBy

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Content": "sample string 1",
  "KlubOfficeUrl": "sample string 2",
  "Afdeling": 0,
  "KontingentContent": [
    {
      "TeamName": "sample string 1",
      "Value": "sample string 2",
      "Id": 3,
      "Created": "2019-10-15T05:48:32.2397626+02:00",
      "CreatedBy": "sample string 4",
      "Modified": "2019-10-15T05:48:32.2397626+02:00",
      "ModifiedBy": "sample string 5"
    },
    {
      "TeamName": "sample string 1",
      "Value": "sample string 2",
      "Id": 3,
      "Created": "2019-10-15T05:48:32.2397626+02:00",
      "CreatedBy": "sample string 4",
      "Modified": "2019-10-15T05:48:32.2397626+02:00",
      "ModifiedBy": "sample string 5"
    }
  ],
  "Id": 3,
  "Created": "2019-10-15T05:48:32.2397626+02:00",
  "CreatedBy": "sample string 4",
  "Modified": "2019-10-15T05:48:32.2397626+02:00",
  "ModifiedBy": "sample string 5"
}

application/xml, text/xml

Sample:
<EuiKontingent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Model">
  <Created xmlns="http://schemas.datacontract.org/2004/07/Model.Base">2019-10-15T05:48:32.2397626+02:00</Created>
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Model.Base">sample string 4</CreatedBy>
  <Id xmlns="http://schemas.datacontract.org/2004/07/Model.Base">3</Id>
  <Modified xmlns="http://schemas.datacontract.org/2004/07/Model.Base">2019-10-15T05:48:32.2397626+02:00</Modified>
  <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Model.Base">sample string 5</ModifiedBy>
  <Afdeling>Håndbold</Afdeling>
  <Content>sample string 1</Content>
  <KlubOfficeUrl>sample string 2</KlubOfficeUrl>
  <KontingentContent>
    <KontingentIndhold>
      <Created xmlns="http://schemas.datacontract.org/2004/07/Model.Base">2019-10-15T05:48:32.2397626+02:00</Created>
      <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Model.Base">sample string 4</CreatedBy>
      <Id xmlns="http://schemas.datacontract.org/2004/07/Model.Base">3</Id>
      <Modified xmlns="http://schemas.datacontract.org/2004/07/Model.Base">2019-10-15T05:48:32.2397626+02:00</Modified>
      <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Model.Base">sample string 5</ModifiedBy>
      <TeamName>sample string 1</TeamName>
      <Value>sample string 2</Value>
    </KontingentIndhold>
    <KontingentIndhold>
      <Created xmlns="http://schemas.datacontract.org/2004/07/Model.Base">2019-10-15T05:48:32.2397626+02:00</Created>
      <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Model.Base">sample string 4</CreatedBy>
      <Id xmlns="http://schemas.datacontract.org/2004/07/Model.Base">3</Id>
      <Modified xmlns="http://schemas.datacontract.org/2004/07/Model.Base">2019-10-15T05:48:32.2397626+02:00</Modified>
      <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Model.Base">sample string 5</ModifiedBy>
      <TeamName>sample string 1</TeamName>
      <Value>sample string 2</Value>
    </KontingentIndhold>
  </KontingentContent>
</EuiKontingent>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ServiceResultOfBoolean
NameDescriptionTypeAdditional information
Success

boolean

None.

ErrorMessage

string

None.

SuccessMessage

string

None.

Result

boolean

None.

StatusCode

HttpStatusCode

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "ErrorMessage": "sample string 2",
  "SuccessMessage": "sample string 3",
  "Result": true,
  "StatusCode": 100
}

application/xml, text/xml

Sample:
<ServiceResultOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Model">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Result>true</Result>
  <StatusCode>Continue</StatusCode>
  <Success>true</Success>
  <SuccessMessage>sample string 3</SuccessMessage>
</ServiceResultOfboolean>