PUT api/AccountGenLedger/Cancel

Request Information

URI Parameters

None.

Body Parameters

AccountGenLedgerCancel
NameDescriptionTypeAdditional information
GledgerId

integer

Required

Book

AccountBookLookup

Required

BookType

AccountBookTypeLookup

Required

TranType

AccountTranTypeLookup

Required

FinYear

AccountFinYearLookup

Required

CancelUser

integer

Required

CancelIp

string

Required

String length: inclusive between 0 and 20

CancelRemark

string

Required

String length: inclusive between 0 and 500

Request Formats

application/json, text/json

Sample:
{
  "GledgerId": 1,
  "Book": {
    "BookId": 1,
    "BookName": "sample string 2"
  },
  "BookType": {
    "BookTypeId": 1,
    "BookTypeName": "sample string 2"
  },
  "TranType": {
    "TranTypeId": 1,
    "TranTypeName": "sample string 2"
  },
  "FinYear": {
    "FinYearId": 1,
    "FinYearName": "sample string 2"
  },
  "CancelUser": 2,
  "CancelIp": "sample string 3",
  "CancelRemark": "sample string 4"
}

application/xml, text/xml

Sample:
<AccountGenLedgerCancel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <Book>
    <BookId>1</BookId>
    <BookName>sample string 2</BookName>
  </Book>
  <BookType>
    <BookTypeId>1</BookTypeId>
    <BookTypeName>sample string 2</BookTypeName>
  </BookType>
  <CancelIp>sample string 3</CancelIp>
  <CancelRemark>sample string 4</CancelRemark>
  <CancelUser>2</CancelUser>
  <FinYear>
    <FinYearId>1</FinYearId>
    <FinYearName>sample string 2</FinYearName>
  </FinYear>
  <GledgerId>1</GledgerId>
  <TranType>
    <TranTypeId>1</TranTypeId>
    <TranTypeName>sample string 2</TranTypeName>
  </TranType>
</AccountGenLedgerCancel>

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.