GET api/Supplier/Get?supplierId={supplierId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
supplierId

integer

Required

Body Parameters

None.

Response Information

Resource Description

SupplierDto
NameDescriptionTypeAdditional information
Id

integer

None.

Code

string

None.

Name

string

None.

Phone

string

None.

TinhThanhCode

string

None.

QuanHuyenCode

string

None.

PhuongXaCode

string

None.

FullAddress

string

None.

Address

string

None.

BranchId

integer

None.

Email

string

None.

Company

string

None.

MaSoThue

string

None.

Note

string

None.

CreatedId

globally unique identifier

None.

CreatedTime

date

None.

IsActive

boolean

None.

Debt

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Code": "sample string 2",
  "Name": "sample string 3",
  "Phone": "sample string 4",
  "TinhThanhCode": "sample string 5",
  "QuanHuyenCode": "sample string 6",
  "PhuongXaCode": "sample string 7",
  "FullAddress": "sample string 8",
  "Address": "sample string 9",
  "BranchId": 10,
  "Email": "sample string 11",
  "Company": "sample string 12",
  "MaSoThue": "sample string 13",
  "Note": "sample string 14",
  "CreatedId": "a2932d90-334f-48d6-a984-aab18b6b4078",
  "CreatedTime": "2025-10-26T13:15:16.7936817+07:00",
  "IsActive": true,
  "Debt": 18.0
}

application/xml, text/xml

Sample:
<SupplierDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Model.Dto.Supplier">
  <Address>sample string 9</Address>
  <BranchId>10</BranchId>
  <Code>sample string 2</Code>
  <Company>sample string 12</Company>
  <CreatedId>a2932d90-334f-48d6-a984-aab18b6b4078</CreatedId>
  <CreatedTime>2025-10-26T13:15:16.7936817+07:00</CreatedTime>
  <Debt>18</Debt>
  <Email>sample string 11</Email>
  <FullAddress>sample string 8</FullAddress>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <MaSoThue>sample string 13</MaSoThue>
  <Name>sample string 3</Name>
  <Note>sample string 14</Note>
  <Phone>sample string 4</Phone>
  <PhuongXaCode>sample string 7</PhuongXaCode>
  <QuanHuyenCode>sample string 6</QuanHuyenCode>
  <TinhThanhCode>sample string 5</TinhThanhCode>
</SupplierDto>