GET api/Branches/GetList?currentPage={currentPage}&rowPerPage={rowPerPage}&keyword={keyword}&optionId={optionId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
currentPage

byte

Required

rowPerPage

byte

Required

keyword

string

Default value is

optionId

byte

Default value is 0

Body Parameters

None.

Response Information

Resource Description

Collection of BranchSelectModel
NameDescriptionTypeAdditional information
Id

integer

None.

Code

string

None.

BranchName

string

None.

Address

string

None.

Description

string

None.

IsLock

boolean

None.

DateCreate

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "code": "sample string 2",
    "branchName": "sample string 3",
    "address": "sample string 4",
    "description": "sample string 5",
    "isLock": true,
    "dateCreate": "2025-12-06T12:28:49.9964245+07:00"
  },
  {
    "id": 1,
    "code": "sample string 2",
    "branchName": "sample string 3",
    "address": "sample string 4",
    "description": "sample string 5",
    "isLock": true,
    "dateCreate": "2025-12-06T12:28:49.9964245+07:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfBranchSelectModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgencyWebAPI.Models.Branch">
  <BranchSelectModel>
    <Address>sample string 4</Address>
    <BranchName>sample string 3</BranchName>
    <Code>sample string 2</Code>
    <DateCreate>2025-12-06T12:28:49.9964245+07:00</DateCreate>
    <Description>sample string 5</Description>
    <Id>1</Id>
    <IsLock>true</IsLock>
  </BranchSelectModel>
  <BranchSelectModel>
    <Address>sample string 4</Address>
    <BranchName>sample string 3</BranchName>
    <Code>sample string 2</Code>
    <DateCreate>2025-12-06T12:28:49.9964245+07:00</DateCreate>
    <Description>sample string 5</Description>
    <Id>1</Id>
    <IsLock>true</IsLock>
  </BranchSelectModel>
</ArrayOfBranchSelectModel>