GET api/v2/Account?email={email}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
string |
Required |
Body Parameters
None.
Response Information
Resource Description
AccountName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
DisplayName | string |
None. |
|
UserName | string |
None. |
|
SmtpAddress | string |
None. |
|
Site | Site |
None. |
|
ServiceRight | ObjectRight |
None. |
|
ServiceTypes | Collection of ServiceModel |
None. |
|
AllServiceTypes | Collection of ServiceModel |
None. |
|
AvailableServiceTypes | Collection of ServiceModel |
None. |
|
Parking | Parking |
None. |
|
Access | Access |
None. |
|
Service3 | Service3 |
None. |
|
Service4 | Service4 |
None. |
|
Service5 | Service5 |
None. |
|
Service6 | Service6 |
None. |
|
Notifications | ModeNotifications |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "DisplayName": "sample string 2", "UserName": "sample string 3", "SmtpAddress": "sample string 4", "Site": { "Id": 1, "Code": "sample string 2", "Name": "sample string 3" }, "ServiceRight": { "Name": "sample string 1", "Available": true }, "ServiceTypes": [ { "ID": 1, "Code": "sample string 2", "Title": "sample string 3", "Description": "sample string 4", "IconPath": "sample string 5", "IconPathCheck": "sample string 6", "Default": true, "Extra": true }, { "ID": 1, "Code": "sample string 2", "Title": "sample string 3", "Description": "sample string 4", "IconPath": "sample string 5", "IconPathCheck": "sample string 6", "Default": true, "Extra": true } ], "AllServiceTypes": [ { "ID": 1, "Code": "sample string 2", "Title": "sample string 3", "Description": "sample string 4", "IconPath": "sample string 5", "IconPathCheck": "sample string 6", "Default": true, "Extra": true }, { "ID": 1, "Code": "sample string 2", "Title": "sample string 3", "Description": "sample string 4", "IconPath": "sample string 5", "IconPathCheck": "sample string 6", "Default": true, "Extra": true } ], "AvailableServiceTypes": [ { "ID": 1, "Code": "sample string 2", "Title": "sample string 3", "Description": "sample string 4", "IconPath": "sample string 5", "IconPathCheck": "sample string 6", "Default": true, "Extra": true }, { "ID": 1, "Code": "sample string 2", "Title": "sample string 3", "Description": "sample string 4", "IconPath": "sample string 5", "IconPathCheck": "sample string 6", "Default": true, "Extra": true } ], "Parking": { "Numberplate": "sample string 1", "Id": 2, "Code": "sample string 3", "Name": "sample string 4" }, "Access": { "Id": 1, "Code": "sample string 2", "Name": "sample string 3" }, "Service3": { "Extra3": "sample string 1", "Id": 2, "Code": "sample string 3", "Name": "sample string 4" }, "Service4": { "Extra4": "sample string 1", "Id": 2, "Code": "sample string 3", "Name": "sample string 4" }, "Service5": { "Extra5": "sample string 1", "Id": 2, "Code": "sample string 3", "Name": "sample string 4" }, "Service6": { "Extra6": "sample string 1", "Id": 2, "Code": "sample string 3", "Name": "sample string 4" }, "Notifications": { "Email": true, "Sms": true, "Phone": true, "Teams": true } }
text/html
Sample:
{"Id":1,"DisplayName":"sample string 2","UserName":"sample string 3","SmtpAddress":"sample string 4","Site":{"Id":1,"Code":"sample string 2","Name":"sample string 3"},"ServiceRight":{"Name":"sample string 1","Available":true},"ServiceTypes":[{"ID":1,"Code":"sample string 2","Title":"sample string 3","Description":"sample string 4","IconPath":"sample string 5","IconPathCheck":"sample string 6","Default":true,"Extra":true},{"ID":1,"Code":"sample string 2","Title":"sample string 3","Description":"sample string 4","IconPath":"sample string 5","IconPathCheck":"sample string 6","Default":true,"Extra":true}],"AllServiceTypes":[{"ID":1,"Code":"sample string 2","Title":"sample string 3","Description":"sample string 4","IconPath":"sample string 5","IconPathCheck":"sample string 6","Default":true,"Extra":true},{"ID":1,"Code":"sample string 2","Title":"sample string 3","Description":"sample string 4","IconPath":"sample string 5","IconPathCheck":"sample string 6","Default":true,"Extra":true}],"AvailableServiceTypes":[{"ID":1,"Code":"sample string 2","Title":"sample string 3","Description":"sample string 4","IconPath":"sample string 5","IconPathCheck":"sample string 6","Default":true,"Extra":true},{"ID":1,"Code":"sample string 2","Title":"sample string 3","Description":"sample string 4","IconPath":"sample string 5","IconPathCheck":"sample string 6","Default":true,"Extra":true}],"Parking":{"Numberplate":"sample string 1","Id":2,"Code":"sample string 3","Name":"sample string 4"},"Access":{"Id":1,"Code":"sample string 2","Name":"sample string 3"},"Service3":{"Extra3":"sample string 1","Id":2,"Code":"sample string 3","Name":"sample string 4"},"Service4":{"Extra4":"sample string 1","Id":2,"Code":"sample string 3","Name":"sample string 4"},"Service5":{"Extra5":"sample string 1","Id":2,"Code":"sample string 3","Name":"sample string 4"},"Service6":{"Extra6":"sample string 1","Id":2,"Code":"sample string 3","Name":"sample string 4"},"Notifications":{"Email":true,"Sms":true,"Phone":true,"Teams":true}}
application/xml, text/xml
Sample:
<Account xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EasyWelcome.WebApi.Models"> <Access> <Code>sample string 2</Code> <Id>1</Id> <Name>sample string 3</Name> </Access> <AllServiceTypes> <ServiceModel> <Code>sample string 2</Code> <Default>true</Default> <Description>sample string 4</Description> <Extra>true</Extra> <ID>1</ID> <IconPath>sample string 5</IconPath> <IconPathCheck>sample string 6</IconPathCheck> <Title>sample string 3</Title> </ServiceModel> <ServiceModel> <Code>sample string 2</Code> <Default>true</Default> <Description>sample string 4</Description> <Extra>true</Extra> <ID>1</ID> <IconPath>sample string 5</IconPath> <IconPathCheck>sample string 6</IconPathCheck> <Title>sample string 3</Title> </ServiceModel> </AllServiceTypes> <AvailableServiceTypes> <ServiceModel> <Code>sample string 2</Code> <Default>true</Default> <Description>sample string 4</Description> <Extra>true</Extra> <ID>1</ID> <IconPath>sample string 5</IconPath> <IconPathCheck>sample string 6</IconPathCheck> <Title>sample string 3</Title> </ServiceModel> <ServiceModel> <Code>sample string 2</Code> <Default>true</Default> <Description>sample string 4</Description> <Extra>true</Extra> <ID>1</ID> <IconPath>sample string 5</IconPath> <IconPathCheck>sample string 6</IconPathCheck> <Title>sample string 3</Title> </ServiceModel> </AvailableServiceTypes> <DisplayName>sample string 2</DisplayName> <Id>1</Id> <Notifications> <Email>true</Email> <Phone>true</Phone> <Sms>true</Sms> <Teams>true</Teams> </Notifications> <Parking> <Code>sample string 3</Code> <Id>2</Id> <Name>sample string 4</Name> <Numberplate>sample string 1</Numberplate> </Parking> <Service3> <Code>sample string 3</Code> <Id>2</Id> <Name>sample string 4</Name> <Extra3>sample string 1</Extra3> </Service3> <Service4> <Code>sample string 3</Code> <Id>2</Id> <Name>sample string 4</Name> <Extra4>sample string 1</Extra4> </Service4> <Service5> <Code>sample string 3</Code> <Id>2</Id> <Name>sample string 4</Name> <Extra5>sample string 1</Extra5> </Service5> <Service6> <Code>sample string 3</Code> <Id>2</Id> <Name>sample string 4</Name> <Extra6>sample string 1</Extra6> </Service6> <ServiceRight> <Available>true</Available> <Name>sample string 1</Name> </ServiceRight> <ServiceTypes> <ServiceModel> <Code>sample string 2</Code> <Default>true</Default> <Description>sample string 4</Description> <Extra>true</Extra> <ID>1</ID> <IconPath>sample string 5</IconPath> <IconPathCheck>sample string 6</IconPathCheck> <Title>sample string 3</Title> </ServiceModel> <ServiceModel> <Code>sample string 2</Code> <Default>true</Default> <Description>sample string 4</Description> <Extra>true</Extra> <ID>1</ID> <IconPath>sample string 5</IconPath> <IconPathCheck>sample string 6</IconPathCheck> <Title>sample string 3</Title> </ServiceModel> </ServiceTypes> <Site> <Code>sample string 2</Code> <Id>1</Id> <Name>sample string 3</Name> </Site> <SmtpAddress>sample string 4</SmtpAddress> <UserName>sample string 3</UserName> </Account>