GET api/Gadget/GetClients?MyAccountId={MyAccountId}&Page={Page}
Get all clients from a specific account
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
MyAccountId | globally unique identifier |
Required |
|
Page | integer |
Default value is 1 |
Body Parameters
None.
Response Information
Resource Description
Collection of AccountName | Description | Type | Additional information |
---|---|---|---|
AccountId | globally unique identifier |
None. |
|
Name | string |
None. |
|
Code | string |
None. |
|
Address | string |
None. |
|
City | string |
None. |
|
Province | string |
None. |
|
Phone | string |
None. |
|
Fax | string |
None. |
|
ContactEmail | string |
None. |
|
ImageUrl | string |
None. |
|
GroupName | string |
None. |
|
BanckAccountNumber | string |
None. |
|
BankName | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "AccountId": "e08f1b46-5969-488a-a708-1881580e74e8", "Name": "sample string 2", "Code": "sample string 3", "Address": "sample string 4", "City": "sample string 5", "Province": "sample string 6", "Phone": "sample string 7", "Fax": "sample string 8", "ContactEmail": "sample string 9", "ImageUrl": "sample string 10", "GroupName": "sample string 11", "BanckAccountNumber": "sample string 12", "BankName": "sample string 13" }, { "AccountId": "e08f1b46-5969-488a-a708-1881580e74e8", "Name": "sample string 2", "Code": "sample string 3", "Address": "sample string 4", "City": "sample string 5", "Province": "sample string 6", "Phone": "sample string 7", "Fax": "sample string 8", "ContactEmail": "sample string 9", "ImageUrl": "sample string 10", "GroupName": "sample string 11", "BanckAccountNumber": "sample string 12", "BankName": "sample string 13" } ]
application/xml, text/xml
Sample:
<ArrayOfAccount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gosocket.SDK.Domain"> <Account> <_x003C_AccountId_x003E_k__BackingField>e08f1b46-5969-488a-a708-1881580e74e8</_x003C_AccountId_x003E_k__BackingField> <_x003C_Address_x003E_k__BackingField>sample string 4</_x003C_Address_x003E_k__BackingField> <_x003C_BanckAccountNumber_x003E_k__BackingField>sample string 12</_x003C_BanckAccountNumber_x003E_k__BackingField> <_x003C_BankName_x003E_k__BackingField>sample string 13</_x003C_BankName_x003E_k__BackingField> <_x003C_City_x003E_k__BackingField>sample string 5</_x003C_City_x003E_k__BackingField> <_x003C_Code_x003E_k__BackingField>sample string 3</_x003C_Code_x003E_k__BackingField> <_x003C_ContactEmail_x003E_k__BackingField>sample string 9</_x003C_ContactEmail_x003E_k__BackingField> <_x003C_Fax_x003E_k__BackingField>sample string 8</_x003C_Fax_x003E_k__BackingField> <_x003C_GroupName_x003E_k__BackingField>sample string 11</_x003C_GroupName_x003E_k__BackingField> <_x003C_ImageUrl_x003E_k__BackingField>sample string 10</_x003C_ImageUrl_x003E_k__BackingField> <_x003C_Name_x003E_k__BackingField>sample string 2</_x003C_Name_x003E_k__BackingField> <_x003C_Phone_x003E_k__BackingField>sample string 7</_x003C_Phone_x003E_k__BackingField> <_x003C_Province_x003E_k__BackingField>sample string 6</_x003C_Province_x003E_k__BackingField> </Account> <Account> <_x003C_AccountId_x003E_k__BackingField>e08f1b46-5969-488a-a708-1881580e74e8</_x003C_AccountId_x003E_k__BackingField> <_x003C_Address_x003E_k__BackingField>sample string 4</_x003C_Address_x003E_k__BackingField> <_x003C_BanckAccountNumber_x003E_k__BackingField>sample string 12</_x003C_BanckAccountNumber_x003E_k__BackingField> <_x003C_BankName_x003E_k__BackingField>sample string 13</_x003C_BankName_x003E_k__BackingField> <_x003C_City_x003E_k__BackingField>sample string 5</_x003C_City_x003E_k__BackingField> <_x003C_Code_x003E_k__BackingField>sample string 3</_x003C_Code_x003E_k__BackingField> <_x003C_ContactEmail_x003E_k__BackingField>sample string 9</_x003C_ContactEmail_x003E_k__BackingField> <_x003C_Fax_x003E_k__BackingField>sample string 8</_x003C_Fax_x003E_k__BackingField> <_x003C_GroupName_x003E_k__BackingField>sample string 11</_x003C_GroupName_x003E_k__BackingField> <_x003C_ImageUrl_x003E_k__BackingField>sample string 10</_x003C_ImageUrl_x003E_k__BackingField> <_x003C_Name_x003E_k__BackingField>sample string 2</_x003C_Name_x003E_k__BackingField> <_x003C_Phone_x003E_k__BackingField>sample string 7</_x003C_Phone_x003E_k__BackingField> <_x003C_Province_x003E_k__BackingField>sample string 6</_x003C_Province_x003E_k__BackingField> </Account> </ArrayOfAccount>