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": [
    "34e71eda-a7e5-4dc0-beda-01278f0dc2ac",
    "6db3e398-90a2-4bf8-886d-aea2da811f4f"
  ]
}

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>34e71eda-a7e5-4dc0-beda-01278f0dc2ac</d2p1:guid>
    <d2p1:guid>6db3e398-90a2-4bf8-886d-aea2da811f4f</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": "0b944c72-5d4c-41f0-b5f5-3b5f6b78106d",
    "Name": "sample string 2",
    "Active": true,
    "pcm_GUID": "e2c0d9bd-2bd3-42ed-96df-29686dc420d9",
    "id": "0b944c72-5d4c-41f0-b5f5-3b5f6b78106d",
    "Default": true
  },
  {
    "GUID": "0b944c72-5d4c-41f0-b5f5-3b5f6b78106d",
    "Name": "sample string 2",
    "Active": true,
    "pcm_GUID": "e2c0d9bd-2bd3-42ed-96df-29686dc420d9",
    "id": "0b944c72-5d4c-41f0-b5f5-3b5f6b78106d",
    "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>0b944c72-5d4c-41f0-b5f5-3b5f6b78106d</GUID>
    <Name>sample string 2</Name>
    <pcm_GUID>e2c0d9bd-2bd3-42ed-96df-29686dc420d9</pcm_GUID>
  </Account>
  <Account>
    <Active>true</Active>
    <Default>true</Default>
    <GUID>0b944c72-5d4c-41f0-b5f5-3b5f6b78106d</GUID>
    <Name>sample string 2</Name>
    <pcm_GUID>e2c0d9bd-2bd3-42ed-96df-29686dc420d9</pcm_GUID>
  </Account>
</ArrayOfAccount>