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": [
    "bc6b380f-6546-4fd9-b6a0-088feb8485ca",
    "303095a5-0bfb-4581-8e46-fd19b13572dc"
  ]
}

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>bc6b380f-6546-4fd9-b6a0-088feb8485ca</d2p1:guid>
    <d2p1:guid>303095a5-0bfb-4581-8e46-fd19b13572dc</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": "55b7fa8b-6bd9-4295-81b4-a7c764efb5c1",
    "Name": "sample string 2",
    "Active": true,
    "pcm_GUID": "02b68642-951b-4eb8-bf91-da70b3c09c9b",
    "id": "55b7fa8b-6bd9-4295-81b4-a7c764efb5c1",
    "Default": true
  },
  {
    "GUID": "55b7fa8b-6bd9-4295-81b4-a7c764efb5c1",
    "Name": "sample string 2",
    "Active": true,
    "pcm_GUID": "02b68642-951b-4eb8-bf91-da70b3c09c9b",
    "id": "55b7fa8b-6bd9-4295-81b4-a7c764efb5c1",
    "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>55b7fa8b-6bd9-4295-81b4-a7c764efb5c1</GUID>
    <Name>sample string 2</Name>
    <pcm_GUID>02b68642-951b-4eb8-bf91-da70b3c09c9b</pcm_GUID>
  </Account>
  <Account>
    <Active>true</Active>
    <Default>true</Default>
    <GUID>55b7fa8b-6bd9-4295-81b4-a7c764efb5c1</GUID>
    <Name>sample string 2</Name>
    <pcm_GUID>02b68642-951b-4eb8-bf91-da70b3c09c9b</pcm_GUID>
  </Account>
</ArrayOfAccount>