GET UserAccountChooser/LoadAll?SessionId={SessionId}&CompanyId={CompanyId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| SessionId | string |
None. |
|
| CompanyId | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
ListReplyOfUserAccountChooserRecord| Name | Description | Type | Additional information |
|---|---|---|---|
| total | integer |
None. |
|
| data | Collection of UserAccountChooserRecord |
None. |
|
| errorCode | integer |
None. |
|
| error | string |
None. |
|
| top | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"data": [
{
"id": 1,
"accountId": 2,
"toCompanyId": 3,
"toAccountId": 4,
"companyId": 5,
"toCompanyName": "sample string 6"
},
{
"id": 1,
"accountId": 2,
"toCompanyId": 3,
"toAccountId": 4,
"companyId": 5,
"toCompanyName": "sample string 6"
}
],
"errorCode": 1,
"error": "sample string 2",
"top": 3,
"total": 2
}
text/javascript
Sample:
{"data":[{"id":1,"accountId":2,"toCompanyId":3,"toAccountId":4,"companyId":5,"toCompanyName":"sample string 6"},{"id":1,"accountId":2,"toCompanyId":3,"toAccountId":4,"companyId":5,"toCompanyName":"sample string 6"}],"errorCode":1,"error":"sample string 2","top":3,"total":2}
application/xml, text/xml
Sample:
<ListReplyOfUserAccountChooserRecordkk83S2m2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/T8UtilityLib.Models">
<data xmlns:d2p1="http://schemas.datacontract.org/2004/07/T8LSPModel.Super">
<d2p1:UserAccountChooserRecord>
<d2p1:accountId>2</d2p1:accountId>
<d2p1:companyId>5</d2p1:companyId>
<d2p1:id>1</d2p1:id>
<d2p1:toAccountId>4</d2p1:toAccountId>
<d2p1:toCompanyId>3</d2p1:toCompanyId>
<d2p1:toCompanyName>sample string 6</d2p1:toCompanyName>
</d2p1:UserAccountChooserRecord>
<d2p1:UserAccountChooserRecord>
<d2p1:accountId>2</d2p1:accountId>
<d2p1:companyId>5</d2p1:companyId>
<d2p1:id>1</d2p1:id>
<d2p1:toAccountId>4</d2p1:toAccountId>
<d2p1:toCompanyId>3</d2p1:toCompanyId>
<d2p1:toCompanyName>sample string 6</d2p1:toCompanyName>
</d2p1:UserAccountChooserRecord>
</data>
<error>sample string 2</error>
<errorCode>1</errorCode>
<top>3</top>
</ListReplyOfUserAccountChooserRecordkk83S2m2>
application/x-protobuf
Sample: