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": "582b2daa-0add-4e76-a9c7-380697529861",
"Name": "sample string 2",
"Annotation": "sample string 3",
"ArticlePackageId": "d4dda56a-02cc-4fd7-80fb-74bd0dd7fa31"
}
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>d4dda56a-02cc-4fd7-80fb-74bd0dd7fa31</ArticlePackageId> <Id>582b2daa-0add-4e76-a9c7-380697529861</Id> <Name>sample string 2</Name> </DebitModelResponse>