POST {version}/GetTransactionAccounts

Get Accounts

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

Query
NameDescriptionTypeAdditional information
ActiveOnly

boolean

None.

Ids

Collection of globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "ActiveOnly": true,
  "Ids": [
    "f8d09e83-d357-48c3-a70c-187ff7241f2e",
    "a7f71a33-e270-4c6b-a7c9-1b30e5595c99"
  ]
}

application/xml, text/xml

Sample:
<Query xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aristotle.CM.Model">
  <ActiveOnly>true</ActiveOnly>
  <Ids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>f8d09e83-d357-48c3-a70c-187ff7241f2e</d2p1:guid>
    <d2p1:guid>a7f71a33-e270-4c6b-a7c9-1b30e5595c99</d2p1:guid>
  </Ids>
</Query>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

List of Account

Collection of Account
NameDescriptionTypeAdditional information
GUID

globally unique identifier

None.

Name

string

None.

Active

boolean

None.

pcm_GUID

globally unique identifier

None.

id

globally unique identifier

None.

Default

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "GUID": "28068104-3c5c-469e-a719-69ad5a0eab8c",
    "Name": "sample string 2",
    "Active": true,
    "pcm_GUID": "01b7f693-4a47-45b2-99ea-b1f0fc83c691",
    "id": "28068104-3c5c-469e-a719-69ad5a0eab8c",
    "Default": true
  },
  {
    "GUID": "28068104-3c5c-469e-a719-69ad5a0eab8c",
    "Name": "sample string 2",
    "Active": true,
    "pcm_GUID": "01b7f693-4a47-45b2-99ea-b1f0fc83c691",
    "id": "28068104-3c5c-469e-a719-69ad5a0eab8c",
    "Default": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfAccount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aristotle.CM.Model">
  <Account>
    <Active>true</Active>
    <Default>true</Default>
    <GUID>28068104-3c5c-469e-a719-69ad5a0eab8c</GUID>
    <Name>sample string 2</Name>
    <pcm_GUID>01b7f693-4a47-45b2-99ea-b1f0fc83c691</pcm_GUID>
  </Account>
  <Account>
    <Active>true</Active>
    <Default>true</Default>
    <GUID>28068104-3c5c-469e-a719-69ad5a0eab8c</GUID>
    <Name>sample string 2</Name>
    <pcm_GUID>01b7f693-4a47-45b2-99ea-b1f0fc83c691</pcm_GUID>
  </Account>
</ArrayOfAccount>