POST api/company/create
Request Information
URI Parameters
None.
Body Parameters
CreateCompanyDto| Name | Description | Type | Additional information |
|---|---|---|---|
| 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:
{
"profile": "sample string 1",
"countryCode": "sample string 2",
"postalCode": "sample string 3",
"address": "sample string 4",
"companyType": 5,
"parent": 1,
"city": "sample string 6",
"active": true,
"locked": true,
"name": "sample string 9"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.