POST api/RouteData/SaveReceipts

Request Information

URI Parameters

None.

Body Parameters

DocumentReceiptAndKlen
NameDescriptionTypeAdditional information
DocumentReceipts

Collection of DocumentReceiptContract

None.

KlenResponses

Collection of KlenResponseContract

None.

Request Formats

application/json, text/json

Sample:
{
  "DocumentReceipts": [
    {
      "ReceiptID": 1,
      "ReceiptCashOfficeId": 2,
      "DocNo": 3,
      "DocDate": "2025-12-06T03:45:17.8980513+02:00",
      "DriverID": 1,
      "BranchNo": 1,
      "ReferenceKlenID": 1,
      "KlenId": 1,
      "DocumentType": 1,
      "CreatedOn": "2025-12-06T03:45:17.8980513+02:00"
    },
    {
      "ReceiptID": 1,
      "ReceiptCashOfficeId": 2,
      "DocNo": 3,
      "DocDate": "2025-12-06T03:45:17.8980513+02:00",
      "DriverID": 1,
      "BranchNo": 1,
      "ReferenceKlenID": 1,
      "KlenId": 1,
      "DocumentType": 1,
      "CreatedOn": "2025-12-06T03:45:17.8980513+02:00"
    }
  ],
  "KlenResponses": [
    {
      "Status": "sample string 1",
      "Message": "sample string 2",
      "HashCode": "sample string 3",
      "ZReportId": 1,
      "KlenId": 1,
      "RegistrationDate": "2025-12-06T03:45:17.8980513+02:00"
    },
    {
      "Status": "sample string 1",
      "Message": "sample string 2",
      "HashCode": "sample string 3",
      "ZReportId": 1,
      "KlenId": 1,
      "RegistrationDate": "2025-12-06T03:45:17.8980513+02:00"
    }
  ]
}

application/xml, text/xml

Sample:
<DocumentReceiptAndKlen xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PhoenixServiceRest.Models">
  <DocumentReceipts>
    <DocumentReceiptContract>
      <BranchNo>1</BranchNo>
      <CreatedOn>2025-12-06T03:45:17.8980513+02:00</CreatedOn>
      <DocDate>2025-12-06T03:45:17.8980513+02:00</DocDate>
      <DocNo>3</DocNo>
      <DocumentType>1</DocumentType>
      <DriverID>1</DriverID>
      <KlenId>1</KlenId>
      <ReceiptCashOfficeId>2</ReceiptCashOfficeId>
      <ReceiptID>1</ReceiptID>
      <ReferenceKlenID>1</ReferenceKlenID>
    </DocumentReceiptContract>
    <DocumentReceiptContract>
      <BranchNo>1</BranchNo>
      <CreatedOn>2025-12-06T03:45:17.8980513+02:00</CreatedOn>
      <DocDate>2025-12-06T03:45:17.8980513+02:00</DocDate>
      <DocNo>3</DocNo>
      <DocumentType>1</DocumentType>
      <DriverID>1</DriverID>
      <KlenId>1</KlenId>
      <ReceiptCashOfficeId>2</ReceiptCashOfficeId>
      <ReceiptID>1</ReceiptID>
      <ReferenceKlenID>1</ReferenceKlenID>
    </DocumentReceiptContract>
  </DocumentReceipts>
  <KlenResponses>
    <KlenResponseContract>
      <HashCode>sample string 3</HashCode>
      <KlenId>1</KlenId>
      <Message>sample string 2</Message>
      <RegistrationDate>2025-12-06T03:45:17.8980513+02:00</RegistrationDate>
      <Status>sample string 1</Status>
      <ZReportId>1</ZReportId>
    </KlenResponseContract>
    <KlenResponseContract>
      <HashCode>sample string 3</HashCode>
      <KlenId>1</KlenId>
      <Message>sample string 2</Message>
      <RegistrationDate>2025-12-06T03:45:17.8980513+02:00</RegistrationDate>
      <Status>sample string 1</Status>
      <ZReportId>1</ZReportId>
    </KlenResponseContract>
  </KlenResponses>
</DocumentReceiptAndKlen>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>