POST api/atmpurchaseorder/CreateAtmPurchaseOrder
Request Information
URI Parameters
None.
Body Parameters
AtmPurchaseOrderRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| FloatClientId | globally unique identifier |
Required |
|
| SelectedDeviceId | globally unique identifier |
Required |
|
| SelectedBranchId | globally unique identifier |
Required |
|
| Amount | decimal number |
None. |
|
| PurchaseDate | string |
None. |
|
| TenRand | integer |
None. |
|
| TwentyRand | integer |
None. |
|
| FiftyRand | integer |
None. |
|
| OneHundredRand | integer |
None. |
|
| TwoHundredRand | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"FloatClientId": "a7af99b8-9bea-4e61-bd21-412feae35c92",
"SelectedDeviceId": "a242a9bc-0348-48a8-8f0c-3b40a031ab9f",
"SelectedBranchId": "e57ecdd8-04fe-48a9-a45e-cecd5c844fe3",
"Amount": 4.0,
"PurchaseDate": "sample string 5",
"TenRand": 6,
"TwentyRand": 7,
"FiftyRand": 8,
"OneHundredRand": 9,
"TwoHundredRand": 10
}
application/xml, text/xml
Sample:
<AtmPurchaseOrderRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CashAutomation.Entities.ApiModels"> <Amount>4</Amount> <FiftyRand>8</FiftyRand> <FloatClientId>a7af99b8-9bea-4e61-bd21-412feae35c92</FloatClientId> <OneHundredRand>9</OneHundredRand> <PurchaseDate>sample string 5</PurchaseDate> <SelectedBranchId>e57ecdd8-04fe-48a9-a45e-cecd5c844fe3</SelectedBranchId> <SelectedDeviceId>a242a9bc-0348-48a8-8f0c-3b40a031ab9f</SelectedDeviceId> <TenRand>6</TenRand> <TwentyRand>7</TwentyRand> <TwoHundredRand>10</TwoHundredRand> </AtmPurchaseOrderRequestModel>
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.