POST api/organizationmasters

Request Information

URI Parameters

None.

Body Parameters

OrganizationMaster
NameDescriptionTypeAdditional information
Dml_Indicator

string

None.

Id

integer

None.

Orgcode

string

Max length: 45

Orgname

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,
  "Orgcode": "sample string 3",
  "Orgname": "sample string 4",
  "Address1": "sample string 5",
  "Address2": "sample string 6",
  "City": 7,
  "State": 8,
  "Country": 9,
  "Phonenumber1": "sample string 10",
  "Phonenumber2": "sample string 11",
  "Phonenumber3": "sample string 12",
  "Email": "sample string 13",
  "Is_branches": 14,
  "Status": 15,
  "Created_by": 16,
  "Created_on": "sample string 17",
  "Updated_by": 18,
  "Updated_on": "sample string 19"
}

application/xml, text/xml

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

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.