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": [
"82867028-d45d-41f1-97ae-3381afc153d1",
"185e9ea9-f5ca-4f42-909e-72a958b77cab"
]
}
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>82867028-d45d-41f1-97ae-3381afc153d1</d2p1:guid>
<d2p1:guid>185e9ea9-f5ca-4f42-909e-72a958b77cab</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": "28dbae9e-32a0-4fc7-92f1-97e2fbc337f8",
"Name": "sample string 2",
"Active": true,
"pcm_GUID": "1e72697d-b166-4783-9b91-00c8709dd50d",
"id": "28dbae9e-32a0-4fc7-92f1-97e2fbc337f8",
"Default": true
},
{
"GUID": "28dbae9e-32a0-4fc7-92f1-97e2fbc337f8",
"Name": "sample string 2",
"Active": true,
"pcm_GUID": "1e72697d-b166-4783-9b91-00c8709dd50d",
"id": "28dbae9e-32a0-4fc7-92f1-97e2fbc337f8",
"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>28dbae9e-32a0-4fc7-92f1-97e2fbc337f8</GUID>
<Name>sample string 2</Name>
<pcm_GUID>1e72697d-b166-4783-9b91-00c8709dd50d</pcm_GUID>
</Account>
<Account>
<Active>true</Active>
<Default>true</Default>
<GUID>28dbae9e-32a0-4fc7-92f1-97e2fbc337f8</GUID>
<Name>sample string 2</Name>
<pcm_GUID>1e72697d-b166-4783-9b91-00c8709dd50d</pcm_GUID>
</Account>
</ArrayOfAccount>