GET Terminals?page={page}&pageSize={pageSize}
Finds a list of terminals with optional paging support
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
page | integer |
Required |
|
pageSize | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
FindTerminalsResponseName | Description | Type | Additional information |
---|---|---|---|
TotalTerminals | integer |
None. |
|
PageIndex | integer |
None. |
|
PageSize | integer |
None. |
|
Terminals | Collection of Terminal |
None. |
Response Formats
application/json, text/json
Sample:
{ "TotalTerminals": 1, "PageIndex": 2, "PageSize": 3, "Terminals": [ { "TerminalId": 1, "TerminalType": "sample string 2", "TerminalTypeId": 3, "ExternalId": "sample string 4", "TerminalName": "sample string 5" }, { "TerminalId": 1, "TerminalType": "sample string 2", "TerminalTypeId": 3, "ExternalId": "sample string 4", "TerminalName": "sample string 5" } ] }
application/xml, text/xml
Sample:
<FindTerminalsResponse 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> <Terminals xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Subscriber.Models.Subscriber"> <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: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> </Terminals> <TotalTerminals>1</TotalTerminals> </FindTerminalsResponse>