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": [
    "78a61b94-bc8c-4b6c-a7bf-da38a5160159",
    "3f5f9d2a-9921-4da4-ae5f-30a47483e1b3"
  ]
}

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>78a61b94-bc8c-4b6c-a7bf-da38a5160159</d2p1:guid>
    <d2p1:guid>3f5f9d2a-9921-4da4-ae5f-30a47483e1b3</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": "e66a61d1-995f-4ca0-a2f7-d2edbbbac691",
    "Name": "sample string 2",
    "Active": true,
    "pcm_GUID": "9f380bb1-47ba-40d2-988b-eb008ddb6fca",
    "id": "e66a61d1-995f-4ca0-a2f7-d2edbbbac691",
    "Default": true
  },
  {
    "GUID": "e66a61d1-995f-4ca0-a2f7-d2edbbbac691",
    "Name": "sample string 2",
    "Active": true,
    "pcm_GUID": "9f380bb1-47ba-40d2-988b-eb008ddb6fca",
    "id": "e66a61d1-995f-4ca0-a2f7-d2edbbbac691",
    "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>e66a61d1-995f-4ca0-a2f7-d2edbbbac691</GUID>
    <Name>sample string 2</Name>
    <pcm_GUID>9f380bb1-47ba-40d2-988b-eb008ddb6fca</pcm_GUID>
  </Account>
  <Account>
    <Active>true</Active>
    <Default>true</Default>
    <GUID>e66a61d1-995f-4ca0-a2f7-d2edbbbac691</GUID>
    <Name>sample string 2</Name>
    <pcm_GUID>9f380bb1-47ba-40d2-988b-eb008ddb6fca</pcm_GUID>
  </Account>
</ArrayOfAccount>