GET api/BodGlava

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of bod_glava
NameDescriptionTypeAdditional information
id

integer

None.

sifra

string

None.

za_pobjedu

integer

None.

bodovi

Collection of bodovi

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "sifra": "sample string 2",
    "za_pobjedu": 3,
    "bodovi": [
      {
        "id": 1,
        "Place": 1,
        "Fixed": 1.1,
        "bod_glava_id": 1
      },
      {
        "id": 1,
        "Place": 1,
        "Fixed": 1.1,
        "bod_glava_id": 1
      }
    ]
  },
  {
    "id": 1,
    "sifra": "sample string 2",
    "za_pobjedu": 3,
    "bodovi": [
      {
        "id": 1,
        "Place": 1,
        "Fixed": 1.1,
        "bod_glava_id": 1
      },
      {
        "id": 1,
        "Place": 1,
        "Fixed": 1.1,
        "bod_glava_id": 1
      }
    ]
  }
]

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[WrccWebApi.Models.Database.bodovi, WrccWebApi, Version=1.0.9462.13039, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[WrccWebApi.Models.Database.bodovi, WrccWebApi, Version=1.0.9462.13039, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.