POST api/Admin/InsertBranchDetails

Request Information

URI Parameters

None.

Body Parameters

AssignBranchModel
NameDescriptionTypeAdditional information
CompanyID

integer

None.

BranchID

integer

None.

BranchName

string

None.

StreetName

string

None.

Suburb

string

None.

PostalCode

string

None.

Email

string

None.

Fax

string

None.

IsActive

boolean

None.

Phone

string

None.

CreatedBy

integer

None.

CreatedDate

date

None.

ModifiedBy

integer

None.

ModifiedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "CompanyID": 1,
  "BranchID": 2,
  "BranchName": "sample string 3",
  "StreetName": "sample string 4",
  "Suburb": "sample string 5",
  "PostalCode": "sample string 6",
  "Email": "sample string 7",
  "Fax": "sample string 8",
  "IsActive": true,
  "Phone": "sample string 10",
  "CreatedBy": 11,
  "CreatedDate": "2021-02-24T12:49:05.2273434+11:00",
  "ModifiedBy": 13,
  "ModifiedDate": "2021-02-24T12:49:05.2273434+11:00"
}

application/xml, text/xml

Sample:
<AssignBranchModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TARWebAPI.Models">
  <BranchID>2</BranchID>
  <BranchName>sample string 3</BranchName>
  <CompanyID>1</CompanyID>
  <CreatedBy>11</CreatedBy>
  <CreatedDate>2021-02-24T12:49:05.2273434+11:00</CreatedDate>
  <Email>sample string 7</Email>
  <Fax>sample string 8</Fax>
  <IsActive>true</IsActive>
  <ModifiedBy>13</ModifiedBy>
  <ModifiedDate>2021-02-24T12:49:05.2273434+11:00</ModifiedDate>
  <Phone>sample string 10</Phone>
  <PostalCode>sample string 6</PostalCode>
  <StreetName>sample string 4</StreetName>
  <Suburb>sample string 5</Suburb>
</AssignBranchModel>

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.