POST | /share/share-place-link-used | A share place link was used | Validates the JWT token with the identity of the sharing user and the shared place and returns relevant information. |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
SharePlaceToken | body | string | Yes | |
Locale | body | Locale? | No |
EnUs | |
NbNo |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
SharingUser | form | SharingUser | No | |
Place | form | SharedPlace | No | |
ExpiresAt | form | DateTimeOffset? | No | |
State | form | SharingState | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
FirstName | form | string | Yes | |
LastName | form | string | Yes | |
ProfilePhotoUrl | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | long | No | |
Guid | form | Guid | No | |
Name | form | string | Yes | |
LogoUrl | form | string | No | |
ImageUrl | form | string | No | |
OpeningHours | form | OpeningHours | No | |
TimeZoneDto | form | TimeZoneDto | Yes | |
RootCategories | form | List<SharedRootCategory> | Yes | |
PriceMainDish | form | SharePriceMainDish | No | |
WearPriceProfiles | form | List<ShareWearPriceProfile> | Yes |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Weekly | form | WeeklyOpeningHours | Yes |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Monday | form | OpeningHour | No | |
Tuesday | form | OpeningHour | No | |
Wednesday | form | OpeningHour | No | |
Thursday | form | OpeningHour | No | |
Friday | form | OpeningHour | No | |
Saturday | form | OpeningHour | No | |
Sunday | form | OpeningHour | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
OpenAtHour | form | int | No | |
OpenAtMinute | form | int | No | |
CloseAtHour | form | int | No | |
CloseAtMinute | form | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
BaseUtcOffset | form | TimeSpan | No | |
DaylightName | form | string | Yes | |
DisplayName | form | string | Yes | |
Id | form | string | Yes | |
StandardName | form | string | Yes | |
SupportsDaylightSavingTime | form | bool | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Name | form | string | Yes | |
AbsoluteSlug | form | string | Yes |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Label | form | string | Yes | |
Slug | form | PriceMainDish | No |
Value | |
Medium | |
High | |
FineDining |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Label | form | string | Yes | |
Slug | form | string | Yes |
Teaser | |
Awarded | |
SelfShare | |
Expired |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /share/share-place-link-used HTTP/1.1
Host: consumer-api.brovs.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"sharePlaceToken":"String","locale":"EnUs"}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"sharingUser":{"firstName":"String","lastName":"String","profilePhotoUrl":"String"},"place":{"id":0,"name":"String","logoUrl":"String","imageUrl":"String","openingHours":{"weekly":{"monday":{"openAtHour":0,"openAtMinute":0,"closeAtHour":0,"closeAtMinute":0},"tuesday":{"openAtHour":0,"openAtMinute":0,"closeAtHour":0,"closeAtMinute":0},"wednesday":{"openAtHour":0,"openAtMinute":0,"closeAtHour":0,"closeAtMinute":0},"thursday":{"openAtHour":0,"openAtMinute":0,"closeAtHour":0,"closeAtMinute":0},"friday":{"openAtHour":0,"openAtMinute":0,"closeAtHour":0,"closeAtMinute":0},"saturday":{"openAtHour":0,"openAtMinute":0,"closeAtHour":0,"closeAtMinute":0},"sunday":{"openAtHour":0,"openAtMinute":0,"closeAtHour":0,"closeAtMinute":0}}},"timeZoneDto":{"baseUtcOffset":"PT0S","daylightName":"String","displayName":"String","id":"String","standardName":"String","supportsDaylightSavingTime":false},"rootCategories":[{"name":"String","absoluteSlug":"String"}],"priceMainDish":{"label":"String","slug":"Value"},"wearPriceProfiles":[{"label":"String","slug":"String"}]},"expiresAt":"0001-01-01T00:00:00.0000000+00:00","state":"Teaser"}