POST api/Partner/GetTerminals
Request Information
URI Parameters
None.
Body Parameters
GetTerminalsRequestName | Description | Type | Additional information |
---|---|---|---|
UserId | string |
None. |
|
PageIndex | integer |
None. |
|
PageSize | integer |
None. |
|
Token | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserId": "sample string 1", "PageIndex": 2, "PageSize": 3, "Token": "sample string 4" }
application/xml, text/xml
Sample:
<GetTerminalsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Terminal.Request"> <Token xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Base">sample string 4</Token> <PageIndex xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Base">2</PageIndex> <PageSize xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Base">3</PageSize> <UserId>sample string 1</UserId> </GetTerminalsRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetTerminalsResponseName | Description | Type | Additional information |
---|---|---|---|
Terminals | Collection of Terminal |
None. |
|
ErrorCode | string |
None. |
|
ErrorMessage | string |
None. |
|
ErrorCategory | string |
None. |
|
Result | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Terminals": [ { "Id": "sample string 1", "TermainalName": "sample string 2", "TermainalStatus": 3 }, { "Id": "sample string 1", "TermainalName": "sample string 2", "TermainalStatus": 3 } ], "ErrorCode": "sample string 1", "ErrorMessage": "sample string 2", "ErrorCategory": "sample string 3", "Result": true }
application/xml, text/xml
Sample:
<GetTerminalsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Terminal.Response"> <ErrorCategory xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Base">sample string 3</ErrorCategory> <ErrorCode xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Base">sample string 1</ErrorCode> <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Base">sample string 2</ErrorMessage> <Result xmlns="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Base">true</Result> <Terminals xmlns:d2p1="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Terminal"> <d2p1:Terminal> <d2p1:Id>sample string 1</d2p1:Id> <d2p1:TermainalName>sample string 2</d2p1:TermainalName> <d2p1:TermainalStatus>3</d2p1:TermainalStatus> </d2p1:Terminal> <d2p1:Terminal> <d2p1:Id>sample string 1</d2p1:Id> <d2p1:TermainalName>sample string 2</d2p1:TermainalName> <d2p1:TermainalStatus>3</d2p1:TermainalStatus> </d2p1:Terminal> </Terminals> </GetTerminalsResponse>