| GET | /mobileb/smartspace | Gets a smartspace by Id or invalidates the request if the business user does not have active access. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ThingId | query | string | Yes | Thing ID |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Version | form | integer | No | Api version |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Data | form | ThingViewExtended | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ImageUrl | form | string | No | |
| ThingType | form | ThingTypeBasicView | No | |
| ThingDefinition | form | ThingDefinitionView | No | |
| UserAccesses | form | List<UserAccessView> | No | |
| States | form | Dictionary<string, List<StateValueView>> | No | |
| Properties | form | Dictionary<string, string> | No | |
| ThingsByCategory | form | List<ThingCategoryView> | No | |
| Organization | form | OrganizationDto | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | Guid | No | |
| OrganizationId | form | Guid | No | |
| Name | form | string | No | |
| Order | form | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | Guid | No | |
| Name | form | string | No | |
| SysTypeName | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | Guid | No | |
| OrganizationId | form | Guid | No | |
| Name | form | string | No | |
| Description | form | string | No | |
| Properties | form | Dictionary<string, Object> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | Guid | No | |
| UserId | form | int | No | |
| BusinessUserId | form | int | No | |
| ValidFrom | form | DateTime | No | |
| ValidTo | form | DateTime? | No | |
| ActiveFrom | form | DateTime | No | |
| AccessCount | form | int? | No | |
| TicketNumber | form | string | No | |
| QueuePosition | form | int? | No | |
| CanEnterWithTicket | form | bool | No | |
| Permission | form | List<string> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Things | form | List<ThingViewExtended> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | Guid | No | |
| Name | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | Guid? | No | |
| Code | form | string | No |
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.
GET /mobileb/smartspace HTTP/1.1 Host: api.4spaces.io Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{Unable to show example output for type 'SmartSpaceResponse' using the custom 'csv' filter}One or more errors occurred. (Unable to cast object of type 'ServiceStack.Host.BasicResponse' to type 'ServiceStack.Host.NetCore.NetCoreResponse'.)