PUT api/company/update

Request Information

URI Parameters

None.

Body Parameters

UpdateCompanyDto
NameDescriptionTypeAdditional information
ID

integer

Required

Profile

string

String length: inclusive between 0 and 200

CountryCode

string

Required

String length: inclusive between 0 and 50

PostalCode

string

Required

String length: inclusive between 0 and 50

Address

string

Required

String length: inclusive between 0 and 255

CompanyType

integer

Required

Parent

integer

None.

City

string

Required

String length: inclusive between 0 and 255

Active

boolean

Required

Locked

boolean

Required

Name

string

Required

String length: inclusive between 0 and 255

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "profile": "sample string 2",
  "countryCode": "sample string 3",
  "postalCode": "sample string 4",
  "address": "sample string 5",
  "companyType": 6,
  "parent": 1,
  "city": "sample string 7",
  "active": true,
  "locked": true,
  "name": "sample string 10"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.