POST api/Partner/GetTerminal
Request Information
URI Parameters
None.
Body Parameters
GetTerminalRequestName | Description | Type | Additional information |
---|---|---|---|
Id | string |
None. |
|
Token | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "sample string 1", "Token": "sample string 2" }
application/xml, text/xml
Sample:
<GetTerminalRequest 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 2</Token> <Id>sample string 1</Id> </GetTerminalRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetTerminalResponseName | Description | Type | Additional information |
---|---|---|---|
Terminal | Terminal |
None. |
|
ErrorCode | string |
None. |
|
ErrorMessage | string |
None. |
|
ErrorCategory | string |
None. |
|
Result | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Terminal": { "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:
<GetTerminalResponse 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> <Terminal xmlns:d2p1="http://schemas.datacontract.org/2004/07/Shams.Api.Model.Terminal"> <d2p1:Id>sample string 1</d2p1:Id> <d2p1:TermainalName>sample string 2</d2p1:TermainalName> <d2p1:TermainalStatus>3</d2p1:TermainalStatus> </Terminal> </GetTerminalResponse>