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": [
    "3a26f79e-30cc-4fb3-8a10-a2d80a9b2b54",
    "faab74f9-eed2-469f-b7c9-289d8002650e"
  ]
}

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>3a26f79e-30cc-4fb3-8a10-a2d80a9b2b54</d2p1:guid>
    <d2p1:guid>faab74f9-eed2-469f-b7c9-289d8002650e</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": "eb995ee4-883b-4587-a9b6-734fb9799aa2",
    "Name": "sample string 2",
    "Active": true,
    "pcm_GUID": "e83dc42d-e6c6-45d7-810b-837cc0b16ea1",
    "id": "eb995ee4-883b-4587-a9b6-734fb9799aa2",
    "Default": true
  },
  {
    "GUID": "eb995ee4-883b-4587-a9b6-734fb9799aa2",
    "Name": "sample string 2",
    "Active": true,
    "pcm_GUID": "e83dc42d-e6c6-45d7-810b-837cc0b16ea1",
    "id": "eb995ee4-883b-4587-a9b6-734fb9799aa2",
    "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>eb995ee4-883b-4587-a9b6-734fb9799aa2</GUID>
    <Name>sample string 2</Name>
    <pcm_GUID>e83dc42d-e6c6-45d7-810b-837cc0b16ea1</pcm_GUID>
  </Account>
  <Account>
    <Active>true</Active>
    <Default>true</Default>
    <GUID>eb995ee4-883b-4587-a9b6-734fb9799aa2</GUID>
    <Name>sample string 2</Name>
    <pcm_GUID>e83dc42d-e6c6-45d7-810b-837cc0b16ea1</pcm_GUID>
  </Account>
</ArrayOfAccount>