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": "95bc7471-3986-49ab-9d02-c85372f450cb",
"Name": "sample string 2",
"Annotation": "sample string 3",
"ArticlePackageId": "ed78ac2e-f885-41d7-9b3e-3bf477fdb789"
},
{
"Id": "95bc7471-3986-49ab-9d02-c85372f450cb",
"Name": "sample string 2",
"Annotation": "sample string 3",
"ArticlePackageId": "ed78ac2e-f885-41d7-9b3e-3bf477fdb789"
}
]
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>ed78ac2e-f885-41d7-9b3e-3bf477fdb789</ArticlePackageId>
<Id>95bc7471-3986-49ab-9d02-c85372f450cb</Id>
<Name>sample string 2</Name>
</DebitModelResponse>
<DebitModelResponse>
<Annotation>sample string 3</Annotation>
<ArticlePackageId>ed78ac2e-f885-41d7-9b3e-3bf477fdb789</ArticlePackageId>
<Id>95bc7471-3986-49ab-9d02-c85372f450cb</Id>
<Name>sample string 2</Name>
</DebitModelResponse>
</ArrayOfDebitModelResponse>