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": [
    "89fd75a5-f867-47e5-ac20-7db328b72f99",
    "69e4b930-8626-4c6e-8f98-7b4d5b9a4416"
  ]
}

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>89fd75a5-f867-47e5-ac20-7db328b72f99</d2p1:guid>
    <d2p1:guid>69e4b930-8626-4c6e-8f98-7b4d5b9a4416</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": "69448a9a-6c7e-47a1-807e-3257b0bc7471",
    "Name": "sample string 2",
    "Active": true,
    "pcm_GUID": "ba3d9e78-04bd-4c25-977d-ef6398b1d156",
    "id": "69448a9a-6c7e-47a1-807e-3257b0bc7471",
    "Default": true
  },
  {
    "GUID": "69448a9a-6c7e-47a1-807e-3257b0bc7471",
    "Name": "sample string 2",
    "Active": true,
    "pcm_GUID": "ba3d9e78-04bd-4c25-977d-ef6398b1d156",
    "id": "69448a9a-6c7e-47a1-807e-3257b0bc7471",
    "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>69448a9a-6c7e-47a1-807e-3257b0bc7471</GUID>
    <Name>sample string 2</Name>
    <pcm_GUID>ba3d9e78-04bd-4c25-977d-ef6398b1d156</pcm_GUID>
  </Account>
  <Account>
    <Active>true</Active>
    <Default>true</Default>
    <GUID>69448a9a-6c7e-47a1-807e-3257b0bc7471</GUID>
    <Name>sample string 2</Name>
    <pcm_GUID>ba3d9e78-04bd-4c25-977d-ef6398b1d156</pcm_GUID>
  </Account>
</ArrayOfAccount>