Creates a new organization
Request Information
URI Parameters :
None.
Body Parameters :
sales_organization| Name | Description | Type | Additional information | 
|---|---|---|---|
| id | 
                         Primary Key  | 
                    globally unique identifier | 
                                 Required  | 
                
| code | 
                         Field used for Embedded entity (store there your ERP PK)  | 
                    string | 
                                 Max length: 50  | 
                
| name | 
                         Name of the organization  | 
                    string | 
                                 Required Max length: 50  | 
                
| description | 
                         Description field  | 
                    string | 
                                 Max length: 255  | 
                
| db_country_id | 
                         Default country to be used when creating new company  | 
                    globally unique identifier | |
| db_currency_id | 
                         Currency of the organization  | 
                    globally unique identifier | |
| db_language_id | 
                         Default language of the organization (will be used when nothing is set)  | 
                    globally unique identifier | |
| accountancy_code | 
                         Accountancy code for this organization  | 
                    string | 
                                 Max length: 50  | 
                
| archived | 
                         Valid / Archive  | 
                    boolean | |
| default_unit_of_measure_system_type | 
                         Default system of measure type (Metric,Engloish)  | 
                    string | 
                                 Max length: 50  | 
                
| street | 
                         Address : Street  | 
                    string | 
                                 Max length: 50  | 
                
| street2 | 
                         Address : Second street line  | 
                    string | 
                                 Max length: 50  | 
                
| street_number | 
                         Address : Street number  | 
                    string | 
                                 Max length: 50  | 
                
| zip | 
                         Address : zip  | 
                    string | 
                                 Max length: 50  | 
                
| city | 
                         Address : city  | 
                    string | 
                                 Max length: 50  | 
                
| 
                         | 
                    string | 
                                 Max length: 250  | 
                |
| phone | 
                         Phone number  | 
                    string | 
                                 Max length: 50  | 
                
| fax | 
                         Fax number  | 
                    string | 
                                 Max length: 50  | 
                
| url | 
                         Url of the organization website  | 
                    string | 
                                 Max length: 50  | 
                
| vat_reg_code | 
                         VAT number  | 
                    string | 
                                 Max length: 50  | 
                
| modified_dateutc | 
                         Readonly system field managed by database, filled with GetUtcDate when adding,updating  | 
                    date | 
Request Formats :
application/json, text/json
{
  "id": "9d4b55f5-1216-4a35-b42d-9aea6703e893",
  "code": "sample string 2",
  "name": "sample string 3",
  "description": "sample string 4",
  "db_country_id": "9b6b9413-0699-47c5-ab22-48cb11dc4198",
  "db_currency_id": "f1ce5866-76ce-4969-a0d2-2d4cc11a89a4",
  "db_language_id": "240f6411-24b1-4d16-abc4-ae863124e4a3",
  "accountancy_code": "sample string 8",
  "archived": true,
  "default_unit_of_measure_system_type": "sample string 10",
  "street": "sample string 11",
  "street2": "sample string 12",
  "street_number": "sample string 13",
  "zip": "sample string 14",
  "city": "sample string 15",
  "email": "sample string 16",
  "phone": "sample string 17",
  "fax": "sample string 18",
  "url": "sample string 19",
  "vat_reg_code": "sample string 20",
  "modified_dateutc": "2025-10-14T21:42:14.6777332+00:00"
}
        Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.