POST api/tally/sync/{type}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
type

string

Required

Body Parameters

TallyVoucherRequestModel
NameDescriptionTypeAdditional information
BranchID

integer

None.

UserID

integer

None.

FromDate

date

None.

ToDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "BranchID": 1,
  "UserID": 2,
  "FromDate": "2026-10-15T11:12:18.2122115-07:00",
  "ToDate": "2026-10-15T11:12:18.2122115-07:00"
}

application/xml, text/xml

Sample:
<TallyVoucherRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrushMateBackendAPI.Controllers">
  <BranchID>1</BranchID>
  <FromDate>2026-10-15T11:12:18.2122115-07:00</FromDate>
  <ToDate>2026-10-15T11:12:18.2122115-07:00</ToDate>
  <UserID>2</UserID>
</TallyVoucherRequestModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TallyVoucherRequestModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.