Request Information

Detail of the agenda by Id.

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

integer

Required

id

integer

Required

None.

Response Information

AgendaApiModel
NameDescriptionTypeAdditional information
ContactId

integer

None.

CountOfDecimalsForAmount

integer

None.

CountOfDecimalsForPrice

integer

None.

CswCustomerGuid

globally unique identifier

None.

CswCustomerPin

string

None.

DefaultCurrencyId

integer

None.

EetRegime

Eet regime

EetRegime

None.

Id

Resource identifier

integer

Readonly

IsRegisteredForVat

boolean

None.

IsRegisteredForVatOnPay

Attribute for application of VAT based on payments

boolean

Used in Sk legislation.

Name

string

None.

PrefferedPrice

PriceType

None.

PrefferedVatRate

VatRateType

None.

RoundingDifference

Round

None.

Subscription

SubscriptionGetModel

None.

VatRegistrationType

VAT registration type

VatRegistrationType

None.

Sample:
{
  "ContactId": 1,
  "DefaultCurrencyId": 2,
  "EetRegime": 0,
  "IsRegisteredForVat": true,
  "Name": "sample string 4",
  "PrefferedPrice": 0,
  "PrefferedVatRate": 0,
  "RoundingDifference": 0,
  "IsRegisteredForVatOnPay": true,
  "VatRegistrationType": 0,
  "CountOfDecimalsForPrice": 6,
  "CountOfDecimalsForAmount": 7,
  "Subscription": {
    "DateFrom": "2021-05-09T04:21:45.145",
    "DateTo": "2021-05-09T04:21:45.145",
    "IsTrial": true,
    "Type": 0
  },
  "CswCustomerPin": "sample string 8",
  "CswCustomerGuid": "afbc73ab-cc0c-4e37-bafd-15786f495075",
  "Id": 9
}
Sample:
<AgendaApiModel 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">9</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>
  <ContactId>1</ContactId>
  <CountOfDecimalsForAmount>7</CountOfDecimalsForAmount>
  <CountOfDecimalsForPrice>6</CountOfDecimalsForPrice>
  <CswCustomerGuid>afbc73ab-cc0c-4e37-bafd-15786f495075</CswCustomerGuid>
  <CswCustomerPin>sample string 8</CswCustomerPin>
  <DefaultCurrencyId>2</DefaultCurrencyId>
  <EetRegime>None</EetRegime>
  <IsRegisteredForVat>true</IsRegisteredForVat>
  <IsRegisteredForVatOnPay>true</IsRegisteredForVatOnPay>
  <Name>sample string 4</Name>
  <PrefferedPrice>0</PrefferedPrice>
  <PrefferedVatRate>0</PrefferedVatRate>
  <RoundingDifference>0</RoundingDifference>
  <Subscription>
    <DateFrom>2021-05-09T04:21:45.1454665+00:00</DateFrom>
    <DateTo>2021-05-09T04:21:45.1454665+00:00</DateTo>
    <IsTrial>true</IsTrial>
    <Type>Free</Type>
  </Subscription>
  <VatRegistrationType>0</VatRegistrationType>
</AgendaApiModel>