POST api/Branch/CreateBranch

Request Information

URI Parameters

None.

Body Parameters

BranchMasterBindingModel
NameDescriptionTypeAdditional information
BranchId

integer

None.

BranchCode

string

None.

BranchName

string

None.

BranchAddress

string

None.

BranchType

string

None.

ReportingBranch

integer

None.

CreatedByUserId

integer

None.

CreatedBy

string

None.

CreatedOn

date

None.

UpdatedByUserId

integer

None.

UpdatedBy

string

None.

UpdatedOn

date

None.

EmailIds

string

None.

ReportingBranchName

string

None.

IsActive

boolean

None.

EscalationEmailIds

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BranchId": 1,
  "BranchCode": "sample string 2",
  "BranchName": "sample string 3",
  "BranchAddress": "sample string 4",
  "BranchType": "sample string 5",
  "ReportingBranch": 1,
  "CreatedByUserId": 1,
  "CreatedBy": "sample string 6",
  "CreatedOn": "2025-12-10T12:41:07.6490861+05:30",
  "UpdatedByUserId": 1,
  "UpdatedBy": "sample string 7",
  "UpdatedOn": "2025-12-10T12:41:07.6490861+05:30",
  "EmailIds": "sample string 8",
  "ReportingBranchName": "sample string 9",
  "IsActive": true,
  "EscalationEmailIds": "sample string 10"
}

application/xml, text/xml

Sample:
<BranchMasterBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/risk_compliance_api.Models">
  <BranchAddress>sample string 4</BranchAddress>
  <BranchCode>sample string 2</BranchCode>
  <BranchId>1</BranchId>
  <BranchName>sample string 3</BranchName>
  <BranchType>sample string 5</BranchType>
  <CreatedBy>sample string 6</CreatedBy>
  <CreatedByUserId>1</CreatedByUserId>
  <CreatedOn>2025-12-10T12:41:07.6490861+05:30</CreatedOn>
  <EmailIds>sample string 8</EmailIds>
  <EscalationEmailIds>sample string 10</EscalationEmailIds>
  <IsActive>true</IsActive>
  <ReportingBranch>1</ReportingBranch>
  <ReportingBranchName>sample string 9</ReportingBranchName>
  <UpdatedBy>sample string 7</UpdatedBy>
  <UpdatedByUserId>1</UpdatedByUserId>
  <UpdatedOn>2025-12-10T12:41:07.6490861+05:30</UpdatedOn>
</BranchMasterBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.