DELETE api/Accounts/DeleteChequeBook?Id={Id}&userId={userId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

integer

Required

userId

integer

Required

Body Parameters

ChequeBookModel
NameDescriptionTypeAdditional information
BookID

integer

None.

EntryDate

date

None.

AccountNo

string

None.

StartFrom

integer

None.

TotalLeafs

integer

None.

Prefix

string

None.

Remarks

string

None.

AccountTitle

string

None.

ListBody

Collection of ChequeBookBodyModel

None.

Request Formats

application/json, text/json

Sample:
{
  "BookID": 1,
  "EntryDate": "2025-12-11T01:02:46.9323968-08:00",
  "AccountNo": "sample string 3",
  "StartFrom": 4,
  "TotalLeafs": 5,
  "Prefix": "sample string 6",
  "Remarks": "sample string 7",
  "AccountTitle": "sample string 8",
  "ListBody": [
    {
      "SerialNo": 1,
      "BookID": 2,
      "ChequeNo": 3,
      "IsDelete": true,
      "IsCancel": true,
      "CancelDate": "2025-12-11T01:02:46.9323968-08:00",
      "Remarks": "sample string 7",
      "InUse": true
    },
    {
      "SerialNo": 1,
      "BookID": 2,
      "ChequeNo": 3,
      "IsDelete": true,
      "IsCancel": true,
      "CancelDate": "2025-12-11T01:02:46.9323968-08:00",
      "Remarks": "sample string 7",
      "InUse": true
    }
  ]
}

application/xml, text/xml

Sample:
<ChequeBookModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RiceMillsERP_API.Models">
  <AccountNo>sample string 3</AccountNo>
  <AccountTitle>sample string 8</AccountTitle>
  <BookID>1</BookID>
  <EntryDate>2025-12-11T01:02:46.9323968-08:00</EntryDate>
  <ListBody>
    <ChequeBookBodyModel>
      <BookID>2</BookID>
      <CancelDate>2025-12-11T01:02:46.9323968-08:00</CancelDate>
      <ChequeNo>3</ChequeNo>
      <InUse>true</InUse>
      <IsCancel>true</IsCancel>
      <IsDelete>true</IsDelete>
      <Remarks>sample string 7</Remarks>
      <SerialNo>1</SerialNo>
    </ChequeBookBodyModel>
    <ChequeBookBodyModel>
      <BookID>2</BookID>
      <CancelDate>2025-12-11T01:02:46.9323968-08:00</CancelDate>
      <ChequeNo>3</ChequeNo>
      <InUse>true</InUse>
      <IsCancel>true</IsCancel>
      <IsDelete>true</IsDelete>
      <Remarks>sample string 7</Remarks>
      <SerialNo>1</SerialNo>
    </ChequeBookBodyModel>
  </ListBody>
  <Prefix>sample string 6</Prefix>
  <Remarks>sample string 7</Remarks>
  <StartFrom>4</StartFrom>
  <TotalLeafs>5</TotalLeafs>
</ChequeBookModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.