GET api/DebitModels

Gets all debit models.

Request Information

URI Parameters

None.

Body Parameters

None.

Remarks

None.

Example

None.

Response Information

Resource Description

List of DebitModelResponse.

Collection of DebitModelResponse
NameDescriptionTypeAdditional information
Id

Debit model Id.

globally unique identifier

Required

Name

Name of the debit model.

string

Required

Max length: 40

Annotation

Debit model annotation.

string

None.

ArticlePackageId

Article package id. The article package be fetched with api/ArticlePackage.

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "a3db0527-ef64-47da-826f-971eb04e95c6",
    "Name": "sample string 2",
    "Annotation": "sample string 3",
    "ArticlePackageId": "1cae5a7d-4c0a-43f5-b974-5b0f7a88c57f"
  },
  {
    "Id": "a3db0527-ef64-47da-826f-971eb04e95c6",
    "Name": "sample string 2",
    "Annotation": "sample string 3",
    "ArticlePackageId": "1cae5a7d-4c0a-43f5-b974-5b0f7a88c57f"
  }
]

application/xml, text/xml

Sample:
<ArrayOfDebitModelResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.DDAPI.DTO.TyreHotel">
  <DebitModelResponse>
    <Annotation>sample string 3</Annotation>
    <ArticlePackageId>1cae5a7d-4c0a-43f5-b974-5b0f7a88c57f</ArticlePackageId>
    <Id>a3db0527-ef64-47da-826f-971eb04e95c6</Id>
    <Name>sample string 2</Name>
  </DebitModelResponse>
  <DebitModelResponse>
    <Annotation>sample string 3</Annotation>
    <ArticlePackageId>1cae5a7d-4c0a-43f5-b974-5b0f7a88c57f</ArticlePackageId>
    <Id>a3db0527-ef64-47da-826f-971eb04e95c6</Id>
    <Name>sample string 2</Name>
  </DebitModelResponse>
</ArrayOfDebitModelResponse>