POST api/Account/GetPaymentMethods

Request Information

URI Parameters

None.

Body Parameters

DTOForDDL
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

UserId

globally unique identifier

None.

Name

string

None.

PermissionValue

integer

None.

TaxPercentage

decimal number

None.

IsOnlinePayment

boolean

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

Address

string

None.

BranchLocationCategory

integer

None.

IsMobile

boolean

None.

IsWeb

boolean

None.

IsHIMS

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "4d768c07-bfb8-4987-8e54-755a4b67881c",
  "UserId": "5f90a2b4-9ac2-4d3b-a423-5de9a6e280d7",
  "Name": "sample string 1",
  "PermissionValue": 2,
  "TaxPercentage": 1.1,
  "IsOnlinePayment": true,
  "Latitude": 1.1,
  "Longitude": 1.1,
  "Address": "sample string 3",
  "BranchLocationCategory": 1,
  "IsMobile": true,
  "IsWeb": true,
  "IsHIMS": true
}

application/xml, text/xml

Sample:
<DTOForDDL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HomeCarePortal.BAL.DTOModels">
  <Address>sample string 3</Address>
  <BranchLocationCategory>1</BranchLocationCategory>
  <Id>4d768c07-bfb8-4987-8e54-755a4b67881c</Id>
  <IsHIMS>true</IsHIMS>
  <IsMobile>true</IsMobile>
  <IsOnlinePayment>true</IsOnlinePayment>
  <IsWeb>true</IsWeb>
  <Latitude>1.1</Latitude>
  <Longitude>1.1</Longitude>
  <Name>sample string 1</Name>
  <PermissionValue>2</PermissionValue>
  <TaxPercentage>1.1</TaxPercentage>
  <UserId>5f90a2b4-9ac2-4d3b-a423-5de9a6e280d7</UserId>
</DTOForDDL>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DTOForDDL'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.