POST api/atmreturn/CreateAtmReturn

Request Information

URI Parameters

None.

Body Parameters

AtmReturnRequestModel
NameDescriptionTypeAdditional information
FloatClientId

globally unique identifier

None.

SelectedDeviceId

globally unique identifier

Required

SelectedDeviceName

string

Required

SelectedRouteId

globally unique identifier

Required

SelectedBranchId

globally unique identifier

Required

SealNo

string

Required

Amount

decimal number

Required

ReturnType

AtmReturnType

Required

TenRand

integer

None.

TwentyRand

integer

None.

FiftyRand

integer

None.

OneHundredRand

integer

None.

TwoHundredRand

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "FloatClientId": "d7bb6811-7cf5-4d65-8b14-f9608d09b2a6",
  "SelectedDeviceId": "7f8e49e3-d000-4ba4-9360-82f5cd39fab7",
  "SelectedDeviceName": "sample string 3",
  "SelectedRouteId": "a45a96dc-046e-4c8f-90b7-b3a26b8ed08a",
  "SelectedBranchId": "fc049927-5460-457e-a302-0e6a68cad943",
  "SealNo": "sample string 6",
  "Amount": 7.0,
  "ReturnType": 5,
  "TenRand": 8,
  "TwentyRand": 9,
  "FiftyRand": 10,
  "OneHundredRand": 11,
  "TwoHundredRand": 12
}

application/xml, text/xml

Sample:
<AtmReturnRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CashAutomation.Entities.ApiModels">
  <Amount>7</Amount>
  <FiftyRand>10</FiftyRand>
  <FloatClientId>d7bb6811-7cf5-4d65-8b14-f9608d09b2a6</FloatClientId>
  <OneHundredRand>11</OneHundredRand>
  <ReturnType>Excess</ReturnType>
  <SealNo>sample string 6</SealNo>
  <SelectedBranchId>fc049927-5460-457e-a302-0e6a68cad943</SelectedBranchId>
  <SelectedDeviceId>7f8e49e3-d000-4ba4-9360-82f5cd39fab7</SelectedDeviceId>
  <SelectedDeviceName>sample string 3</SelectedDeviceName>
  <SelectedRouteId>a45a96dc-046e-4c8f-90b7-b3a26b8ed08a</SelectedRouteId>
  <TenRand>8</TenRand>
  <TwentyRand>9</TwentyRand>
  <TwoHundredRand>12</TwoHundredRand>
</AtmReturnRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.