BokaMera.API.Host

<back to all web services

FeatureFlagCatalogQuery

Requires Authentication
Requires any of the roles:superadmin, bookingsupplier-administrator-write, bookingsupplier-administrator-read
The following routes are available for this service:
GET/featureList the feature flag catalogReturns the catalog of feature flags. Available to SuperAdmin, ApplicationAdmin, and ApplicationAdminRead. Inactive flags are included.
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
FeatureFlag Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NameformstringYes
IsActiveformboolYes
IsPublicformboolYes
CompanyAdminCanToggleformboolYes
CreatedDateformDateTimeYes
ModifiedDateformDateTimeOffset?No
FeatureFlagAdminResponse Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NameformstringYes
IsActiveformboolNo
IsPublicformboolNo
CompanyAdminCanToggleformboolNo
CreatedDateformDateTimeNo
ModifiedDateformDateTime?No
ResponseStatusformResponseStatusYes
QueryResponse<T> Parameters:
NameParameterData TypeRequiredDescription
OffsetformintNo
TotalformintNo
ResultsformList<AccessKeyTypeResponse>Yes
MetaformDictionary<string, string>No
ResponseStatusformResponseStatusNo
AccessKeyTypeResponse Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
KeyTypeformstringYes
DescriptionformstringYes

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /feature HTTP/1.1 
Host: api.bokamera.se 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"Offset":0,"Total":0,"Results":[{"Id":0,"Name":"String","IsActive":false,"IsPublic":false,"CompanyAdminCanToggle":false,"ModifiedDate":"0001-01-01T00:00:00","ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}],"Meta":{"String":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}