POST api/Machine/Read
Request Information
URI Parameters
None.
Body Parameters
MachineTransactionDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Cash | decimal number |
None. |
|
| FinalCoins | decimal number |
None. |
|
| CoinsToNote | decimal number |
None. |
|
| UserId | string |
None. |
|
| MachineIdLabel | string |
None. |
|
| StartCoin | decimal number |
None. |
|
| Sales | integer |
None. |
|
| CreatedDate | date |
None. |
|
| CameraImg | HttpPostedFileBase |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Cash": 2.0,
"FinalCoins": 3.0,
"CoinsToNote": 4.0,
"UserId": "sample string 5",
"MachineIdLabel": "sample string 6",
"StartCoin": 7.0,
"Sales": 8,
"CreatedDate": "2025-12-09T18:35:40.7521155-08:00",
"CameraImg": null
}
application/xml, text/xml
Sample:
<MachineTransactionDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Makeena.Core.DTOs"> <CameraImg xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Web" i:nil="true" /> <Cash>2</Cash> <CoinsToNote>4</CoinsToNote> <CreatedDate>2025-12-09T18:35:40.7521155-08:00</CreatedDate> <FinalCoins>3</FinalCoins> <Id>1</Id> <MachineIdLabel>sample string 6</MachineIdLabel> <Sales>8</Sales> <StartCoin>7</StartCoin> <UserId>sample string 5</UserId> </MachineTransactionDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.