POST api/Branch

Request Information

URI Parameters

None.

Body Parameters

BranchViewModels
NameDescriptionTypeAdditional information
branchId

integer

None.

branchName

string

None.

address

string

None.

contactNo

string

None.

location

string

None.

createdAt

date

None.

createdBy

string

None.

displayOrder

integer

None.

iframeSrc

string

None.

Request Formats

application/json, text/json

Sample:
{
  "branchId": 1,
  "branchName": "sample string 2",
  "address": "sample string 3",
  "contactNo": "sample string 4",
  "location": "sample string 5",
  "createdAt": "2024-04-13T03:03:06.5556562+05:30",
  "createdBy": "sample string 7",
  "displayOrder": 8,
  "iframeSrc": "sample string 9"
}

application/xml, text/xml

Sample:
<BranchViewModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SSPWeb.Models">
  <address>sample string 3</address>
  <branchId>1</branchId>
  <branchName>sample string 2</branchName>
  <contactNo>sample string 4</contactNo>
  <createdAt>2024-04-13T03:03:06.5556562+05:30</createdAt>
  <createdBy>sample string 7</createdBy>
  <displayOrder>8</displayOrder>
  <iframeSrc>sample string 9</iframeSrc>
  <location>sample string 5</location>
</BranchViewModels>

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.