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| Name | Description | Type | Additional 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": "5053e281-f64b-4599-94bb-8ecb18556fd2",
"Name": "sample string 2",
"Annotation": "sample string 3",
"ArticlePackageId": "2392a611-aa7f-4eb5-99d0-1407e5d0f6d4"
},
{
"Id": "5053e281-f64b-4599-94bb-8ecb18556fd2",
"Name": "sample string 2",
"Annotation": "sample string 3",
"ArticlePackageId": "2392a611-aa7f-4eb5-99d0-1407e5d0f6d4"
}
]
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>2392a611-aa7f-4eb5-99d0-1407e5d0f6d4</ArticlePackageId>
<Id>5053e281-f64b-4599-94bb-8ecb18556fd2</Id>
<Name>sample string 2</Name>
</DebitModelResponse>
<DebitModelResponse>
<Annotation>sample string 3</Annotation>
<ArticlePackageId>2392a611-aa7f-4eb5-99d0-1407e5d0f6d4</ArticlePackageId>
<Id>5053e281-f64b-4599-94bb-8ecb18556fd2</Id>
<Name>sample string 2</Name>
</DebitModelResponse>
</ArrayOfDebitModelResponse>