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": [
"331cdf46-7171-4ace-b1fe-697ca3ac62b6",
"723afc07-9f89-430b-a87f-74f03e2d47ac"
]
}
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>331cdf46-7171-4ace-b1fe-697ca3ac62b6</d2p1:guid>
<d2p1:guid>723afc07-9f89-430b-a87f-74f03e2d47ac</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": "806570d0-b3f5-465d-ac15-77e96fdc48ab",
"Name": "sample string 2",
"Active": true,
"pcm_GUID": "4da7d1a7-d3ab-4a85-9102-965f10db1693",
"id": "806570d0-b3f5-465d-ac15-77e96fdc48ab",
"Default": true
},
{
"GUID": "806570d0-b3f5-465d-ac15-77e96fdc48ab",
"Name": "sample string 2",
"Active": true,
"pcm_GUID": "4da7d1a7-d3ab-4a85-9102-965f10db1693",
"id": "806570d0-b3f5-465d-ac15-77e96fdc48ab",
"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>806570d0-b3f5-465d-ac15-77e96fdc48ab</GUID>
<Name>sample string 2</Name>
<pcm_GUID>4da7d1a7-d3ab-4a85-9102-965f10db1693</pcm_GUID>
</Account>
<Account>
<Active>true</Active>
<Default>true</Default>
<GUID>806570d0-b3f5-465d-ac15-77e96fdc48ab</GUID>
<Name>sample string 2</Name>
<pcm_GUID>4da7d1a7-d3ab-4a85-9102-965f10db1693</pcm_GUID>
</Account>
</ArrayOfAccount>