POST api/Afdeling/EditKrolfInfoData

Request Information

URI Parameters

None.

Body Parameters

KrolfInfoDataDTO
NameDescriptionTypeAdditional information
KrolfFormand

Information

None.

Request Formats

application/json, text/json

Sample:
{
  "KrolfFormand": {
    "Content": "sample string 1",
    "Afdeling": 0,
    "Type": 0,
    "Id": 2,
    "Created": "2019-10-15T05:49:56.6834216+02:00",
    "CreatedBy": "sample string 3",
    "Modified": "2019-10-15T05:49:56.6834216+02:00",
    "ModifiedBy": "sample string 4"
  }
}

application/xml, text/xml

Sample:
<KrolfInfoDataDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Model.DTOClasses">
  <KrolfFormand xmlns:d2p1="http://schemas.datacontract.org/2004/07/Model">
    <Created xmlns="http://schemas.datacontract.org/2004/07/Model.Base">2019-10-15T05:49:56.6834216+02:00</Created>
    <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Model.Base">sample string 3</CreatedBy>
    <Id xmlns="http://schemas.datacontract.org/2004/07/Model.Base">2</Id>
    <Modified xmlns="http://schemas.datacontract.org/2004/07/Model.Base">2019-10-15T05:49:56.6834216+02:00</Modified>
    <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Model.Base">sample string 4</ModifiedBy>
    <d2p1:Afdeling>Håndbold</d2p1:Afdeling>
    <d2p1:Content>sample string 1</d2p1:Content>
    <d2p1:Type>Regler</d2p1:Type>
  </KrolfFormand>
</KrolfInfoDataDTO>

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>