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": [
    "1da1b1c2-b748-4ec3-b098-c364f7c2ffcb",
    "fabb8f97-8682-4793-a3bf-ebb96a8df87f"
  ]
}

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>1da1b1c2-b748-4ec3-b098-c364f7c2ffcb</d2p1:guid>
    <d2p1:guid>fabb8f97-8682-4793-a3bf-ebb96a8df87f</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": "cc687e8a-f88e-4d94-8a36-6fbe525a659a",
    "Name": "sample string 2",
    "Active": true,
    "pcm_GUID": "01869f65-18a2-4177-bce4-7ba688f9f04b",
    "id": "cc687e8a-f88e-4d94-8a36-6fbe525a659a",
    "Default": true
  },
  {
    "GUID": "cc687e8a-f88e-4d94-8a36-6fbe525a659a",
    "Name": "sample string 2",
    "Active": true,
    "pcm_GUID": "01869f65-18a2-4177-bce4-7ba688f9f04b",
    "id": "cc687e8a-f88e-4d94-8a36-6fbe525a659a",
    "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>cc687e8a-f88e-4d94-8a36-6fbe525a659a</GUID>
    <Name>sample string 2</Name>
    <pcm_GUID>01869f65-18a2-4177-bce4-7ba688f9f04b</pcm_GUID>
  </Account>
  <Account>
    <Active>true</Active>
    <Default>true</Default>
    <GUID>cc687e8a-f88e-4d94-8a36-6fbe525a659a</GUID>
    <Name>sample string 2</Name>
    <pcm_GUID>01869f65-18a2-4177-bce4-7ba688f9f04b</pcm_GUID>
  </Account>
</ArrayOfAccount>