Create Company
hudu_create_companyCreate a new company in Hudu, the top-level container required for organizing assets, articles, passwords, and websites. Returns the new company's ID with optional contact and classification fields.
Instructions
Create a new company in Hudu. A company is the top-level container in Hudu; every asset, article, password and website belongs to exactly one.
Returns the created record, including the id Hudu assigned. Hudu answers 422 with the offending field named when validation fails.
Operation class: Create.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zip | No | ||
| city | No | ||
| name | Yes | ||
| notes | No | Free-text notes shown on the company record. | |
| state | No | ||
| website | No | Primary website URL. | |
| nickname | No | Short name shown in lists. | |
| id_number | No | Your own external identifier for this company. | |
| fax_number | No | ||
| company_type | No | Free-text classification, e.g. "Client". | |
| country_name | No | ||
| phone_number | No | ||
| address_line_1 | No | ||
| address_line_2 | No | ||
| parent_company_id | No | Numeric id of a parent company, for nested company structures. |