All Verbs | /account |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Provider | form | string | No | |
UserId | form | string | No | |
UserName | form | string | No | |
FullName | form | string | No | |
DisplayName | form | string | No | |
FirstName | form | string | No | |
LastName | form | string | No | |
Company | form | string | No | |
form | string | No | ||
PhoneNumber | form | string | No | |
BirthDate | form | DateTime? | No | |
BirthDateRaw | form | string | No | |
Address | form | string | No | |
Address2 | form | string | No | |
City | form | string | No | |
State | form | string | No | |
Country | form | string | No | |
Culture | form | string | No | |
Gender | form | string | No | |
Language | form | string | No | |
MailAddress | form | string | No | |
Nickname | form | string | No | |
PostalCode | form | string | No | |
TimeZone | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /account HTTP/1.1
Host: test.servicestack.net
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<GetUserDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Test.ServiceInterface" />
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <GetUserDetailsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Test.ServiceInterface"> <Address>String</Address> <Address2>String</Address2> <BirthDate>0001-01-01T00:00:00</BirthDate> <BirthDateRaw>String</BirthDateRaw> <City>String</City> <Company>String</Company> <Country>String</Country> <Culture>String</Culture> <DisplayName>String</DisplayName> <Email>String</Email> <FirstName>String</FirstName> <FullName>String</FullName> <Gender>String</Gender> <Language>String</Language> <LastName>String</LastName> <MailAddress>String</MailAddress> <Nickname>String</Nickname> <PhoneNumber>String</PhoneNumber> <PostalCode>String</PostalCode> <Provider>String</Provider> <State>String</State> <TimeZone>String</TimeZone> <UserId>String</UserId> <UserName>String</UserName> </GetUserDetailsResponse>