Home / API / ASP.NET Web API Details

GET api/v1/Setup/GetProgramBranchByProgramTypeId?programtypeid={programtypeid}

Description

Get List Of Program Branch By Program Type Id

Request Information

Parameters

NameDescriptionAdditional information
programtypeid
Program Type Id

Define this parameter in the request URI.

Response Information

List of Program Branch

Response body formats

application/json, text/json

Sample:
[
  {
    "programtypeid": 1,
    "branchid": 2,
    "utctimestamp": "2025-02-23T06:17:30.7351978+00:00",
    "createdby": "sample string 4",
    "utclastchanged": "2025-02-23T06:17:30.7357321+00:00",
    "lastchangedby": "sample string 5"
  },
  {
    "programtypeid": 1,
    "branchid": 2,
    "utctimestamp": "2025-02-23T06:17:30.7351978+00:00",
    "createdby": "sample string 4",
    "utclastchanged": "2025-02-23T06:17:30.7357321+00:00",
    "lastchangedby": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfsetupprogrambranchmodel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APICOMMON">
  <setupprogrambranchmodel>
    <branchid>2</branchid>
    <createdby>sample string 4</createdby>
    <lastchangedby>sample string 5</lastchangedby>
    <programtypeid>1</programtypeid>
    <utclastchanged>2025-02-23T06:17:30.7357321+00:00</utclastchanged>
    <utctimestamp>2025-02-23T06:17:30.7351978+00:00</utctimestamp>
  </setupprogrambranchmodel>
  <setupprogrambranchmodel>
    <branchid>2</branchid>
    <createdby>sample string 4</createdby>
    <lastchangedby>sample string 5</lastchangedby>
    <programtypeid>1</programtypeid>
    <utclastchanged>2025-02-23T06:17:30.7357321+00:00</utclastchanged>
    <utctimestamp>2025-02-23T06:17:30.7351978+00:00</utctimestamp>
  </setupprogrambranchmodel>
</ArrayOfsetupprogrambranchmodel>