GET api/Customer?username={username}&password={password}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
username | string |
Required |
|
password | string |
Required |
Body Parameters
None.
Response Information
Resource Description
CustomerDTOName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
RegionID | integer |
None. |
|
Name | string |
None. |
|
FirstName | string |
None. |
|
LastName | string |
None. |
|
ContactTel | string |
None. |
|
EmailAddress | string |
None. |
|
AddressLine1 | string |
None. |
|
AddressLine2 | string |
None. |
|
Suburb | string |
None. |
|
Province | string |
None. |
|
Username | string |
None. |
|
Password | string |
None. |
|
InActive | boolean |
None. |
|
IsDeleted | boolean |
None. |
|
RegionName | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "ID": 1, "RegionID": 2, "Name": "sample string 3", "FirstName": "sample string 4", "LastName": "sample string 5", "ContactTel": "sample string 6", "EmailAddress": "sample string 7", "AddressLine1": "sample string 8", "AddressLine2": "sample string 9", "Suburb": "sample string 10", "Province": "sample string 11", "Username": "sample string 12", "Password": "sample string 13", "InActive": true, "IsDeleted": true, "RegionName": "sample string 16" }
application/xml, text/xml
Sample:
<CustomerDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.DTO"> <AddressLine1>sample string 8</AddressLine1> <AddressLine2>sample string 9</AddressLine2> <ContactTel>sample string 6</ContactTel> <EmailAddress>sample string 7</EmailAddress> <FirstName>sample string 4</FirstName> <ID>1</ID> <InActive>true</InActive> <IsDeleted>true</IsDeleted> <LastName>sample string 5</LastName> <Name>sample string 3</Name> <Password>sample string 13</Password> <Province>sample string 11</Province> <RegionID>2</RegionID> <RegionName>sample string 16</RegionName> <Suburb>sample string 10</Suburb> <Username>sample string 12</Username> </CustomerDTO>