POST/projects/api/v3/companies.json
Create a company.
Create a company.
Body Params
Request contains information of a company to be created or updated.
- Name
company
- Type
- object
- Description
- Company contains all the information returned from a company.
- Name
companyOptions
- Type
- object
- Name
tags
- Type
- array
- Description
- Tag contains all the information returned from a tag.
Responses
- Code
- 201
- Type
- object
- Schema
- Description
- 201 Created
Response contains information about a specific company.
- Code
- 400
- Type
- object
- Schema
- Description
- 400 Bad Request
ErrorResponse defines how []Error should be marshaled to JSON.
- Code
- 403
- Type
- object
- Schema
- Description
- 403 Forbidden
ErrorResponse defines how []Error should be marshaled to JSON.
201 Created
Response
{ "company": { "accounts": 0, "addressOne": "string", "addressTwo": "string", "budgetDistribution": [ { "color": "string", "companyId": 0, "count": 0, "from": 0, "to": 0 } ], "canSeePrivate": true, "cid": "string", "city": "string", "clientManagedBy": {