POST debtors/CreateFinPeriod

Request Information

URI Parameters

None.

Body Parameters

FinPeriods
NameDescriptionTypeAdditional information
TenantId

integer

None.

FinId

integer

None.

FinYear

integer

None.

FinPeriod

integer

None.

PeriodDesc

string

None.

StartDate

date

None.

EndDate

date

None.

PeriodStatus

string

None.

LockedBy

integer

None.

LockedDate

date

None.

BillMonth

integer

None.

BillYear

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TenantId": 1,
  "FinId": 2,
  "FinYear": 3,
  "FinPeriod": 4,
  "PeriodDesc": "sample string 5",
  "StartDate": "2026-04-17T11:34:57.5736876+00:00",
  "EndDate": "2026-04-17T11:34:57.5736876+00:00",
  "PeriodStatus": "sample string 8",
  "LockedBy": 9,
  "LockedDate": "2026-04-17T11:34:57.5736876+00:00",
  "BillMonth": 11,
  "BillYear": 12
}

text/html

Sample:
{"TenantId":1,"FinId":2,"FinYear":3,"FinPeriod":4,"PeriodDesc":"sample string 5","StartDate":"2026-04-17T11:34:57.5736876+00:00","EndDate":"2026-04-17T11:34:57.5736876+00:00","PeriodStatus":"sample string 8","LockedBy":9,"LockedDate":"2026-04-17T11:34:57.5736876+00:00","BillMonth":11,"BillYear":12}

application/xml, text/xml

Sample:
<FinPeriods xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.Xyro.Models.Debtor">
  <BillMonth>11</BillMonth>
  <BillYear>12</BillYear>
  <EndDate>2026-04-17T11:34:57.5736876+00:00</EndDate>
  <FinId>2</FinId>
  <FinPeriod>4</FinPeriod>
  <FinYear>3</FinYear>
  <LockedBy>9</LockedBy>
  <LockedDate>2026-04-17T11:34:57.5736876+00:00</LockedDate>
  <PeriodDesc>sample string 5</PeriodDesc>
  <PeriodStatus>sample string 8</PeriodStatus>
  <StartDate>2026-04-17T11:34:57.5736876+00:00</StartDate>
  <TenantId>1</TenantId>
</FinPeriods>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.