POST api/Afdeling/EditKrolfRules

Request Information

URI Parameters

None.

Body Parameters

Information
NameDescriptionTypeAdditional information
Content

string

Required

Afdeling

Afdeling

None.

Type

InformationType

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",
  "Afdeling": 0,
  "Type": 0,
  "Id": 2,
  "Created": "2024-04-26T02:23:31.7899436+02:00",
  "CreatedBy": "sample string 3",
  "Modified": "2024-04-26T02:23:31.7899436+02:00",
  "ModifiedBy": "sample string 4"
}

application/xml, text/xml

Sample:
<Information 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">2024-04-26T02:23:31.7899436+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">2024-04-26T02:23:31.7899436+02:00</Modified>
  <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Model.Base">sample string 4</ModifiedBy>
  <Afdeling>Håndbold</Afdeling>
  <Content>sample string 1</Content>
  <Type>Regler</Type>
</Information>

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>