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": "e6b65caa-2bd1-4354-ac19-848d88d254aa",
"Name": "sample string 2",
"Annotation": "sample string 3",
"ArticlePackageId": "bc8b352f-ba2f-419a-8efb-377368f56fdc"
},
{
"Id": "e6b65caa-2bd1-4354-ac19-848d88d254aa",
"Name": "sample string 2",
"Annotation": "sample string 3",
"ArticlePackageId": "bc8b352f-ba2f-419a-8efb-377368f56fdc"
}
]
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>bc8b352f-ba2f-419a-8efb-377368f56fdc</ArticlePackageId>
<Id>e6b65caa-2bd1-4354-ac19-848d88d254aa</Id>
<Name>sample string 2</Name>
</DebitModelResponse>
<DebitModelResponse>
<Annotation>sample string 3</Annotation>
<ArticlePackageId>bc8b352f-ba2f-419a-8efb-377368f56fdc</ArticlePackageId>
<Id>e6b65caa-2bd1-4354-ac19-848d88d254aa</Id>
<Name>sample string 2</Name>
</DebitModelResponse>
</ArrayOfDebitModelResponse>