POST api/PayrollAccountsMap/Delete

Request Information

URI Parameters

None.

Body Parameters

PayrollAccountsMapSaveVM
NameDescriptionTypeAdditional information
FinYear

AccountFinYearLookup

Required

PayGroup

PayrollGroupLookupVM

Required

PayHead

PayrollPayHeadLookupVM

Required

BookId

integer

Required

Account

AccountMasterLookup

None.

CreateUser

integer

Required

CreateIp

string

Required

String length: inclusive between 0 and 20

IsEmpAccount

string

String length: inclusive between 0 and 1

Request Formats

application/json, text/json

Sample:
{
  "FinYear": {
    "FinYearId": 1,
    "FinYearName": "sample string 2"
  },
  "PayGroup": {
    "GroupId": 1,
    "GroupName": "sample string 2"
  },
  "PayHead": {
    "PayHeadId": 1,
    "PayHeadDesc": "sample string 2",
    "AddOrDed": "sample string 3"
  },
  "BookId": 1,
  "Account": {
    "AccountId": 1,
    "AccountName": "sample string 2"
  },
  "CreateUser": 2,
  "CreateIp": "sample string 3",
  "IsEmpAccount": "sample string 4"
}

application/xml, text/xml

Sample:
<PayrollAccountsMapSaveVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <Account>
    <AccountId>1</AccountId>
    <AccountName>sample string 2</AccountName>
  </Account>
  <BookId>1</BookId>
  <CreateIp>sample string 3</CreateIp>
  <CreateUser>2</CreateUser>
  <FinYear>
    <FinYearId>1</FinYearId>
    <FinYearName>sample string 2</FinYearName>
  </FinYear>
  <IsEmpAccount>sample string 4</IsEmpAccount>
  <PayGroup>
    <GroupId>1</GroupId>
    <GroupName>sample string 2</GroupName>
  </PayGroup>
  <PayHead>
    <AddOrDed>sample string 3</AddOrDed>
    <PayHeadDesc>sample string 2</PayHeadDesc>
    <PayHeadId>1</PayHeadId>
  </PayHead>
</PayrollAccountsMapSaveVM>

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.