POST api/branchmasters

Request Information

URI Parameters

None.

Body Parameters

BranchMaster
NameDescriptionTypeAdditional information
Dml_Indicator

string

None.

Id

integer

None.

Orgid

integer

None.

Branchcode

string

Max length: 45

Branchname

string

Max length: 100

Address1

string

Max length: 100

Address2

string

Max length: 100

City

integer

None.

State

integer

None.

Country

integer

None.

Phonenumber1

string

None.

Phonenumber2

string

Max length: 20

Phonenumber3

string

Max length: 20

Email

string

Max length: 90

Is_branches

integer

None.

Status

integer

None.

Created_by

integer

None.

Created_on

string

None.

Updated_by

integer

None.

Updated_on

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Dml_Indicator": "sample string 1",
  "Id": 2,
  "Orgid": 3,
  "Branchcode": "sample string 4",
  "Branchname": "sample string 5",
  "Address1": "sample string 6",
  "Address2": "sample string 7",
  "City": 8,
  "State": 9,
  "Country": 10,
  "Phonenumber1": "sample string 11",
  "Phonenumber2": "sample string 12",
  "Phonenumber3": "sample string 13",
  "Email": "sample string 14",
  "Is_branches": 15,
  "Status": 16,
  "Created_by": 17,
  "Created_on": "sample string 18",
  "Updated_by": 19,
  "Updated_on": "sample string 20"
}

application/xml, text/xml

Sample:
<BranchMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityLayer">
  <Address1>sample string 6</Address1>
  <Address2>sample string 7</Address2>
  <Branchcode>sample string 4</Branchcode>
  <Branchname>sample string 5</Branchname>
  <City>8</City>
  <Country>10</Country>
  <Created_by>17</Created_by>
  <Created_on>sample string 18</Created_on>
  <Dml_Indicator>sample string 1</Dml_Indicator>
  <Email>sample string 14</Email>
  <Id>2</Id>
  <Is_branches>15</Is_branches>
  <Orgid>3</Orgid>
  <Phonenumber1>sample string 11</Phonenumber1>
  <Phonenumber2>sample string 12</Phonenumber2>
  <Phonenumber3>sample string 13</Phonenumber3>
  <State>9</State>
  <Status>16</Status>
  <Updated_by>19</Updated_by>
  <Updated_on>sample string 20</Updated_on>
</BranchMaster>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.