POST api/CompanyMaster/SaveUpdateCompany

Request Information

URI Parameters

None.

Body Parameters

CompanyMasterModel
NameDescriptionTypeAdditional information
CompanyID

integer

None.

CompanyName

string

None.

IndustryId

integer

None.

Remarks

string

None.

isActive

string

None.

IndustryName

string

None.

TotalCount

integer

None.

Request Formats

application/json, text/json, text/html

Sample:
{
  "CompanyID": 1,
  "CompanyName": "sample string 2",
  "IndustryId": 3,
  "Remarks": "sample string 4",
  "isActive": "sample string 5",
  "IndustryName": "sample string 6",
  "TotalCount": 7
}

application/xml, text/xml

Sample:
<CompanyMasterModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vision.Model">
  <CompanyID>1</CompanyID>
  <CompanyName>sample string 2</CompanyName>
  <IndustryId>3</IndustryId>
  <IndustryName>sample string 6</IndustryName>
  <Remarks>sample string 4</Remarks>
  <TotalCount>7</TotalCount>
  <isActive>sample string 5</isActive>
</CompanyMasterModel>

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, text/html

Sample:

Sample not available.