GET api/PaymentMethodTypes

Returns a list of all payment method types in your database

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of PaymentMethodType
NameDescriptionTypeAdditional information
PaymentMethodTypeId

integer

None.

OrganizationId

integer

None.

Description

string

None.

IsActive

boolean

None.

IsRevenue

boolean

None.

IsSystemDefined

boolean

None.

Links

Collection of Link

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "PaymentMethodTypeId": 1,
    "OrganizationId": 2,
    "Description": "sample string 3",
    "IsActive": true,
    "IsRevenue": true,
    "IsSystemDefined": true,
    "Links": [
      {
        "Rel": "sample string 1",
        "Href": "sample string 2",
        "Title": "sample string 3",
        "Type": "sample string 4"
      },
      {
        "Rel": "sample string 1",
        "Href": "sample string 2",
        "Title": "sample string 3",
        "Type": "sample string 4"
      }
    ]
  },
  {
    "PaymentMethodTypeId": 1,
    "OrganizationId": 2,
    "Description": "sample string 3",
    "IsActive": true,
    "IsRevenue": true,
    "IsSystemDefined": true,
    "Links": [
      {
        "Rel": "sample string 1",
        "Href": "sample string 2",
        "Title": "sample string 3",
        "Type": "sample string 4"
      },
      {
        "Rel": "sample string 1",
        "Href": "sample string 2",
        "Title": "sample string 3",
        "Type": "sample string 4"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfPaymentMethodType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProClassApi.Web.Api.Models">
  <PaymentMethodType>
    <Description>sample string 3</Description>
    <IsActive>true</IsActive>
    <IsRevenue>true</IsRevenue>
    <IsSystemDefined>true</IsSystemDefined>
    <Links>
      <Link>
        <Href>sample string 2</Href>
        <Rel>sample string 1</Rel>
        <Title>sample string 3</Title>
        <Type>sample string 4</Type>
      </Link>
      <Link>
        <Href>sample string 2</Href>
        <Rel>sample string 1</Rel>
        <Title>sample string 3</Title>
        <Type>sample string 4</Type>
      </Link>
    </Links>
    <OrganizationId>2</OrganizationId>
    <PaymentMethodTypeId>1</PaymentMethodTypeId>
  </PaymentMethodType>
  <PaymentMethodType>
    <Description>sample string 3</Description>
    <IsActive>true</IsActive>
    <IsRevenue>true</IsRevenue>
    <IsSystemDefined>true</IsSystemDefined>
    <Links>
      <Link>
        <Href>sample string 2</Href>
        <Rel>sample string 1</Rel>
        <Title>sample string 3</Title>
        <Type>sample string 4</Type>
      </Link>
      <Link>
        <Href>sample string 2</Href>
        <Rel>sample string 1</Rel>
        <Title>sample string 3</Title>
        <Type>sample string 4</Type>
      </Link>
    </Links>
    <OrganizationId>2</OrganizationId>
    <PaymentMethodTypeId>1</PaymentMethodTypeId>
  </PaymentMethodType>
</ArrayOfPaymentMethodType>