Request Information

Returns information a cash register.

Example URL:
v2.0/CashRegisters/{id}
NameDescriptionTypeAdditional information
id

Cash register id

integer

Required

id

Cash register id

integer

Required

None.

Response Information

CashRegisterApiModel
NameDescriptionTypeAdditional 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": "2021-05-10T06:12:18.3140511+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>2021-05-10T06:12:18.3140511+00:00</DateInitialState>
  <InitialState>3</InitialState>
  <Name>sample string 4</Name>
</CashRegisterApiModel>