| 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 .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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/json
Content-Type: application/json
Content-Length: length
{}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"provider":"String","userId":"String","userName":"String","fullName":"String","displayName":"String","firstName":"String","lastName":"String","company":"String","email":"String","phoneNumber":"String","birthDate":"\/Date(-62135596800000-0000)\/","birthDateRaw":"String","address":"String","address2":"String","city":"String","state":"String","country":"String","culture":"String","gender":"String","language":"String","mailAddress":"String","nickname":"String","postalCode":"String","timeZone":"String"}