GET api/invoice/interesttype

Gets all interest types

Request Information

URI Parameters

None.

Body Parameters

None.

Remarks

None.

Example

None.

Response Information

Resource Description

Collection of InterestTypeResponse
NameDescriptionTypeAdditional information
Id

Id of the interest type

integer

None.

Code

Code for interest type

0 = NI
1 = 1

string

None.

Name

Description of the interest type

0 = NextInvoice
1 = SeparateInvoice

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Code": "sample string 2",
    "Name": "sample string 3"
  },
  {
    "Id": 1,
    "Code": "sample string 2",
    "Name": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfInterestTypeResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.DDAPI.DTO.Invocie">
  <InterestTypeResponse>
    <Code>sample string 2</Code>
    <Id>1</Id>
    <Name>sample string 3</Name>
  </InterestTypeResponse>
  <InterestTypeResponse>
    <Code>sample string 2</Code>
    <Id>1</Id>
    <Name>sample string 3</Name>
  </InterestTypeResponse>
</ArrayOfInterestTypeResponse>