POST api/tally/log

Request Information

URI Parameters

None.

Body Parameters

TallyLogRequestModel
NameDescriptionTypeAdditional information
BranchID

integer

None.

UserID

integer

None.

ExportType

string

None.

DateFrom

date

None.

DateTo

date

None.

BatchNumber

integer

None.

RowCount

integer

None.

Success

boolean

None.

Created

integer

None.

Altered

integer

None.

Errors

integer

None.

Exceptions

integer

None.

ErrorMessage

string

None.

RequestXML

string

None.

ResponseXML

string

None.

Items

Collection of TallyItemRef

None.

Request Formats

application/json, text/json

Sample:
{
  "BranchID": 1,
  "UserID": 2,
  "ExportType": "sample string 3",
  "DateFrom": "2026-10-15T11:13:01.9592457-07:00",
  "DateTo": "2026-10-15T11:13:01.9592457-07:00",
  "BatchNumber": 4,
  "RowCount": 5,
  "Success": true,
  "Created": 1,
  "Altered": 1,
  "Errors": 1,
  "Exceptions": 1,
  "ErrorMessage": "sample string 7",
  "RequestXML": "sample string 8",
  "ResponseXML": "sample string 9",
  "Items": [
    {
      "Id": 1,
      "Guid": "6aef18cb-dfaf-414a-afe1-afdfe7c57022",
      "IsNew": true
    },
    {
      "Id": 1,
      "Guid": "6aef18cb-dfaf-414a-afe1-afdfe7c57022",
      "IsNew": true
    }
  ]
}

application/xml, text/xml

Sample:
<TallyLogRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrushMateBackendAPI.Controllers">
  <Altered>1</Altered>
  <BatchNumber>4</BatchNumber>
  <BranchID>1</BranchID>
  <Created>1</Created>
  <DateFrom>2026-10-15T11:13:01.9592457-07:00</DateFrom>
  <DateTo>2026-10-15T11:13:01.9592457-07:00</DateTo>
  <ErrorMessage>sample string 7</ErrorMessage>
  <Errors>1</Errors>
  <Exceptions>1</Exceptions>
  <ExportType>sample string 3</ExportType>
  <Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/CrushMateBackendAPI.Models">
    <d2p1:TallyItemRef>
      <d2p1:Guid>6aef18cb-dfaf-414a-afe1-afdfe7c57022</d2p1:Guid>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsNew>true</d2p1:IsNew>
    </d2p1:TallyItemRef>
    <d2p1:TallyItemRef>
      <d2p1:Guid>6aef18cb-dfaf-414a-afe1-afdfe7c57022</d2p1:Guid>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsNew>true</d2p1:IsNew>
    </d2p1:TallyItemRef>
  </Items>
  <RequestXML>sample string 8</RequestXML>
  <ResponseXML>sample string 9</ResponseXML>
  <RowCount>5</RowCount>
  <Success>true</Success>
  <UserID>2</UserID>
</TallyLogRequestModel>

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 'TallyLogRequestModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.