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": [
    "6154750a-f3be-43b6-8dd3-b2d8efff7624",
    "c5f89a70-b9a9-455f-b8f9-293f20d69fc6"
  ]
}

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>6154750a-f3be-43b6-8dd3-b2d8efff7624</d2p1:guid>
    <d2p1:guid>c5f89a70-b9a9-455f-b8f9-293f20d69fc6</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": "bfa7e16b-6bf8-41bb-93ec-ab74f5f2b8ef",
    "Name": "sample string 2",
    "Active": true,
    "pcm_GUID": "dda289f3-ea57-4a77-aca2-f3caccc0abb2",
    "id": "bfa7e16b-6bf8-41bb-93ec-ab74f5f2b8ef",
    "Default": true
  },
  {
    "GUID": "bfa7e16b-6bf8-41bb-93ec-ab74f5f2b8ef",
    "Name": "sample string 2",
    "Active": true,
    "pcm_GUID": "dda289f3-ea57-4a77-aca2-f3caccc0abb2",
    "id": "bfa7e16b-6bf8-41bb-93ec-ab74f5f2b8ef",
    "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>bfa7e16b-6bf8-41bb-93ec-ab74f5f2b8ef</GUID>
    <Name>sample string 2</Name>
    <pcm_GUID>dda289f3-ea57-4a77-aca2-f3caccc0abb2</pcm_GUID>
  </Account>
  <Account>
    <Active>true</Active>
    <Default>true</Default>
    <GUID>bfa7e16b-6bf8-41bb-93ec-ab74f5f2b8ef</GUID>
    <Name>sample string 2</Name>
    <pcm_GUID>dda289f3-ea57-4a77-aca2-f3caccc0abb2</pcm_GUID>
  </Account>
</ArrayOfAccount>