POST api/Tenant/SubmitCheque

Request Information

URI Parameters

None.

Body Parameters

SubmitCheque
NameDescriptionTypeAdditional information
tenantCode

string

None.

NumberOfCheques

integer

None.

ChequeDetails

Collection of Chequedetail

None.

Request Formats

application/json, text/json

Sample:
{
  "tenantCode": "sample string 1",
  "NumberOfCheques": 2,
  "ChequeDetails": [
    {
      "Amount": 1.0,
      "ChequeNo": "sample string 2",
      "DueDate": "2021-08-02T01:10:56.4589166+04:00",
      "BankName": "sample string 4",
      "Branch": "sample string 5",
      "NameonCheque": "sample string 6",
      "ChargeDescription": "sample string 7",
      "Cheque": "sample string 8",
      "chequeDate": "sample string 9",
      "ChequeAmount": "sample string 10",
      "Notes": "sample string 11"
    },
    {
      "Amount": 1.0,
      "ChequeNo": "sample string 2",
      "DueDate": "2021-08-02T01:10:56.4589166+04:00",
      "BankName": "sample string 4",
      "Branch": "sample string 5",
      "NameonCheque": "sample string 6",
      "ChargeDescription": "sample string 7",
      "Cheque": "sample string 8",
      "chequeDate": "sample string 9",
      "ChequeAmount": "sample string 10",
      "Notes": "sample string 11"
    }
  ]
}

application/xml, text/xml

Sample:
<SubmitCheque xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_TP_BOT.Entities.Models">
  <ChequeDetails>
    <Chequedetail>
      <Amount>1</Amount>
      <BankName>sample string 4</BankName>
      <Branch>sample string 5</Branch>
      <ChargeDescription>sample string 7</ChargeDescription>
      <Cheque>sample string 8</Cheque>
      <ChequeAmount>sample string 10</ChequeAmount>
      <ChequeNo>sample string 2</ChequeNo>
      <DueDate>2021-08-02T01:10:56.4589166+04:00</DueDate>
      <NameonCheque>sample string 6</NameonCheque>
      <Notes>sample string 11</Notes>
      <chequeDate>sample string 9</chequeDate>
    </Chequedetail>
    <Chequedetail>
      <Amount>1</Amount>
      <BankName>sample string 4</BankName>
      <Branch>sample string 5</Branch>
      <ChargeDescription>sample string 7</ChargeDescription>
      <Cheque>sample string 8</Cheque>
      <ChequeAmount>sample string 10</ChequeAmount>
      <ChequeNo>sample string 2</ChequeNo>
      <DueDate>2021-08-02T01:10:56.4589166+04:00</DueDate>
      <NameonCheque>sample string 6</NameonCheque>
      <Notes>sample string 11</Notes>
      <chequeDate>sample string 9</chequeDate>
    </Chequedetail>
  </ChequeDetails>
  <NumberOfCheques>2</NumberOfCheques>
  <tenantCode>sample string 1</tenantCode>
</SubmitCheque>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
failed_List

Collection of Failed_List

None.

ResponseCode

string

None.

AdditionalData

string

None.

Response Formats

application/json, text/json

Sample:
{
  "failed_List": [
    {
      "reference_no": "sample string 1",
      "reason": "sample string 2"
    },
    {
      "reference_no": "sample string 1",
      "reason": "sample string 2"
    }
  ],
  "ResponseCode": "sample string 1",
  "AdditionalData": "sample string 2"
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_TP_BOT.Entities.Models">
  <AdditionalData>sample string 2</AdditionalData>
  <ResponseCode>sample string 1</ResponseCode>
  <failed_List>
    <Failed_List>
      <reason>sample string 2</reason>
      <reference_no>sample string 1</reference_no>
    </Failed_List>
    <Failed_List>
      <reason>sample string 2</reason>
      <reference_no>sample string 1</reference_no>
    </Failed_List>
  </failed_List>
</Response>