FrameAppWS

<back to all web services

GetPopupInfoRQ

The following routes are available for this service:
All Verbs/layers/getpopupinfo
import datetime
import decimal
from marshmallow.fields import *
from servicestack import *
from typing import *
from dataclasses import dataclass, field
from dataclasses_json import dataclass_json, LetterCase, Undefined, config
from enum import Enum, IntEnum


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class CoreRS:
    code: Optional[str] = None
    error_message: Optional[str] = None
    error_stack_trace: Optional[str] = None


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class ListDictionaryRS(CoreRS):
    data: Optional[List[Dict[str, Object]]] = None


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class GetPopupInfoRQ:
    layer_type: Optional[int] = None
    point_id: Optional[int] = None
    source: Optional[str] = None
    is_public_access: Optional[str] = None

Python GetPopupInfoRQ DTOs

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

HTTP + JSV

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

POST /layers/getpopupinfo HTTP/1.1 
Host: ws.jimsnwa.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	LayerType: 0,
	PointId: 0,
	Source: String,
	IsPublicAccess: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Data: 
	[
		{
			String: {}
		}
	],
	Code: String,
	ErrorMessage: String,
	ErrorStackTrace: String
}