POST api/PayScaleDetails/CreatePayScale

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
PayScaleModel
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "scale_code": "sample string 1",
  "scale_id": 2,
  "scale_name": "sample string 3",
  "slab_id": 4,
  "min_value": 5,
  "incr_value": 6,
  "max_value": 7,
  "w_e_f": "2024-12-27T06:20:04.2679753+05:30",
  "Pay_Scale_Slab": "sample string 9",
  "TempModel": [
    {
      "slab_id": 1,
      "scale_id": 2,
      "min_value": 3,
      "incr_value": 4,
      "max_value": 5,
      "w_e_f": "2024-12-27T06:20:04.2679753+05:30"
    },
    {
      "slab_id": 1,
      "scale_id": 2,
      "min_value": 3,
      "incr_value": 4,
      "max_value": 5,
      "w_e_f": "2024-12-27T06:20:04.2679753+05:30"
    },
    {
      "slab_id": 1,
      "scale_id": 2,
      "min_value": 3,
      "incr_value": 4,
      "max_value": 5,
      "w_e_f": "2024-12-27T06:20:04.2679753+05:30"
    }
  ],
  "SlabModel": [
    {
      "slab_id1": 1
    },
    {
      "slab_id1": 1
    },
    {
      "slab_id1": 1
    }
  ],
  "desg_id": 10
}

application/xml, text/xml

Sample:
<PayScaleModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KHBWebApi.Models">
  <Pay_Scale_Slab>sample string 9</Pay_Scale_Slab>
  <SlabModel>
    <SlabModel>
      <slab_id1>1</slab_id1>
    </SlabModel>
    <SlabModel>
      <slab_id1>1</slab_id1>
    </SlabModel>
    <SlabModel>
      <slab_id1>1</slab_id1>
    </SlabModel>
  </SlabModel>
  <TempModel>
    <TempModel>
      <incr_value>4</incr_value>
      <max_value>5</max_value>
      <min_value>3</min_value>
      <scale_id>2</scale_id>
      <slab_id>1</slab_id>
      <w_e_f>2024-12-27T06:20:04.2679753+05:30</w_e_f>
    </TempModel>
    <TempModel>
      <incr_value>4</incr_value>
      <max_value>5</max_value>
      <min_value>3</min_value>
      <scale_id>2</scale_id>
      <slab_id>1</slab_id>
      <w_e_f>2024-12-27T06:20:04.2679753+05:30</w_e_f>
    </TempModel>
    <TempModel>
      <incr_value>4</incr_value>
      <max_value>5</max_value>
      <min_value>3</min_value>
      <scale_id>2</scale_id>
      <slab_id>1</slab_id>
      <w_e_f>2024-12-27T06:20:04.2679753+05:30</w_e_f>
    </TempModel>
  </TempModel>
  <desg_id>10</desg_id>
  <incr_value>6</incr_value>
  <max_value>7</max_value>
  <min_value>5</min_value>
  <scale_code>sample string 1</scale_code>
  <scale_id>2</scale_id>
  <scale_name>sample string 3</scale_name>
  <slab_id>4</slab_id>
  <w_e_f>2024-12-27T06:20:04.2679753+05:30</w_e_f>
</PayScaleModel>

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

Response Information

No documentation available.

Response body formats

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

Sample:

Sample not available.