PUT api/Company/Update

Request Information

URI Parameters

None.

Body Parameters

CompanyModel
NameDescriptionTypeAdditional information
ID

integer

None.

Name

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Name": "sample string 2"
}

application/xml, text/xml

Sample:
<CompanyModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAWebAPI.Models">
  <ID>1</ID>
  <Name>sample string 2</Name>
</CompanyModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Company
NameDescriptionTypeAdditional information
Name

string

None.

ID

integer

None.

company

CompanyAttributes

None.

ActiveConnection

SqlConnection

None.

Response Formats

application/json, text/json

Sample:

Sample not available.