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": [
    "01bcfbb8-10c7-4dcf-8276-862194152466",
    "77cde3fb-7d15-4021-af6d-c1d02a73ab67"
  ]
}

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>01bcfbb8-10c7-4dcf-8276-862194152466</d2p1:guid>
    <d2p1:guid>77cde3fb-7d15-4021-af6d-c1d02a73ab67</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": "eec93bca-72d2-4d6a-832a-62a9f9f88e17",
    "Name": "sample string 2",
    "Active": true,
    "pcm_GUID": "4ffc895c-fcfe-4841-8e6d-95dbf34d85bf",
    "id": "eec93bca-72d2-4d6a-832a-62a9f9f88e17",
    "Default": true
  },
  {
    "GUID": "eec93bca-72d2-4d6a-832a-62a9f9f88e17",
    "Name": "sample string 2",
    "Active": true,
    "pcm_GUID": "4ffc895c-fcfe-4841-8e6d-95dbf34d85bf",
    "id": "eec93bca-72d2-4d6a-832a-62a9f9f88e17",
    "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>eec93bca-72d2-4d6a-832a-62a9f9f88e17</GUID>
    <Name>sample string 2</Name>
    <pcm_GUID>4ffc895c-fcfe-4841-8e6d-95dbf34d85bf</pcm_GUID>
  </Account>
  <Account>
    <Active>true</Active>
    <Default>true</Default>
    <GUID>eec93bca-72d2-4d6a-832a-62a9f9f88e17</GUID>
    <Name>sample string 2</Name>
    <pcm_GUID>4ffc895c-fcfe-4841-8e6d-95dbf34d85bf</pcm_GUID>
  </Account>
</ArrayOfAccount>