GET TerminalLinks?page={page}&pageSize={pageSize}
Finds a terminal along with its merchant account links, if they exist. Results returned are ordered by the terminal external id, studio name and location id.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
page | integer |
Required |
|
pageSize | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
FindTerminalLinksResponseName | Description | Type | Additional information |
---|---|---|---|
TotalTerminalLinks | integer |
None. |
|
PageIndex | integer |
None. |
|
PageSize | integer |
None. |
|
TerminalLinks | Collection of TerminalLink |
None. |
Response Formats
application/json, text/json
Sample:
{ "TotalTerminalLinks": 1, "PageIndex": 2, "PageSize": 3, "TerminalLinks": [ { "Terminal": { "TerminalId": 1, "TerminalType": "sample string 2", "TerminalTypeId": 3, "ExternalId": "sample string 4", "TerminalName": "sample string 5" }, "MerchantAccountLinks": [ { "TerminalMerchantAccountId": 1, "IsActive": true, "MerchantAccount": { "MerchantAccountId": 1, "PaymentServiceId": 2, "MerchantId": "sample string 3", "MerchantTerminalId": "sample string 4" }, "Location": { "MasterLocationId": 1, "SubscriberId": 2, "SubscriberName": "sample string 3", "LocationId": 4, "LocationName": "sample string 5" } }, { "TerminalMerchantAccountId": 1, "IsActive": true, "MerchantAccount": { "MerchantAccountId": 1, "PaymentServiceId": 2, "MerchantId": "sample string 3", "MerchantTerminalId": "sample string 4" }, "Location": { "MasterLocationId": 1, "SubscriberId": 2, "SubscriberName": "sample string 3", "LocationId": 4, "LocationName": "sample string 5" } } ] }, { "Terminal": { "TerminalId": 1, "TerminalType": "sample string 2", "TerminalTypeId": 3, "ExternalId": "sample string 4", "TerminalName": "sample string 5" }, "MerchantAccountLinks": [ { "TerminalMerchantAccountId": 1, "IsActive": true, "MerchantAccount": { "MerchantAccountId": 1, "PaymentServiceId": 2, "MerchantId": "sample string 3", "MerchantTerminalId": "sample string 4" }, "Location": { "MasterLocationId": 1, "SubscriberId": 2, "SubscriberName": "sample string 3", "LocationId": 4, "LocationName": "sample string 5" } }, { "TerminalMerchantAccountId": 1, "IsActive": true, "MerchantAccount": { "MerchantAccountId": 1, "PaymentServiceId": 2, "MerchantId": "sample string 3", "MerchantTerminalId": "sample string 4" }, "Location": { "MasterLocationId": 1, "SubscriberId": 2, "SubscriberName": "sample string 3", "LocationId": 4, "LocationName": "sample string 5" } } ] } ] }
application/xml, text/xml
Sample:
<FindTerminalLinksResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Subscriber.Responses"> <PageIndex>2</PageIndex> <PageSize>3</PageSize> <TerminalLinks xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Subscriber.Models.Subscriber"> <d2p1:TerminalLink> <d2p1:MerchantAccountLinks> <d2p1:TerminalMerchantAccountLink> <d2p1:IsActive>true</d2p1:IsActive> <d2p1:Location> <d2p1:LocationId>4</d2p1:LocationId> <d2p1:LocationName>sample string 5</d2p1:LocationName> <d2p1:MasterLocationId>1</d2p1:MasterLocationId> <d2p1:SubscriberId>2</d2p1:SubscriberId> <d2p1:SubscriberName>sample string 3</d2p1:SubscriberName> </d2p1:Location> <d2p1:MerchantAccount> <d2p1:MerchantAccountId>1</d2p1:MerchantAccountId> <d2p1:MerchantId>sample string 3</d2p1:MerchantId> <d2p1:MerchantTerminalId>sample string 4</d2p1:MerchantTerminalId> <d2p1:PaymentServiceId>2</d2p1:PaymentServiceId> </d2p1:MerchantAccount> <d2p1:TerminalMerchantAccountId>1</d2p1:TerminalMerchantAccountId> </d2p1:TerminalMerchantAccountLink> <d2p1:TerminalMerchantAccountLink> <d2p1:IsActive>true</d2p1:IsActive> <d2p1:Location> <d2p1:LocationId>4</d2p1:LocationId> <d2p1:LocationName>sample string 5</d2p1:LocationName> <d2p1:MasterLocationId>1</d2p1:MasterLocationId> <d2p1:SubscriberId>2</d2p1:SubscriberId> <d2p1:SubscriberName>sample string 3</d2p1:SubscriberName> </d2p1:Location> <d2p1:MerchantAccount> <d2p1:MerchantAccountId>1</d2p1:MerchantAccountId> <d2p1:MerchantId>sample string 3</d2p1:MerchantId> <d2p1:MerchantTerminalId>sample string 4</d2p1:MerchantTerminalId> <d2p1:PaymentServiceId>2</d2p1:PaymentServiceId> </d2p1:MerchantAccount> <d2p1:TerminalMerchantAccountId>1</d2p1:TerminalMerchantAccountId> </d2p1:TerminalMerchantAccountLink> </d2p1:MerchantAccountLinks> <d2p1:Terminal> <d2p1:ExternalId>sample string 4</d2p1:ExternalId> <d2p1:TerminalId>1</d2p1:TerminalId> <d2p1:TerminalName>sample string 5</d2p1:TerminalName> <d2p1:TerminalType>sample string 2</d2p1:TerminalType> <d2p1:TerminalTypeId>3</d2p1:TerminalTypeId> </d2p1:Terminal> </d2p1:TerminalLink> <d2p1:TerminalLink> <d2p1:MerchantAccountLinks> <d2p1:TerminalMerchantAccountLink> <d2p1:IsActive>true</d2p1:IsActive> <d2p1:Location> <d2p1:LocationId>4</d2p1:LocationId> <d2p1:LocationName>sample string 5</d2p1:LocationName> <d2p1:MasterLocationId>1</d2p1:MasterLocationId> <d2p1:SubscriberId>2</d2p1:SubscriberId> <d2p1:SubscriberName>sample string 3</d2p1:SubscriberName> </d2p1:Location> <d2p1:MerchantAccount> <d2p1:MerchantAccountId>1</d2p1:MerchantAccountId> <d2p1:MerchantId>sample string 3</d2p1:MerchantId> <d2p1:MerchantTerminalId>sample string 4</d2p1:MerchantTerminalId> <d2p1:PaymentServiceId>2</d2p1:PaymentServiceId> </d2p1:MerchantAccount> <d2p1:TerminalMerchantAccountId>1</d2p1:TerminalMerchantAccountId> </d2p1:TerminalMerchantAccountLink> <d2p1:TerminalMerchantAccountLink> <d2p1:IsActive>true</d2p1:IsActive> <d2p1:Location> <d2p1:LocationId>4</d2p1:LocationId> <d2p1:LocationName>sample string 5</d2p1:LocationName> <d2p1:MasterLocationId>1</d2p1:MasterLocationId> <d2p1:SubscriberId>2</d2p1:SubscriberId> <d2p1:SubscriberName>sample string 3</d2p1:SubscriberName> </d2p1:Location> <d2p1:MerchantAccount> <d2p1:MerchantAccountId>1</d2p1:MerchantAccountId> <d2p1:MerchantId>sample string 3</d2p1:MerchantId> <d2p1:MerchantTerminalId>sample string 4</d2p1:MerchantTerminalId> <d2p1:PaymentServiceId>2</d2p1:PaymentServiceId> </d2p1:MerchantAccount> <d2p1:TerminalMerchantAccountId>1</d2p1:TerminalMerchantAccountId> </d2p1:TerminalMerchantAccountLink> </d2p1:MerchantAccountLinks> <d2p1:Terminal> <d2p1:ExternalId>sample string 4</d2p1:ExternalId> <d2p1:TerminalId>1</d2p1:TerminalId> <d2p1:TerminalName>sample string 5</d2p1:TerminalName> <d2p1:TerminalType>sample string 2</d2p1:TerminalType> <d2p1:TerminalTypeId>3</d2p1:TerminalTypeId> </d2p1:Terminal> </d2p1:TerminalLink> </TerminalLinks> <TotalTerminalLinks>1</TotalTerminalLinks> </FindTerminalLinksResponse>