Request Information
Returns information a cash register.
Example URL:
v2.0/CashRegisters/{id}
Name | Description | Type | Additional information |
---|---|---|---|
id |
Cash register id |
integer |
Required |
id |
Cash register id |
integer |
Required |
None.
Response Information
CashRegisterApiModel
Name | Description | Type | Additional information |
---|---|---|---|
CurrencyId |
Currency Id |
integer |
None. |
DateInitialState |
The date when the intial state was set. |
date |
None. |
Id |
Resource identifier |
integer |
Readonly |
InitialState |
Initial amout of money in the cash register. |
decimal number |
None. |
Name |
Cash register name. |
string |
None. |
Sample:
{ "CurrencyId": 1, "DateInitialState": "2025-01-25T17:27:12.6592145+00:00", "InitialState": 3.0, "Name": "sample string 4", "Id": 5 }
Sample:
<CashRegisterApiModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels"> <Id xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.BaseModels">5</Id> <Links xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.BaseModels"> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:KeyValueOfstringstring> </Links> <CurrencyId>1</CurrencyId> <DateInitialState>2025-01-25T17:27:12.6592145+00:00</DateInitialState> <InitialState>3</InitialState> <Name>sample string 4</Name> </CashRegisterApiModel>