| GET | /signup/api/user/{userID}/dob/{dob}/standardSignup/memberInfo |
|---|
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 StandardSignupFormMemberInfoGetRq(IApiRequest):
user_i_d: Optional[int] = None
dob: Optional[str] = None
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class AddressDto:
address1: Optional[str] = None
address2: Optional[str] = None
city: Optional[str] = None
state: Optional[str] = None
zip_code: Optional[str] = None
country: Optional[str] = None
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class MemberDto:
user_i_d: Optional[int] = None
first_name: Optional[str] = None
middle_name: Optional[str] = None
last_name: Optional[str] = None
email: Optional[str] = None
phone: Optional[str] = None
client_user_id: Optional[str] = None
date_of_birth: Optional[str] = None
address: Optional[AddressDto] = None
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class StandardSignupFormMemberInfoGetRs(IApiResponse):
member_info: Optional[MemberDto] = None
Python StandardSignupFormMemberInfoGetRq DTOs
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.
GET /signup/api/user/{userID}/dob/{dob}/standardSignup/memberInfo HTTP/1.1
Host: devapi.billhighway.com
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
MemberInfo:
{
UserID: 0,
FirstName: String,
MiddleName: String,
LastName: String,
Email: String,
Phone: String,
ClientUserId: String,
DateOfBirth: String,
Address:
{
Address1: String,
Address2: String,
City: String,
State: String,
ZipCode: String,
Country: String
}
}
}