| All Verbs | /GetRemAddresses |
|---|
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 RemAddressInfo:
rem_address_ıd: int = 0
rem_sp_ıd: int = 0
rem_adress: Optional[str] = None
user_s_s_n: Optional[str] = None
officer_code: Optional[str] = None
password: Optional[str] = None
expire_date: Optional[datetime.datetime] = None
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class GetRemAddresses_Response:
result: bool = False
service_success_result: bool = False
error_mesage: Optional[str] = None
rem_address: Optional[RemAddressInfo] = None
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class GetRemAddresses:
authorization_ı_d: Optional[str] = None
rem_address_ıd: int = 0
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /GetRemAddresses HTTP/1.1
Host: remservices.eyyubiye.bel.tr
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
AuthorizationID: String,
RemAddressId: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Result: False,
ServiceSuccessResult: False,
ErrorMesage: String,
RemAddress:
{
RemAddressId: 0,
RemSpId: 0,
RemAdress: String,
UserSSN: String,
OfficerCode: String,
Password: String,
ExpireDate: 0001-01-01
}
}