Request Information
Returns the numeric sequence with the provided Id.
Example URL:
v2.0/NumericSequences?id={id}
None.
None.
Response Information
                    
NumericSequenceApiModel
    
        
            
                
                    | Name | Description | Type | Additional information | 
|---|---|---|---|
| DocumentType | 
                             Document type  | 
                        DocumentType | 
                                 None.  | 
                    
| Id | 
                             Resource identifier  | 
                        integer | 
                                     Readonly  | 
                    
| IsDefault | 
                             Flag indicating whether the numeric sequence is set as default. New documents without a sequence id specified will have the default sequence set.  | 
                        boolean | 
                                 None.  | 
                    
| LastInvoiceNumber | 
                             Number of last invoice. The next invoice will be saved with the number (LastInvoiceNumber + 1)  | 
                        integer | 
                                 None.  | 
                    
| Name | 
                             Name of the numeric sequence.  | 
                        string | 
                                 None.  | 
                    
| NumberFormat | 
                             Invoice number format (R = year, M = month, N = number)  | 
                        string | 
                                 None.  | 
                    
| Year | 
                             Year of the sequence's validity.  | 
                        integer | 
                                 None.  | 
                    
                        Sample:
                
{
  "DocumentType": 0,
  "IsDefault": true,
  "LastInvoiceNumber": 2,
  "Name": "sample string 3",
  "NumberFormat": "sample string 4",
  "Year": 5,
  "Id": 6
}
                    
                        Sample:
                
<NumericSequenceApiModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.NumericSequence">
  <Id xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.BaseModels">6</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>
  <DocumentType>IssuedInvoice</DocumentType>
  <IsDefault>true</IsDefault>
  <LastInvoiceNumber>2</LastInvoiceNumber>
  <Name>sample string 3</Name>
  <NumberFormat>sample string 4</NumberFormat>
  <Year>5</Year>
</NumericSequenceApiModel>