GET api/Kontingent/GetKontingentForAfdeling/{afdeling}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
afdeling

Afdeling

Required

Body Parameters

None.

Response Information

Resource Description

ServiceResultOfEuiKontingent
NameDescriptionTypeAdditional information
Success

boolean

None.

ErrorMessage

string

None.

SuccessMessage

string

None.

Result

EuiKontingent

None.

StatusCode

HttpStatusCode

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "ErrorMessage": "sample string 2",
  "SuccessMessage": "sample string 3",
  "Result": {
    "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:50:11.5302193+02:00",
        "CreatedBy": "sample string 4",
        "Modified": "2019-10-15T05:50:11.5302193+02:00",
        "ModifiedBy": "sample string 5"
      },
      {
        "TeamName": "sample string 1",
        "Value": "sample string 2",
        "Id": 3,
        "Created": "2019-10-15T05:50:11.5302193+02:00",
        "CreatedBy": "sample string 4",
        "Modified": "2019-10-15T05:50:11.5302193+02:00",
        "ModifiedBy": "sample string 5"
      }
    ],
    "Id": 3,
    "Created": "2019-10-15T05:50:11.5302193+02:00",
    "CreatedBy": "sample string 4",
    "Modified": "2019-10-15T05:50:11.5302193+02:00",
    "ModifiedBy": "sample string 5"
  },
  "StatusCode": 100
}

application/xml, text/xml

Sample:
<ServiceResultOfEuiKontingentYgFqSxnr xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Model">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Result>
    <Created xmlns="http://schemas.datacontract.org/2004/07/Model.Base">2019-10-15T05:50:11.5302193+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:50:11.5302193+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:50:11.5302193+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:50:11.5302193+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:50:11.5302193+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:50:11.5302193+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>
  </Result>
  <StatusCode>Continue</StatusCode>
  <Success>true</Success>
  <SuccessMessage>sample string 3</SuccessMessage>
</ServiceResultOfEuiKontingentYgFqSxnr>