POST api/CheckAndBill/Add

Request Information

URI Parameters

None.

Body Parameters

CheckAndBillAddDto
NameDescriptionTypeAdditional information
AccountType

AccountType

None.

CheckAndBillStatus

CheckAndBillStatus

None.

IsCheck

boolean

None.

BookNumber

string

None.

StartNumber

string

None.

PageNumber

string

None.

Bank

string

None.

Branch

string

None.

AccountNumber

string

None.

PrincipalDebtor

string

None.

ActionDate

date

None.

ExpirationDate

date

None.

CurrencyAmount

decimal number

None.

CurrencyRate

decimal number

None.

Description

string

None.

SerialNumber

string

None.

CompanyID

globally unique identifier

None.

AccountID

globally unique identifier

None.

CurrencyID

globally unique identifier

None.

EndorsedAccountID

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "accountType": 7,
  "checkAndBillStatus": 1,
  "isCheck": true,
  "bookNumber": "sample string 2",
  "startNumber": "sample string 3",
  "pageNumber": "sample string 4",
  "bank": "sample string 5",
  "branch": "sample string 6",
  "accountNumber": "sample string 7",
  "principalDebtor": "sample string 8",
  "actionDate": "2025-05-24T14:36:33.2757197+03:00",
  "expirationDate": "2025-05-24T14:36:33.2757197+03:00",
  "currencyAmount": 9.0,
  "currencyRate": 10.1,
  "description": "sample string 11",
  "serialNumber": "sample string 12",
  "companyID": "9b9327cb-337d-47f9-b258-f21093a1735c",
  "accountID": "7f9e1e13-85d0-4f81-95b5-276589275aff",
  "currencyID": "cefb1aeb-e665-4920-a439-a0c657ebf319",
  "endorsedAccountID": "cc531eb6-72f5-4fe3-bc50-4775e7d5f4c6"
}

application/xml, text/xml

Sample:
<CheckAndBillAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs">
  <AccountID>7f9e1e13-85d0-4f81-95b5-276589275aff</AccountID>
  <AccountNumber>sample string 7</AccountNumber>
  <AccountType>Expense</AccountType>
  <ActionDate>2025-05-24T14:36:33.2757197+03:00</ActionDate>
  <Bank>sample string 5</Bank>
  <BookNumber>sample string 2</BookNumber>
  <Branch>sample string 6</Branch>
  <CheckAndBillStatus>Portfolio</CheckAndBillStatus>
  <CompanyID>9b9327cb-337d-47f9-b258-f21093a1735c</CompanyID>
  <CurrencyAmount>9</CurrencyAmount>
  <CurrencyID>cefb1aeb-e665-4920-a439-a0c657ebf319</CurrencyID>
  <CurrencyRate>10.1</CurrencyRate>
  <Description>sample string 11</Description>
  <EndorsedAccountID>cc531eb6-72f5-4fe3-bc50-4775e7d5f4c6</EndorsedAccountID>
  <ExpirationDate>2025-05-24T14:36:33.2757197+03:00</ExpirationDate>
  <IsCheck>true</IsCheck>
  <PageNumber>sample string 4</PageNumber>
  <PrincipalDebtor>sample string 8</PrincipalDebtor>
  <SerialNumber>sample string 12</SerialNumber>
  <StartNumber>sample string 3</StartNumber>
</CheckAndBillAddDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"accountType":7,"checkAndBillStatus":1,"isCheck":true,"bookNumber":"sample string 2","startNumber":"sample string 3","pageNumber":"sample string 4","bank":"sample string 5","branch":"sample string 6","accountNumber":"sample string 7","principalDebtor":"sample string 8","actionDate":"2025-05-24T14:36:33.2757197+03:00","expirationDate":"2025-05-24T14:36:33.2757197+03:00","currencyAmount":9.0,"currencyRate":10.1,"description":"sample string 11","serialNumber":"sample string 12","companyID":"9b9327cb-337d-47f9-b258-f21093a1735c","accountID":"7f9e1e13-85d0-4f81-95b5-276589275aff","currencyID":"cefb1aeb-e665-4920-a439-a0c657ebf319","endorsedAccountID":"cc531eb6-72f5-4fe3-bc50-4775e7d5f4c6"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.