BackofficeApi

<back to all web services

SearchPlaceRequest

Backoffice
Requires Authentication
Required role:Backoffice
The following routes are available for this service:
GET/place/search
SearchPlaceRequest Parameters:
NameParameterData TypeRequiredDescription
QueryquerystringYes
Sizequeryint?No
Offsetqueryint?No
SearchPlaceResponse Parameters:
NameParameterData TypeRequiredDescription
PlacesformList<BackofficePlaceDto>Yes
TotalformlongNo
SizeformintNo
OffsetformintNo
BackofficePlaceDto Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
GuidformGuidNo
NameformstringYes
Longitudeformfloat?No
Latitudeformfloat?No
RootCategoryformCategoryDtoNo
ClaimedformboolNo
OrganizationNumberformstringNo
StateformPlaceStateNo
CountryCodeformstringYes
OverviewformstringNo
TimeZoneDtoformTimeZoneDtoNo
BusinessIdformlong?No
ContactformPlaceContactNo
AddressformPlaceAddressYes
BackofficeGrantedStaffAccessformList<StaffDto>Yes
CategoryDto Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
NameformstringYes
SlugformstringYes
AbsoluteSlugformstringYes
ParentIdformlong?No
StateformstringYes
PositionformintNo
PlaceState Enum:
Draft
Active
Paused
Archived
TimeZoneDto Parameters:
NameParameterData TypeRequiredDescription
BaseUtcOffsetformTimeSpanNo
DaylightNameformstringYes
DisplayNameformstringYes
IdformstringYes
StandardNameformstringYes
SupportsDaylightSavingTimeformboolNo
PlaceContact Parameters:
NameParameterData TypeRequiredDescription
PhoneformstringNo
EmailformstringNo
WebsiteformstringNo
WebShopformstringNo
PlaceAddress Parameters:
NameParameterData TypeRequiredDescription
StreetformstringYes
PostalCodeformstringYes
RegionformstringYes
CountryCodeformstringYes
StaffDto Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
FirstNameformstringYes
LastNameformstringYes
EmailformstringNo
RoleformStaffRoleNo
PlaceIdformlong?No
BusinessIdformlong?No
UserIdformlongNo
PlaceNameformstringNo
BusinessNameformstringNo
MobileNumberformstringYes
BusinessRoleformBusinessRoleNo
LastActiveOnformDateTimeOffsetNo
StaffRole Enum:
Owner
Admin
Regular
BusinessRole Enum:
Owner
Manager
Sales
Marketing
Other

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

HTTP + CSV

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

GET /place/search HTTP/1.1 
Host: backoffice-api.brovs.com 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"places":[{"id":0,"name":"String","longitude":0,"latitude":0,"rootCategory":{"id":0,"name":"String","slug":"String","absoluteSlug":"String","parentId":0,"state":"String","position":0},"claimed":false,"organizationNumber":"String","state":"Draft","countryCode":"String","overview":"String","timeZoneDto":{"baseUtcOffset":"PT0S","daylightName":"String","displayName":"String","id":"String","standardName":"String","supportsDaylightSavingTime":false},"businessId":0,"contact":{"phone":"String","email":"String","website":"String","webShop":"String"},"address":{"street":"String","postalCode":"String","region":"String","countryCode":"String"},"backofficeGrantedStaffAccess":[{"id":0,"firstName":"String","lastName":"String","email":"String","role":"Owner","placeId":0,"businessId":0,"userId":0,"placeName":"String","businessName":"String","mobileNumber":"String","businessRole":"Owner","lastActiveOn":"0001-01-01T00:00:00.0000000+00:00"}]}],"total":0,"size":0,"offset":0}