POST api/PayrollPaySetGrp/Save

Request Information

URI Parameters

None.

Body Parameters

PayrollPaySettingsGroupSaveVM
NameDescriptionTypeAdditional information
Group

PayrollGroupLookupVM

Required

CreateUser

integer

Required

CreateIp

string

Required

String length: inclusive between 0 and 20

Details

Collection of PayrollPaySetGrpDtlsSaveVM

None.

Request Formats

application/json, text/json

Sample:
{
  "Group": {
    "GroupId": 1,
    "GroupName": "sample string 2"
  },
  "CreateUser": 1,
  "CreateIp": "sample string 2",
  "Details": [
    {
      "Slno": 1,
      "PayHead": {
        "PayHeadId": 1,
        "PayHeadDesc": "sample string 2",
        "AddOrDed": "sample string 3"
      },
      "PayHeadPercent": 2.0
    },
    {
      "Slno": 1,
      "PayHead": {
        "PayHeadId": 1,
        "PayHeadDesc": "sample string 2",
        "AddOrDed": "sample string 3"
      },
      "PayHeadPercent": 2.0
    }
  ]
}

application/xml, text/xml

Sample:
<PayrollPaySettingsGroupSaveVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <CreateIp>sample string 2</CreateIp>
  <CreateUser>1</CreateUser>
  <Details>
    <PayrollPaySetGrpDtlsSaveVM>
      <PayHead>
        <AddOrDed>sample string 3</AddOrDed>
        <PayHeadDesc>sample string 2</PayHeadDesc>
        <PayHeadId>1</PayHeadId>
      </PayHead>
      <PayHeadPercent>2</PayHeadPercent>
      <Slno>1</Slno>
    </PayrollPaySetGrpDtlsSaveVM>
    <PayrollPaySetGrpDtlsSaveVM>
      <PayHead>
        <AddOrDed>sample string 3</AddOrDed>
        <PayHeadDesc>sample string 2</PayHeadDesc>
        <PayHeadId>1</PayHeadId>
      </PayHead>
      <PayHeadPercent>2</PayHeadPercent>
      <Slno>1</Slno>
    </PayrollPaySetGrpDtlsSaveVM>
  </Details>
  <Group>
    <GroupId>1</GroupId>
    <GroupName>sample string 2</GroupName>
  </Group>
</PayrollPaySettingsGroupSaveVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.