Creates a company for the currently logged in member, or returns their existing company if they already have one
Creates a company for the currently logged in member, or returns their existing company if they already have one
| URL: | https://api.trademe.co.nz/v1/Jobs/Companies.{file_format} |
|---|---|
| HTTP Method: | POST |
| Requires Authentication? | Yes |
| Permission Required: | MyTradeMeWrite: Maintain your watchlist, answer questions and post comments. |
| Supported Formats: | XML, JSON |
| Rate Limited? | Yes |
URL parameters
| file_format | Enumeration (required) | The format of the response. | ||||
|---|---|---|---|---|---|---|
|
||||||
POST Data
<JobCompany>
| CompanyId | Integer (optional) |
The id of the company |
|---|---|---|
| CompanyName | String (optional) |
The name of the company |
| IsCompanyOwner | Boolean (optional) |
The flag indicates whether the current member is the owner of the company |
Returns
<JobCompany>
The created company
| CompanyId | Integer |
The id of the company |
|---|---|---|
| CompanyName | String or null |
The name of the company |
| IsCompanyOwner | Boolean |
The flag indicates whether the current member is the owner of the company |