POST api/Billing/BillingPeriodSettings

Request Information

URI Parameters

None.

Body Parameters

BillingPeriodSettings
NameDescriptionTypeAdditional information
BillingStructureID

integer

None.

DailyStartHours

string

None.

DailyStartMins

string

None.

DailyTimeZoneID

unsigned integer

None.

WeeklyDayOfWeek

unsigned integer

None.

WeeklyStartHours

string

None.

WeeklyStartMins

string

None.

WeeklyTimeZoneID

unsigned integer

None.

MonthlyWeekOfMonth

integer

None.

MonthlyDayOfWeek

integer

None.

MonthlyStartHours

string

None.

MonthlyStartMins

string

None.

MonthlyTimeZoneID

unsigned integer

None.

YearlyRunDate

date

None.

YearlyStartHours

string

None.

YearlyStartMins

string

None.

YearlyTimeZoneID

unsigned integer

None.

Request Formats

application/json, text/json

Sample:
{
  "BillingStructureID": 1,
  "DailyStartHours": "sample string 2",
  "DailyStartMins": "sample string 3",
  "DailyTimeZoneID": 4,
  "WeeklyDayOfWeek": 5,
  "WeeklyStartHours": "sample string 6",
  "WeeklyStartMins": "sample string 7",
  "WeeklyTimeZoneID": 8,
  "MonthlyWeekOfMonth": 9,
  "MonthlyDayOfWeek": 10,
  "MonthlyStartHours": "sample string 11",
  "MonthlyStartMins": "sample string 12",
  "MonthlyTimeZoneID": 13,
  "YearlyRunDate": "2026-04-07T20:09:28.0924855+10:00",
  "YearlyStartHours": "sample string 15",
  "YearlyStartMins": "sample string 16",
  "YearlyTimeZoneID": 17
}

application/xml, text/xml

Sample:
<BillingPeriodSettings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ConsoleAPI.Internal.Models.BillingStructure">
  <BillingStructureID>1</BillingStructureID>
  <DailyStartHours>sample string 2</DailyStartHours>
  <DailyStartMins>sample string 3</DailyStartMins>
  <DailyTimeZoneID>4</DailyTimeZoneID>
  <MonthlyDayOfWeek>10</MonthlyDayOfWeek>
  <MonthlyStartHours>sample string 11</MonthlyStartHours>
  <MonthlyStartMins>sample string 12</MonthlyStartMins>
  <MonthlyTimeZoneID>13</MonthlyTimeZoneID>
  <MonthlyWeekOfMonth>9</MonthlyWeekOfMonth>
  <WeeklyDayOfWeek>5</WeeklyDayOfWeek>
  <WeeklyStartHours>sample string 6</WeeklyStartHours>
  <WeeklyStartMins>sample string 7</WeeklyStartMins>
  <WeeklyTimeZoneID>8</WeeklyTimeZoneID>
  <YearlyRunDate>2026-04-07T20:09:28.0924855+10:00</YearlyRunDate>
  <YearlyStartHours>sample string 15</YearlyStartHours>
  <YearlyStartMins>sample string 16</YearlyStartMins>
  <YearlyTimeZoneID>17</YearlyTimeZoneID>
</BillingPeriodSettings>

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 'BillingPeriodSettings'.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>