POST api/ATM/CreateATMorder

Request Information

URI Parameters

None.

Body Parameters

ATMOrderDTO
NameDescriptionTypeAdditional information
DeliveryModeType

DeliveryMode

None.

DeliveryLocation

globally unique identifier

None.

Amount

decimal number

None.

DeliveryAmount

decimal number

None.

serviceCharge

decimal number

None.

Discount

decimal number

None.

FinalAmount

decimal number

None.

UserID

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "DeliveryModeType": 0,
  "DeliveryLocation": "0e634036-6533-46a1-a991-7e9ac1f5ee83",
  "Amount": 2.1,
  "DeliveryAmount": 3.1,
  "serviceCharge": 4.1,
  "Discount": 5.1,
  "FinalAmount": 6.1,
  "UserID": "0cb49124-9346-4642-a5c2-9b203948f5d1"
}

application/xml, text/xml

Sample:
<ATMOrderDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheanAPI.DTO">
  <Amount>2.1</Amount>
  <DeliveryAmount>3.1</DeliveryAmount>
  <DeliveryLocation>0e634036-6533-46a1-a991-7e9ac1f5ee83</DeliveryLocation>
  <DeliveryModeType>Normal</DeliveryModeType>
  <Discount>5.1</Discount>
  <FinalAmount>6.1</FinalAmount>
  <UserID>0cb49124-9346-4642-a5c2-9b203948f5d1</UserID>
  <serviceCharge>4.1</serviceCharge>
</ATMOrderDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseDtoOfObject
NameDescriptionTypeAdditional information
Status_cd

boolean

None.

Data

Object

None.

status_Desc

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status_cd": true,
  "Data": {},
  "status_Desc": "sample string 3"
}

application/xml, text/xml

Sample:
<ResponseDtoOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheanAPI.DTO">
  <Data />
  <Status_cd>true</Status_cd>
  <status_Desc>sample string 3</status_Desc>
</ResponseDtoOfanyType>