GET UserAccountChooser/LoadAll?SessionId={SessionId}&CompanyId={CompanyId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
SessionId

string

None.

CompanyId

integer

None.

Body Parameters

None.

Response Information

Resource Description

ListReplyOfUserAccountChooserRecord
NameDescriptionTypeAdditional 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:

An exception has occurred while using the formatter 'ProtoBufFormatter' to generate sample for media type 'application/x-protobuf'. Exception message: Type is not expected, and no contract can be inferred: T8UtilityLib.Models.ListReply`1[[T8LSPModel.Super.UserAccountChooserRecord, T8LSPModel, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]