GET api/supplier/{id}
Gets a supplier by id
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
None.
Remarks
None.
Example
None.
Response Information
Resource Description
SupplierResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| CreatedBy | string |
None. |
|
| CreatedDate | date |
None. |
|
| ChangedBy | string |
None. |
|
| ChangedDate | date |
None. |
|
| IsActive | boolean |
None. |
|
| Name | string |
Max length: 50 |
|
| CSID | integer |
None. |
|
| SupplierNumber | integer |
None. |
|
| SupplierCategoryId1 | globally unique identifier |
None. |
|
| SupplierCategoryId2 | globally unique identifier |
None. |
|
| Phone | string |
Max length: 50 |
|
| Mobile | string |
Max length: 50 |
|
| OrganisationNumber | string |
Max length: 30 |
|
| Town | string |
Max length: 50 |
|
| SearchCode | string |
Max length: 10 |
|
| string |
Max length: 50 |
||
| Fax | string |
Max length: 50 |
|
| Address1 | string |
Max length: 100 |
|
| Address2 | string |
Max length: 100 |
|
| Address3 | string |
Max length: 100 |
|
| PostalCode | string |
Max length: 10 |
|
| CountryId | string |
Max length: 2 |
|
| Url | string |
Max length: 100 |
|
| VatRegistrationNumber | string |
Max length: 50 |
Response Formats
application/json, text/json
Sample:
{
"Id": "2f0f0543-7a92-49e8-840f-a378a8532fe8",
"CreatedBy": "sample string 2",
"CreatedDate": "2026-01-21 22:51:55",
"ChangedBy": "sample string 3",
"ChangedDate": "2026-01-21 22:51:55",
"IsActive": true,
"Name": "sample string 5",
"CSID": 1,
"SupplierNumber": 1,
"SupplierCategoryId1": "ca2876b4-b6be-491e-a7ae-8850531ef7da",
"SupplierCategoryId2": "f1e080b8-397e-4abf-83cd-917e4e021da1",
"Phone": "sample string 6",
"Mobile": "sample string 7",
"OrganisationNumber": "sample string 8",
"Town": "sample string 9",
"SearchCode": "sample string 10",
"Email": "sample string 11",
"Fax": "sample string 12",
"Address1": "sample string 13",
"Address2": "sample string 14",
"Address3": "sample string 15",
"PostalCode": "sample string 16",
"CountryId": "sample string 17",
"Url": "sample string 18",
"VatRegistrationNumber": "sample string 19"
}
application/xml, text/xml
Sample:
<SupplierResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.DDAPI.DTO.Supplier"> <Address1>sample string 13</Address1> <Address2>sample string 14</Address2> <Address3>sample string 15</Address3> <CSID>1</CSID> <CountryId>sample string 17</CountryId> <Email>sample string 11</Email> <Fax>sample string 12</Fax> <Mobile>sample string 7</Mobile> <Name>sample string 5</Name> <OrganisationNumber>sample string 8</OrganisationNumber> <Phone>sample string 6</Phone> <PostalCode>sample string 16</PostalCode> <SearchCode>sample string 10</SearchCode> <SupplierCategoryId1>ca2876b4-b6be-491e-a7ae-8850531ef7da</SupplierCategoryId1> <SupplierCategoryId2>f1e080b8-397e-4abf-83cd-917e4e021da1</SupplierCategoryId2> <SupplierNumber>1</SupplierNumber> <Town>sample string 9</Town> <Url>sample string 18</Url> <VatRegistrationNumber>sample string 19</VatRegistrationNumber> <ChangedBy>sample string 3</ChangedBy> <ChangedDate>2026-01-21T22:51:55.6726155+01:00</ChangedDate> <CreatedBy>sample string 2</CreatedBy> <CreatedDate>2026-01-21T22:51:55.6726155+01:00</CreatedDate> <Id>2f0f0543-7a92-49e8-840f-a378a8532fe8</Id> <IsActive>true</IsActive> </SupplierResponse>