POST api/CalenderDetails/CreateCalender

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
CalendarModel
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "StartMonthModel": [
    {
      "fix_code_id": 1,
      "code_value": "sample string 2",
      "NumberCoo": 3
    },
    {
      "fix_code_id": 1,
      "code_value": "sample string 2",
      "NumberCoo": 3
    },
    {
      "fix_code_id": 1,
      "code_value": "sample string 2",
      "NumberCoo": 3
    }
  ],
  "fix_code_id": 1,
  "code_value": 2,
  "fix_code_id1": 3,
  "code_value1": 4,
  "fix_code_id2": 5,
  "code_value2": "sample string 6",
  "fix_code_id3": 7,
  "code_value3": "sample string 8",
  "year": 9,
  "calendar_id": 10,
  "calendar_code": "sample string 11",
  "start_month": 12,
  "end_month": 13,
  "week_off_1": "sample string 14",
  "week_off_2": "sample string 15",
  "week_off_3": "sample string 16",
  "half_day": "sample string 17",
  "fin_ind": "sample string 18",
  "calendar_year": 19,
  "fix_code_id4": 20,
  "code_value4": "sample string 21",
  "fix_code_id5": 22,
  "code_value5": "sample string 23",
  "EndMonthModel": [
    {
      "fix_code_id1": 1,
      "code_value1": "sample string 2",
      "NumberCoo": 3
    },
    {
      "fix_code_id1": 1,
      "code_value1": "sample string 2",
      "NumberCoo": 3
    },
    {
      "fix_code_id1": 1,
      "code_value1": "sample string 2",
      "NumberCoo": 3
    }
  ],
  "WeekOffTwoModel": [
    {
      "fix_code_id3": 1,
      "code_value3": "sample string 2",
      "NumberCoo": 3
    },
    {
      "fix_code_id3": 1,
      "code_value3": "sample string 2",
      "NumberCoo": 3
    },
    {
      "fix_code_id3": 1,
      "code_value3": "sample string 2",
      "NumberCoo": 3
    }
  ],
  "WeekOfOneModel": [
    {
      "fix_code_id2": 1,
      "code_value2": "sample string 2",
      "NumberCoo": 3
    },
    {
      "fix_code_id2": 1,
      "code_value2": "sample string 2",
      "NumberCoo": 3
    },
    {
      "fix_code_id2": 1,
      "code_value2": "sample string 2",
      "NumberCoo": 3
    }
  ],
  "WeekOffThiredModel": [
    {
      "fix_code_id4": 1,
      "code_value4": "sample string 2",
      "NumberCoo": 3
    },
    {
      "fix_code_id4": 1,
      "code_value4": "sample string 2",
      "NumberCoo": 3
    },
    {
      "fix_code_id4": 1,
      "code_value4": "sample string 2",
      "NumberCoo": 3
    }
  ],
  "HalfDayModel": [
    {
      "fix_code_id5": 1,
      "code_value5": "sample string 2"
    },
    {
      "fix_code_id5": 1,
      "code_value5": "sample string 2"
    },
    {
      "fix_code_id5": 1,
      "code_value5": "sample string 2"
    }
  ],
  "startmonth": "sample string 24",
  "endmonth": "sample string 25",
  "AddToholiday": true,
  "TotalItems": 27
}

application/xml, text/xml

Sample:
<CalendarModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KHBWebApi.Models">
  <AddToholiday>true</AddToholiday>
  <EndMonthModel>
    <EndMonth>
      <NumberCoo>3</NumberCoo>
      <code_value1>sample string 2</code_value1>
      <fix_code_id1>1</fix_code_id1>
    </EndMonth>
    <EndMonth>
      <NumberCoo>3</NumberCoo>
      <code_value1>sample string 2</code_value1>
      <fix_code_id1>1</fix_code_id1>
    </EndMonth>
    <EndMonth>
      <NumberCoo>3</NumberCoo>
      <code_value1>sample string 2</code_value1>
      <fix_code_id1>1</fix_code_id1>
    </EndMonth>
  </EndMonthModel>
  <HalfDayModel>
    <HalfDayModel>
      <code_value5>sample string 2</code_value5>
      <fix_code_id5>1</fix_code_id5>
    </HalfDayModel>
    <HalfDayModel>
      <code_value5>sample string 2</code_value5>
      <fix_code_id5>1</fix_code_id5>
    </HalfDayModel>
    <HalfDayModel>
      <code_value5>sample string 2</code_value5>
      <fix_code_id5>1</fix_code_id5>
    </HalfDayModel>
  </HalfDayModel>
  <StartMonthModel>
    <StartMonthModel>
      <NumberCoo>3</NumberCoo>
      <code_value>sample string 2</code_value>
      <fix_code_id>1</fix_code_id>
    </StartMonthModel>
    <StartMonthModel>
      <NumberCoo>3</NumberCoo>
      <code_value>sample string 2</code_value>
      <fix_code_id>1</fix_code_id>
    </StartMonthModel>
    <StartMonthModel>
      <NumberCoo>3</NumberCoo>
      <code_value>sample string 2</code_value>
      <fix_code_id>1</fix_code_id>
    </StartMonthModel>
  </StartMonthModel>
  <TotalItems>27</TotalItems>
  <WeekOfOneModel>
    <WeekOfOneModel>
      <NumberCoo>3</NumberCoo>
      <code_value2>sample string 2</code_value2>
      <fix_code_id2>1</fix_code_id2>
    </WeekOfOneModel>
    <WeekOfOneModel>
      <NumberCoo>3</NumberCoo>
      <code_value2>sample string 2</code_value2>
      <fix_code_id2>1</fix_code_id2>
    </WeekOfOneModel>
    <WeekOfOneModel>
      <NumberCoo>3</NumberCoo>
      <code_value2>sample string 2</code_value2>
      <fix_code_id2>1</fix_code_id2>
    </WeekOfOneModel>
  </WeekOfOneModel>
  <WeekOffThiredModel>
    <WeekOffThiredModel>
      <NumberCoo>3</NumberCoo>
      <code_value4>sample string 2</code_value4>
      <fix_code_id4>1</fix_code_id4>
    </WeekOffThiredModel>
    <WeekOffThiredModel>
      <NumberCoo>3</NumberCoo>
      <code_value4>sample string 2</code_value4>
      <fix_code_id4>1</fix_code_id4>
    </WeekOffThiredModel>
    <WeekOffThiredModel>
      <NumberCoo>3</NumberCoo>
      <code_value4>sample string 2</code_value4>
      <fix_code_id4>1</fix_code_id4>
    </WeekOffThiredModel>
  </WeekOffThiredModel>
  <WeekOffTwoModel>
    <WeekOffTwoModel>
      <NumberCoo>3</NumberCoo>
      <code_value3>sample string 2</code_value3>
      <fix_code_id3>1</fix_code_id3>
    </WeekOffTwoModel>
    <WeekOffTwoModel>
      <NumberCoo>3</NumberCoo>
      <code_value3>sample string 2</code_value3>
      <fix_code_id3>1</fix_code_id3>
    </WeekOffTwoModel>
    <WeekOffTwoModel>
      <NumberCoo>3</NumberCoo>
      <code_value3>sample string 2</code_value3>
      <fix_code_id3>1</fix_code_id3>
    </WeekOffTwoModel>
  </WeekOffTwoModel>
  <calendar_code>sample string 11</calendar_code>
  <calendar_id>10</calendar_id>
  <calendar_year>19</calendar_year>
  <code_value>2</code_value>
  <code_value1>4</code_value1>
  <code_value2>sample string 6</code_value2>
  <code_value3>sample string 8</code_value3>
  <code_value4>sample string 21</code_value4>
  <code_value5>sample string 23</code_value5>
  <end_month>13</end_month>
  <endmonth>sample string 25</endmonth>
  <fin_ind>sample string 18</fin_ind>
  <fix_code_id>1</fix_code_id>
  <fix_code_id1>3</fix_code_id1>
  <fix_code_id2>5</fix_code_id2>
  <fix_code_id3>7</fix_code_id3>
  <fix_code_id4>20</fix_code_id4>
  <fix_code_id5>22</fix_code_id5>
  <half_day>sample string 17</half_day>
  <start_month>12</start_month>
  <startmonth>sample string 24</startmonth>
  <week_off_1>sample string 14</week_off_1>
  <week_off_2>sample string 15</week_off_2>
  <week_off_3>sample string 16</week_off_3>
  <year>9</year>
</CalendarModel>

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

Response Information

No documentation available.

Response body formats

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

Sample:

Sample not available.