GET api/DebitModels/{id}
Gets a debit model by id.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Debit model id. |
globally unique identifier |
Required |
Body Parameters
None.
Remarks
None.
Example
None.
Response Information
Resource Description
DebitModelResponse
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": "2cc07c83-3e63-415d-84fa-0cf2d7141089",
"Name": "sample string 2",
"Annotation": "sample string 3",
"ArticlePackageId": "8ee69fcf-4cb6-482a-b69f-be9a0f3c8ff6"
}
application/xml, text/xml
Sample:
<DebitModelResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.DDAPI.DTO.TyreHotel"> <Annotation>sample string 3</Annotation> <ArticlePackageId>8ee69fcf-4cb6-482a-b69f-be9a0f3c8ff6</ArticlePackageId> <Id>2cc07c83-3e63-415d-84fa-0cf2d7141089</Id> <Name>sample string 2</Name> </DebitModelResponse>