POST api/Acro/Spremi

Request Information

URI Parameters

None.

Body Parameters

AcroSpremiRequestDto
NameDescriptionTypeAdditional information
akro_program_id

integer

None.

wrrc_id

integer

None.

tip

integer

None.

rbr

integer

None.

akrobacija

integer

None.

kolko_acro

integer

None.

akrobacije

Collection of AcroSpremiAkrobacija

None.

Request Formats

application/json, text/json

Sample:
{
  "akro_program_id": 1,
  "wrrc_id": 1,
  "tip": 1,
  "rbr": 1,
  "akrobacija": 1,
  "kolko_acro": 1,
  "akrobacije": [
    {
      "grupa_id": 1,
      "ulaz": 2,
      "el1": 3,
      "iz1": 4,
      "el2": 5,
      "iz2": 6,
      "el3": 7,
      "iz3": 8,
      "ul_value": 9,
      "el1_value": 10,
      "iz1_value": 11,
      "el2_value": 12,
      "iz2_value": 13,
      "el3_value": 14,
      "iz3_value": 15,
      "total_value": 16,
      "type": "sample string 17"
    },
    {
      "grupa_id": 1,
      "ulaz": 2,
      "el1": 3,
      "iz1": 4,
      "el2": 5,
      "iz2": 6,
      "el3": 7,
      "iz3": 8,
      "ul_value": 9,
      "el1_value": 10,
      "iz1_value": 11,
      "el2_value": 12,
      "iz2_value": 13,
      "el3_value": 14,
      "iz3_value": 15,
      "total_value": 16,
      "type": "sample string 17"
    }
  ]
}

application/xml, text/xml

Sample:
<AcroSpremiRequestDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WrccWebApi.Models.Messaging">
  <akro_program_id>1</akro_program_id>
  <akrobacija>1</akrobacija>
  <akrobacije>
    <AcroSpremiAkrobacija>
      <el1>3</el1>
      <el1_value>10</el1_value>
      <el2>5</el2>
      <el2_value>12</el2_value>
      <el3>7</el3>
      <el3_value>14</el3_value>
      <grupa_id>1</grupa_id>
      <iz1>4</iz1>
      <iz1_value>11</iz1_value>
      <iz2>6</iz2>
      <iz2_value>13</iz2_value>
      <iz3>8</iz3>
      <iz3_value>15</iz3_value>
      <total_value>16</total_value>
      <type>sample string 17</type>
      <ul_value>9</ul_value>
      <ulaz>2</ulaz>
    </AcroSpremiAkrobacija>
    <AcroSpremiAkrobacija>
      <el1>3</el1>
      <el1_value>10</el1_value>
      <el2>5</el2>
      <el2_value>12</el2_value>
      <el3>7</el3>
      <el3_value>14</el3_value>
      <grupa_id>1</grupa_id>
      <iz1>4</iz1>
      <iz1_value>11</iz1_value>
      <iz2>6</iz2>
      <iz2_value>13</iz2_value>
      <iz3>8</iz3>
      <iz3_value>15</iz3_value>
      <total_value>16</total_value>
      <type>sample string 17</type>
      <ul_value>9</ul_value>
      <ulaz>2</ulaz>
    </AcroSpremiAkrobacija>
  </akrobacije>
  <kolko_acro>1</kolko_acro>
  <rbr>1</rbr>
  <tip>1</tip>
  <wrrc_id>1</wrrc_id>
</AcroSpremiRequestDto>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.