GET api/AccountingReg/{id}

Fast method to get bill by id.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

ApiAccountingRegOutput
NameDescriptionTypeAdditional information
id

integer

None.

accounting_modif

integer

None.

elements

Collection of RegisterElement

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "accounting_modif": 2,
  "elements": [
    {
      "id": 1,
      "amount": 2.0,
      "id_debet": 1,
      "id_kredit": 1,
      "code": 1
    },
    {
      "id": 1,
      "amount": 2.0,
      "id_debet": 1,
      "id_kredit": 1,
      "code": 1
    }
  ]
}

application/xml, text/xml

Sample:
<ApiAccountingRegOutput xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <id>1</id>
  <accounting_modif>2</accounting_modif>
  <elements>
    <RegisterElement>
      <id>1</id>
      <amount>2</amount>
      <id_debet>1</id_debet>
      <id_kredit>1</id_kredit>
      <code>1</code>
    </RegisterElement>
    <RegisterElement>
      <id>1</id>
      <amount>2</amount>
      <id_debet>1</id_debet>
      <id_kredit>1</id_kredit>
      <code>1</code>
    </RegisterElement>
  </elements>
</ApiAccountingRegOutput>