POST api/sazanforderung/update

Request Information

URI Parameters

None.

Body Parameters

SazAnforderung
NameDescriptionTypeAdditional information
Id

integer

Required

RowGuid

globally unique identifier

Required

UebungId

integer

Required

AltersgruppeId

integer

Required

Gold

decimal number

Required

Silber

decimal number

Required

Bronze

decimal number

Required

Sichtbar

boolean

Required

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "RowGuid": "19b2f0c1-d775-4cef-b434-6688fddb3ae2",
  "UebungId": 3,
  "AltersgruppeId": 4,
  "Gold": 5.0,
  "Silber": 6.0,
  "Bronze": 7.0,
  "Sichtbar": true
}

application/xml, text/xml

Sample:
<SazAnforderung xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Saz.Models">
  <AltersgruppeId>4</AltersgruppeId>
  <Bronze>7</Bronze>
  <Gold>5</Gold>
  <Id>1</Id>
  <RowGuid>19b2f0c1-d775-4cef-b434-6688fddb3ae2</RowGuid>
  <Sichtbar>true</Sichtbar>
  <Silber>6</Silber>
  <UebungId>3</UebungId>
</SazAnforderung>

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

Response Information

Resource Description

SazAnforderungDisplay
NameDescriptionTypeAdditional information
AltersgruppeIdDisplay

string

None.

UebungIdDisplay

string

None.

DisplayField

string

None.

Id

integer

Required

RowGuid

globally unique identifier

Required

UebungId

integer

Required

AltersgruppeId

integer

Required

Gold

decimal number

Required

Silber

decimal number

Required

Bronze

decimal number

Required

Sichtbar

boolean

Required

Response Formats

application/json, text/json

Sample:
{
  "AltersgruppeIdDisplay": "sample string 1",
  "UebungIdDisplay": "sample string 2",
  "DisplayField": "sample string 3",
  "Id": 4,
  "RowGuid": "f3ccc23d-1895-4760-b69d-1cf90244b044",
  "UebungId": 6,
  "AltersgruppeId": 7,
  "Gold": 8.0,
  "Silber": 9.0,
  "Bronze": 10.0,
  "Sichtbar": true
}

application/xml, text/xml

Sample:
<SazAnforderungDisplay xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.IntelliVerband.Saz.Models">
  <AltersgruppeId>7</AltersgruppeId>
  <Bronze>10</Bronze>
  <Gold>8</Gold>
  <Id>4</Id>
  <RowGuid>f3ccc23d-1895-4760-b69d-1cf90244b044</RowGuid>
  <Sichtbar>true</Sichtbar>
  <Silber>9</Silber>
  <UebungId>6</UebungId>
  <AltersgruppeIdDisplay>sample string 1</AltersgruppeIdDisplay>
  <DisplayField>sample string 3</DisplayField>
  <UebungIdDisplay>sample string 2</UebungIdDisplay>
</SazAnforderungDisplay>