| Requires any of the roles: | bookingsupplier-administrator-write, bookingsupplier-administrator-read, superadmin |
| GET | /settings/changelog | Get change log for settings | Returns a log of all changes made to company settings. Supports filtering and pagination via AutoQuery. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CompanyId | query | Guid? | No | The company id, if empty will use the company id for the user you are logged in with. |
| SettingsType | query | string | No | Filter by settings type, e.g. BookingSettings, PaymentSettings, CompanySetting, EAccountingSettings |
| PropertyName | query | string | No | Filter by property name, e.g. SendEmailReminder |
| ModifiedBy | query | string | No | Filter by who made the change |
| CreatedDateGreaterThanOrEqualTo | query | DateTime? | No | Filter changes created on or after this date |
| CreatedDateLessThanOrEqualTo | query | DateTime? | No | Filter changes created on or before this date |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Skip | form | int? | No | |
| Take | form | int? | No | |
| OrderBy | form | string | No | |
| OrderByDesc | form | string | No | |
| Include | form | string | No | |
| Fields | form | string | No | |
| Meta | form | Dictionary<string, string> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| CompanyId | form | Guid | Yes | |
| SettingsType | form | string | Yes | |
| PropertyName | form | string | Yes | |
| OldValue | form | string | No | |
| NewValue | form | string | No | |
| ModifiedBy | form | string | No | |
| CreatedDate | form | DateTime | Yes | |
| ModifiedDate | form | DateTimeOffset? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | The change log entry id |
| CompanyId | form | Guid | No | The company id |
| SettingsType | form | string | Yes | The settings type that was changed, e.g. BookingSettings |
| PropertyName | form | string | Yes | The property name that was changed |
| OldValue | form | string | No | The value before the change |
| NewValue | form | string | No | The value after the change |
| ModifiedBy | form | string | No | The user who made the change |
| CreatedDate | form | DateTime | No | When the change was made |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Offset | form | int | No | |
| Total | form | int | No | |
| Results | form | List<AccessKeyTypeResponse> | Yes | |
| Meta | form | Dictionary<string, string> | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| KeyType | form | string | Yes | |
| Description | form | string | Yes |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /settings/changelog HTTP/1.1 Host: testapi.bokamera.se Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"Offset":0,"Total":0,"Results":[{"Id":0,"SettingsType":"String","PropertyName":"String","OldValue":"String","NewValue":"String","ModifiedBy":"String"}],"Meta":{"String":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}