GET api/BillingPeriod?type={type}

Gets a list of billing period.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
type

List Type.

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of BillingPeriod
NameDescriptionTypeAdditional information
BillingPeriodId

integer

None.

BillingPeriodName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "BillingPeriodId": 1,
    "BillingPeriodName": "sample string 2"
  },
  {
    "BillingPeriodId": 1,
    "BillingPeriodName": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfBillingPeriod xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models">
  <BillingPeriod>
    <BillingPeriodId>1</BillingPeriodId>
    <BillingPeriodName>sample string 2</BillingPeriodName>
  </BillingPeriod>
  <BillingPeriod>
    <BillingPeriodId>1</BillingPeriodId>
    <BillingPeriodName>sample string 2</BillingPeriodName>
  </BillingPeriod>
</ArrayOfBillingPeriod>