Returns a set of data items of type restrictions.
GET /api/liquor/restrictions
None
None
None.
Method can return success code: OK - 200 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.
Name | Description | Type | Additional Information |
LastModified | System.DateTimeOffset | Read only: True | |
PublicationDate | System.DateTimeOffset | Read only: False | |
DateCreated | System.DateTimeOffset | Read only: True | |
IncludeInSitemap | System.Boolean | Read only: False | |
UrlName | System.String | Read only: False | |
Section | System.String | Read only: False | |
RegionalArea | System.String | Read only: False | |
MarkerInfo | System.String | Read only: False | |
Year | System.String | Read only: False | |
ExpiryDate | System.DateTimeOffset | Read only: False | |
Description | System.String | Read only: False | |
Region | System.String | Read only: False | |
Title | System.String | Read only: False | |
LegislationLink | System.String | Read only: False | |
Location | Telerik.Sitefinity.GeoLocations.Model.Address | Read only: False | |
Provider | System.String | Read only: True |
application/json
[
{
"LastModified": "2024-12-20T19:34:57.5936227Z",
"PublicationDate": "2024-12-20T19:34:57.5936227Z",
"DateCreated": "2024-12-20T19:34:57.5936227Z",
"IncludeInSitemap": true,
"UrlName": "sample string 5",
"Section": "sample string 6",
"RegionalArea": "sample string 7",
"MarkerInfo": "sample string 8",
"Year": "sample string 9",
"ExpiryDate": "2024-12-20T19:34:57.5936227Z",
"Description": "sample string 11",
"Region": "sample string 12",
"Title": "sample string 13",
"LegislationLink": "sample string 14",
"Location": {
"Id": "00000000-0000-0000-0000-000000000000",
"CountryCode": "sample string 2",
"StateCode": "sample string 3",
"City": "sample string 4",
"Zip": "sample string 5",
"Street": "sample string 6",
"Latitude": 1.1,
"Longitude": 1.1,
"MapZoomLevel": 1
},
"Provider": "sample string 15"
},
{
"LastModified": "2024-12-20T19:34:57.5936227Z",
"PublicationDate": "2024-12-20T19:34:57.5936227Z",
"DateCreated": "2024-12-20T19:34:57.5936227Z",
"IncludeInSitemap": true,
"UrlName": "sample string 5",
"Section": "sample string 6",
"RegionalArea": "sample string 7",
"MarkerInfo": "sample string 8",
"Year": "sample string 9",
"ExpiryDate": "2024-12-20T19:34:57.5936227Z",
"Description": "sample string 11",
"Region": "sample string 12",
"Title": "sample string 13",
"LegislationLink": "sample string 14",
"Location": {
"Id": "00000000-0000-0000-0000-000000000000",
"CountryCode": "sample string 2",
"StateCode": "sample string 3",
"City": "sample string 4",
"Zip": "sample string 5",
"Street": "sample string 6",
"Latitude": 1.1,
"Longitude": 1.1,
"MapZoomLevel": 1
},
"Provider": "sample string 15"
}
]
Gets restrictions item by id.
GET /api/liquor/restrictions({key})
Name | Description | Type | Additional Information |
key | System.Guid | Required |
None
None.
Method can return success code: OK - 200 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.
Name | Description | Type | Additional Information |
LastModified | System.DateTimeOffset | Read only: True | |
PublicationDate | System.DateTimeOffset | Read only: False | |
DateCreated | System.DateTimeOffset | Read only: True | |
IncludeInSitemap | System.Boolean | Read only: False | |
UrlName | System.String | Read only: False | |
Section | System.String | Read only: False | |
RegionalArea | System.String | Read only: False | |
MarkerInfo | System.String | Read only: False | |
Year | System.String | Read only: False | |
ExpiryDate | System.DateTimeOffset | Read only: False | |
Description | System.String | Read only: False | |
Region | System.String | Read only: False | |
Title | System.String | Read only: False | |
LegislationLink | System.String | Read only: False | |
Location | Telerik.Sitefinity.GeoLocations.Model.Address | Read only: False | |
Provider | System.String | Read only: True |
application/json
{
"LastModified": "2024-12-20T19:34:57.5936227Z",
"PublicationDate": "2024-12-20T19:34:57.5936227Z",
"DateCreated": "2024-12-20T19:34:57.5936227Z",
"IncludeInSitemap": true,
"UrlName": "sample string 5",
"Section": "sample string 6",
"RegionalArea": "sample string 7",
"MarkerInfo": "sample string 8",
"Year": "sample string 9",
"ExpiryDate": "2024-12-20T19:34:57.5936227Z",
"Description": "sample string 11",
"Region": "sample string 12",
"Title": "sample string 13",
"LegislationLink": "sample string 14",
"Location": {
"Id": "00000000-0000-0000-0000-000000000000",
"CountryCode": "sample string 2",
"StateCode": "sample string 3",
"City": "sample string 4",
"Zip": "sample string 5",
"Street": "sample string 6",
"Latitude": 1.1,
"Longitude": 1.1,
"MapZoomLevel": 1
},
"Provider": "sample string 15"
}
Gets Id property from restrictions item.
GET /api/liquor/restrictions({key})/property
Name | Description | Type | Additional Information |
key | System.Guid | Required | |
property | System.String | Required |
None
None.
Method can return success code: OK - 200 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.
Name | Description | Type | Additional Information |
Id | System.Guid | Read only: False |
application/json
{
"Id": "7e0997b8-dd6a-4f9a-b568-7c833f93f2d7"
}
Creates a restrictions item.
POST /api/liquor/restrictions
None
Name | Description | Type | Additional Information |
LastModified | System.DateTimeOffset | Read only: True | |
PublicationDate | System.DateTimeOffset | Read only: False | |
DateCreated | System.DateTimeOffset | Read only: True | |
IncludeInSitemap | System.Boolean | Read only: False | |
UrlName | System.String | Read only: False | |
Section | System.String | Read only: False | |
RegionalArea | System.String | Read only: False | |
MarkerInfo | System.String | Read only: False | |
Year | System.String | Read only: False | |
ExpiryDate | System.DateTimeOffset | Read only: False | |
Description | System.String | Read only: False | |
Region | System.String | Read only: False | |
Title | System.String | Read only: False | |
LegislationLink | System.String | Read only: False | |
Location | Telerik.Sitefinity.GeoLocations.Model.Address | Read only: False | |
Provider | System.String | Read only: True |
application/json
{
"PublicationDate": "2024-12-20T19:34:57.5936227Z",
"IncludeInSitemap": true,
"UrlName": "sample string 3",
"Section": "sample string 4",
"RegionalArea": "sample string 5",
"MarkerInfo": "sample string 6",
"Year": "sample string 7",
"ExpiryDate": "2024-12-20T19:34:57.5936227Z",
"Description": "sample string 9",
"Region": "sample string 10",
"Title": "sample string 11",
"LegislationLink": "sample string 12",
"Location": {
"Id": "00000000-0000-0000-0000-000000000000",
"CountryCode": "sample string 2",
"StateCode": "sample string 3",
"City": "sample string 4",
"Zip": "sample string 5",
"Street": "sample string 6",
"Latitude": 1.1,
"Longitude": 1.1,
"MapZoomLevel": 1
}
}
Method can return success code: Created - 201 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.
Name | Description | Type | Additional Information |
LastModified | System.DateTimeOffset | Read only: True | |
PublicationDate | System.DateTimeOffset | Read only: False | |
DateCreated | System.DateTimeOffset | Read only: True | |
IncludeInSitemap | System.Boolean | Read only: False | |
UrlName | System.String | Read only: False | |
Section | System.String | Read only: False | |
RegionalArea | System.String | Read only: False | |
MarkerInfo | System.String | Read only: False | |
Year | System.String | Read only: False | |
ExpiryDate | System.DateTimeOffset | Read only: False | |
Description | System.String | Read only: False | |
Region | System.String | Read only: False | |
Title | System.String | Read only: False | |
LegislationLink | System.String | Read only: False | |
Location | Telerik.Sitefinity.GeoLocations.Model.Address | Read only: False | |
Provider | System.String | Read only: True |
application/json
{
"LastModified": "2024-12-20T19:34:57.5936227Z",
"PublicationDate": "2024-12-20T19:34:57.5936227Z",
"DateCreated": "2024-12-20T19:34:57.5936227Z",
"IncludeInSitemap": true,
"UrlName": "sample string 5",
"Section": "sample string 6",
"RegionalArea": "sample string 7",
"MarkerInfo": "sample string 8",
"Year": "sample string 9",
"ExpiryDate": "2024-12-20T19:34:57.5936227Z",
"Description": "sample string 11",
"Region": "sample string 12",
"Title": "sample string 13",
"LegislationLink": "sample string 14",
"Location": {
"Id": "00000000-0000-0000-0000-000000000000",
"CountryCode": "sample string 2",
"StateCode": "sample string 3",
"City": "sample string 4",
"Zip": "sample string 5",
"Street": "sample string 6",
"Latitude": 1.1,
"Longitude": 1.1,
"MapZoomLevel": 1
},
"Provider": "sample string 15"
}
Partial update for restrictions item.
PATCH /api/liquor/restrictions({key})
Name | Description | Type | Additional Information |
key | System.Guid | Required |
Name | Description | Type | Additional Information |
LastModified | System.DateTimeOffset | Read only: True | |
PublicationDate | System.DateTimeOffset | Read only: False | |
DateCreated | System.DateTimeOffset | Read only: True | |
IncludeInSitemap | System.Boolean | Read only: False | |
UrlName | System.String | Read only: False | |
Section | System.String | Read only: False | |
RegionalArea | System.String | Read only: False | |
MarkerInfo | System.String | Read only: False | |
Year | System.String | Read only: False | |
ExpiryDate | System.DateTimeOffset | Read only: False | |
Description | System.String | Read only: False | |
Region | System.String | Read only: False | |
Title | System.String | Read only: False | |
LegislationLink | System.String | Read only: False | |
Location | Telerik.Sitefinity.GeoLocations.Model.Address | Read only: False | |
Provider | System.String | Read only: True |
application/json
{
"PublicationDate": "2024-12-20T19:34:57.5936227Z",
"IncludeInSitemap": true,
"UrlName": "sample string 3",
"Section": "sample string 4",
"RegionalArea": "sample string 5",
"MarkerInfo": "sample string 6",
"Year": "sample string 7",
"ExpiryDate": "2024-12-20T19:34:57.5936227Z",
"Description": "sample string 9",
"Region": "sample string 10",
"Title": "sample string 11",
"LegislationLink": "sample string 12",
"Location": {
"Id": "00000000-0000-0000-0000-000000000000",
"CountryCode": "sample string 2",
"StateCode": "sample string 3",
"City": "sample string 4",
"Zip": "sample string 5",
"Street": "sample string 6",
"Latitude": 1.1,
"Longitude": 1.1,
"MapZoomLevel": 1
}
}
Method can return success code: NoContent - 204 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.
None.
Full update for restrictions item.
PUT /api/liquor/restrictions({key})
Name | Description | Type | Additional Information |
key | System.Guid | Required |
Name | Description | Type | Additional Information |
LastModified | System.DateTimeOffset | Read only: True | |
PublicationDate | System.DateTimeOffset | Read only: False | |
DateCreated | System.DateTimeOffset | Read only: True | |
IncludeInSitemap | System.Boolean | Read only: False | |
UrlName | System.String | Read only: False | |
Section | System.String | Read only: False | |
RegionalArea | System.String | Read only: False | |
MarkerInfo | System.String | Read only: False | |
Year | System.String | Read only: False | |
ExpiryDate | System.DateTimeOffset | Read only: False | |
Description | System.String | Read only: False | |
Region | System.String | Read only: False | |
Title | System.String | Read only: False | |
LegislationLink | System.String | Read only: False | |
Location | Telerik.Sitefinity.GeoLocations.Model.Address | Read only: False | |
Provider | System.String | Read only: True |
application/json
{
"PublicationDate": "2024-12-20T19:34:57.5936227Z",
"IncludeInSitemap": true,
"UrlName": "sample string 3",
"Section": "sample string 4",
"RegionalArea": "sample string 5",
"MarkerInfo": "sample string 6",
"Year": "sample string 7",
"ExpiryDate": "2024-12-20T19:34:57.5936227Z",
"Description": "sample string 9",
"Region": "sample string 10",
"Title": "sample string 11",
"LegislationLink": "sample string 12",
"Location": {
"Id": "00000000-0000-0000-0000-000000000000",
"CountryCode": "sample string 2",
"StateCode": "sample string 3",
"City": "sample string 4",
"Zip": "sample string 5",
"Street": "sample string 6",
"Latitude": 1.1,
"Longitude": 1.1,
"MapZoomLevel": 1
}
}
Method can return success code: NoContent - 204 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.
None.
Deletes a restrictions item by Id.
DELETE /api/liquor/restrictions({key})
Name | Description | Type | Additional Information |
key | System.Guid | Required |
None
None.
Method can return success code: NoContent - 204 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.
None.