POST api/Promotion/CreatePromotion

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
PromotionModel
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "DESIGNATION_ID": 1,
  "EMP_DIVISION_ID": 2,
  "DIVISION_ID": 3,
  "PROMOTION_EMP_ID": 4,
  "PRSNT_DESIGNATION_ID": 5,
  "PRSNT_PAY_SCALE_ID": 6,
  "PRSNT_BASIC_PAY": 7,
  "Promotion_No": "sample string 8",
  "CREATED_DATE": "2024-12-27T06:58:56.9613401+05:30",
  "DOC_STATUS": "sample string 10",
  "desg_id": 11,
  "LAST_PROMOTION_DATE": "2024-12-27T06:58:56.9613401+05:30",
  "PROMOTION_DESIGNATION_ID": 13,
  "PROMOTION_PAY_SCALE_ID": 14,
  "PROMOTION_BASIC_PAY": 15,
  "PROMOTION_WEF": "2024-12-27T06:58:56.9613401+05:30",
  "PROMOTION_DUE_DATE": "2024-12-27T06:58:56.9613401+05:30",
  "INCREMENT_DUE_DATE": "2024-12-27T06:58:56.9613401+05:30",
  "REMARKS": "sample string 16",
  "FINALIZED_IND": 17,
  "PROMOTION_TYPE": "sample string 18",
  "PROMOTION_LIST_ID": 19,
  "EMP_EMPLOYEE_ID": 20,
  "EMP_EMPLOYEE_CODE": "sample string 21",
  "EMP_FIRST_NAME": "sample string 22",
  "Department_Name": "sample string 23",
  "PromotionOrderNo": "sample string 24",
  "DOC_DATE": "2024-12-27T06:58:56.9613401+05:30",
  "STATUS": "sample string 26",
  "District": "sample string 27",
  "PostScale": "sample string 28",
  "PreScale": "sample string 29",
  "DOC_UPLOAD_PATH": "sample string 30",
  "UploadDesc": "sample string 31"
}

application/xml, text/xml

Sample:
<PromotionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KHBWebApi.Models">
  <CREATED_DATE>2024-12-27T06:58:56.9613401+05:30</CREATED_DATE>
  <DESIGNATION_ID>1</DESIGNATION_ID>
  <DIVISION_ID>3</DIVISION_ID>
  <DOC_DATE>2024-12-27T06:58:56.9613401+05:30</DOC_DATE>
  <DOC_STATUS>sample string 10</DOC_STATUS>
  <DOC_UPLOAD_PATH>sample string 30</DOC_UPLOAD_PATH>
  <Department_Name>sample string 23</Department_Name>
  <District>sample string 27</District>
  <EMP_DIVISION_ID>2</EMP_DIVISION_ID>
  <EMP_EMPLOYEE_CODE>sample string 21</EMP_EMPLOYEE_CODE>
  <EMP_EMPLOYEE_ID>20</EMP_EMPLOYEE_ID>
  <EMP_FIRST_NAME>sample string 22</EMP_FIRST_NAME>
  <FINALIZED_IND>17</FINALIZED_IND>
  <INCREMENT_DUE_DATE>2024-12-27T06:58:56.9613401+05:30</INCREMENT_DUE_DATE>
  <LAST_PROMOTION_DATE>2024-12-27T06:58:56.9613401+05:30</LAST_PROMOTION_DATE>
  <PROMOTION_BASIC_PAY>15</PROMOTION_BASIC_PAY>
  <PROMOTION_DESIGNATION_ID>13</PROMOTION_DESIGNATION_ID>
  <PROMOTION_DUE_DATE>2024-12-27T06:58:56.9613401+05:30</PROMOTION_DUE_DATE>
  <PROMOTION_EMP_ID>4</PROMOTION_EMP_ID>
  <PROMOTION_LIST_ID>19</PROMOTION_LIST_ID>
  <PROMOTION_PAY_SCALE_ID>14</PROMOTION_PAY_SCALE_ID>
  <PROMOTION_TYPE>sample string 18</PROMOTION_TYPE>
  <PROMOTION_WEF>2024-12-27T06:58:56.9613401+05:30</PROMOTION_WEF>
  <PRSNT_BASIC_PAY>7</PRSNT_BASIC_PAY>
  <PRSNT_DESIGNATION_ID>5</PRSNT_DESIGNATION_ID>
  <PRSNT_PAY_SCALE_ID>6</PRSNT_PAY_SCALE_ID>
  <PostScale>sample string 28</PostScale>
  <PreScale>sample string 29</PreScale>
  <PromotionOrderNo>sample string 24</PromotionOrderNo>
  <Promotion_No>sample string 8</Promotion_No>
  <REMARKS>sample string 16</REMARKS>
  <STATUS>sample string 26</STATUS>
  <UploadDesc>sample string 31</UploadDesc>
  <desg_id>11</desg_id>
</PromotionModel>

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

Response Information

No documentation available.

Response body formats

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

Sample:

Sample not available.