POST {version}/GetTransactionAccounts
Get Accounts
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| version | string |
None. |
Body Parameters
Query| Name | Description | Type | Additional information |
|---|---|---|---|
| ActiveOnly | boolean |
None. |
|
| Ids | Collection of globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"ActiveOnly": true,
"Ids": [
"f3cf6791-b948-4042-867e-6281d4853c9f",
"cefcc654-ab29-4f66-8edb-9547595ca1d9"
]
}
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>f3cf6791-b948-4042-867e-6281d4853c9f</d2p1:guid>
<d2p1:guid>cefcc654-ab29-4f66-8edb-9547595ca1d9</d2p1:guid>
</Ids>
</Query>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
List of Account
Collection of Account| Name | Description | Type | Additional 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": "befbb7aa-bd84-4d50-bdea-9c3c9ad7b60d",
"Name": "sample string 2",
"Active": true,
"pcm_GUID": "99e49daa-99f3-4deb-a867-e27b06957fd4",
"id": "befbb7aa-bd84-4d50-bdea-9c3c9ad7b60d",
"Default": true
},
{
"GUID": "befbb7aa-bd84-4d50-bdea-9c3c9ad7b60d",
"Name": "sample string 2",
"Active": true,
"pcm_GUID": "99e49daa-99f3-4deb-a867-e27b06957fd4",
"id": "befbb7aa-bd84-4d50-bdea-9c3c9ad7b60d",
"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>befbb7aa-bd84-4d50-bdea-9c3c9ad7b60d</GUID>
<Name>sample string 2</Name>
<pcm_GUID>99e49daa-99f3-4deb-a867-e27b06957fd4</pcm_GUID>
</Account>
<Account>
<Active>true</Active>
<Default>true</Default>
<GUID>befbb7aa-bd84-4d50-bdea-9c3c9ad7b60d</GUID>
<Name>sample string 2</Name>
<pcm_GUID>99e49daa-99f3-4deb-a867-e27b06957fd4</pcm_GUID>
</Account>
</ArrayOfAccount>