GET api/debtor/{customerNumber}
Provides debtor.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
customerNumber |
Debtor customer number. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Debtor model.
PublicAPI.Models.DebtorName | Description | Type | Additional information |
---|---|---|---|
Id |
Unique debtor id. |
integer |
None. |
GroupId |
Group id. |
integer |
None. |
Created |
Creation timestamp. |
date |
None. |
Modified |
Modification timestamp. |
date |
None. |
CustomerNumber |
Debtor customer number. |
integer |
Required Range: inclusive between 1 and 9999999999 |
Name |
Name. |
string |
Required String length: inclusive between 0 and 75 |
Attention |
Mail attention. |
string |
String length: inclusive between 0 and 50 |
Address |
Address. |
string |
Required String length: inclusive between 0 and 50 |
Address2 |
Secondary address. |
string |
String length: inclusive between 0 and 50 |
ZipCode |
Zip code. |
integer |
Required Range: inclusive between 1 and 9999999999 |
City |
City. |
string |
Required String length: inclusive between 0 and 75 |
CreditMax |
Credit maximum. |
integer |
Range: inclusive between 1 and 9999999999 |
Balance |
Balance. |
decimal number |
None. |
DiscountPercentage |
Discount percentage. |
decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "GroupId": 2, "Created": "2025-05-04T05:51:29.4855719+02:00", "Modified": "2025-05-04T05:51:29.4855719+02:00", "CustomerNumber": 5, "Name": "sample string 6", "Attention": "sample string 7", "Address": "sample string 8", "Address2": "sample string 9", "ZipCode": 10, "City": "sample string 11", "CreditMax": 12, "Balance": 13.0, "DiscountPercentage": 14.0 }
application/xml, text/xml
Sample:
<Debtor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PublicAPI.Models"> <Address>sample string 8</Address> <Address2>sample string 9</Address2> <Attention>sample string 7</Attention> <Balance>13</Balance> <City>sample string 11</City> <CreditMax>12</CreditMax> <CustomerNumber>5</CustomerNumber> <DiscountPercentage>14</DiscountPercentage> <Name>sample string 6</Name> <ZipCode>10</ZipCode> <Created>2025-05-04T05:51:29.4855719+02:00</Created> <GroupId>2</GroupId> <Id>1</Id> <Modified>2025-05-04T05:51:29.4855719+02:00</Modified> </Debtor>