A collection of help pages for using the API.
URL | /Api/v2/Company/{companyId}/Comment/{commentId} |
Accepted verbs | GET, POST, PUT, DELETE |
Description |
Manage comments connected to a company. |
Lists all comments connected to specified company.
List can contain different types (see type field) of comments. Currently we only support
Name | Description | Additional information |
---|---|---|
companyId | Company id. |
URI parameter |
List of Comment.
Lists all comments in date range (between, after or before a date). Dates should be formatted on the form: YYYY-MM-DD.
Name | Description | Additional information |
---|---|---|
companyId | Company id. |
URI parameter |
startDate | Limits result to comments after start date. If not specified all comments is returned. |
URI parameter |
endDate | Limits result to comments before end date. If not specified all comments is returned. |
URI parameter |
List of Comment.
Get single comment by company and comment identifier.
Name | Description | Additional information |
---|---|---|
companyId | Company id. |
URI parameter |
commentId | Comment id. |
URI parameter |
The requested Comment object.
Create a new comment associated to a company. The id of the new comment should be ommited since it will be automatically assigned when it is created.
Name | Description | Additional information |
---|---|---|
companyId | Company id. |
URI parameter |
apiComment | The new Comment to create. |
Body data |
Newly created Comment. The object now contains an id.