POST api/Entities/SaveBillingStructureDetails?EntityCode={EntityCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
EntityCode

string

Required

Body Parameters

BillingStructureToEntity
NameDescriptionTypeAdditional information
BillingStructureToEntityID

integer

None.

BillingStructureID

integer

None.

BillingStructureName

string

None.

POLiEntityID

globally unique identifier

None.

EntityCommonName

string

None.

EntityCode

string

None.

BillingStructureEntityGroupID

integer

None.

BillingGroupName

string

None.

IsAggregated

boolean

None.

StartDate

date

None.

EndDate

date

None.

FeeFreePeriodEnd

date

None.

StatusCode

string

None.

ActiveDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "BillingStructureToEntityID": 1,
  "BillingStructureID": 2,
  "BillingStructureName": "sample string 3",
  "POLiEntityID": "b7c8b6e6-d037-41de-9808-34c752887ec6",
  "EntityCommonName": "sample string 5",
  "EntityCode": "sample string 6",
  "BillingStructureEntityGroupID": 1,
  "BillingGroupName": "sample string 7",
  "IsAggregated": true,
  "StartDate": "2026-04-07T20:04:52.1469881+10:00",
  "EndDate": "2026-04-07T20:04:52.1469881+10:00",
  "FeeFreePeriodEnd": "2026-04-07T20:04:52.1469881+10:00",
  "StatusCode": "sample string 11",
  "ActiveDate": "2026-04-07T20:04:52.1469881+10:00"
}

application/xml, text/xml

Sample:
<BillingStructureToEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ConsoleAPI.Internal.Models.BillingStructure">
  <ActiveDate>2026-04-07T20:04:52.1469881+10:00</ActiveDate>
  <BillingGroupName>sample string 7</BillingGroupName>
  <BillingStructureEntityGroupID>1</BillingStructureEntityGroupID>
  <BillingStructureID>2</BillingStructureID>
  <BillingStructureName>sample string 3</BillingStructureName>
  <BillingStructureToEntityID>1</BillingStructureToEntityID>
  <EndDate>2026-04-07T20:04:52.1469881+10:00</EndDate>
  <EntityCode>sample string 6</EntityCode>
  <EntityCommonName>sample string 5</EntityCommonName>
  <FeeFreePeriodEnd>2026-04-07T20:04:52.1469881+10:00</FeeFreePeriodEnd>
  <IsAggregated>true</IsAggregated>
  <POLiEntityID>b7c8b6e6-d037-41de-9808-34c752887ec6</POLiEntityID>
  <StartDate>2026-04-07T20:04:52.1469881+10:00</StartDate>
  <StatusCode>sample string 11</StatusCode>
</BillingStructureToEntity>

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

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>