PUT api/company/legal-entity/update

Request Information

URI Parameters

None.

Body Parameters

CompanyLegalEntitySubModel
NameDescriptionTypeAdditional information
CompanyLegalEntityId

integer

None.

CompanyId

integer

None.

EntityName

string

None.

Status

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CompanyLegalEntityId": 1,
  "CompanyId": 2,
  "EntityName": "sample string 3",
  "Status": "sample string 4"
}

application/xml, text/xml

Sample:
<CompanyLegalEntitySubModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ALTAMBS.Business.Entities.SubModels">
  <CompanyId>2</CompanyId>
  <CompanyLegalEntityId>1</CompanyLegalEntityId>
  <EntityName>sample string 3</EntityName>
  <Status>sample string 4</Status>
</CompanyLegalEntitySubModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CompanyLegalEntitySubModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.