POST api/Terminals
Request Information
URI Parameters
None.
Body Parameters
TerminalName | Description | Type | Additional information |
---|---|---|---|
Password | string |
None. |
|
TerminalCode | string |
None. |
|
Description | string |
None. |
|
Status | string |
None. |
|
Currency | string |
None. |
|
QuickPayAmount | decimal number |
None. |
|
Id | integer |
None. |
|
CreatedDate | date |
None. |
|
CreatedBy | string |
None. |
|
UpdateDate | date |
None. |
|
UpdatedBy | string |
None. |
|
IsActive | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "Password": "sample string 1", "TerminalCode": "sample string 2", "Description": "sample string 3", "Status": "sample string 4", "Currency": "sample string 5", "QuickPayAmount": 6.1, "Id": 7, "CreatedDate": "2025-04-03T20:24:51.0231028-06:00", "CreatedBy": "sample string 9", "UpdateDate": "2025-04-03T20:24:51.0231028-06:00", "UpdatedBy": "sample string 10", "IsActive": true }
application/xml, text/xml
Sample:
<Terminal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CLMLTEMA.MODELS"> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">sample string 9</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">2025-04-03T20:24:51.0231028-06:00</CreatedDate> <Id xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">7</Id> <IsActive xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">true</IsActive> <UpdateDate xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">2025-04-03T20:24:51.0231028-06:00</UpdateDate> <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">sample string 10</UpdatedBy> <Currency xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PinPad">sample string 5</Currency> <Description xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PinPad">sample string 3</Description> <QuickPayAmount xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PinPad">6.1</QuickPayAmount> <Status xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PinPad">sample string 4</Status> <TerminalCode xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PinPad">sample string 2</TerminalCode> <Password>sample string 1</Password> </Terminal>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |