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": [
"78e932df-8301-4dc7-83d3-aba30c6b66bc",
"815dc7d3-7260-42c9-af1c-63a3ac216f46"
]
}
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>78e932df-8301-4dc7-83d3-aba30c6b66bc</d2p1:guid>
<d2p1:guid>815dc7d3-7260-42c9-af1c-63a3ac216f46</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": "796e7ecd-db2f-4eb9-86ca-c6187da9da92",
"Name": "sample string 2",
"Active": true,
"pcm_GUID": "8778d393-01df-4a79-900a-86f37589d6a7",
"id": "796e7ecd-db2f-4eb9-86ca-c6187da9da92",
"Default": true
},
{
"GUID": "796e7ecd-db2f-4eb9-86ca-c6187da9da92",
"Name": "sample string 2",
"Active": true,
"pcm_GUID": "8778d393-01df-4a79-900a-86f37589d6a7",
"id": "796e7ecd-db2f-4eb9-86ca-c6187da9da92",
"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>796e7ecd-db2f-4eb9-86ca-c6187da9da92</GUID>
<Name>sample string 2</Name>
<pcm_GUID>8778d393-01df-4a79-900a-86f37589d6a7</pcm_GUID>
</Account>
<Account>
<Active>true</Active>
<Default>true</Default>
<GUID>796e7ecd-db2f-4eb9-86ca-c6187da9da92</GUID>
<Name>sample string 2</Name>
<pcm_GUID>8778d393-01df-4a79-900a-86f37589d6a7</pcm_GUID>
</Account>
</ArrayOfAccount>