POST api/Creditor

Request Information

URI Parameters

None.

Body Parameters

Collection of CreditorModel
NameDescriptionTypeAdditional information
PolicyCreditorId

integer

None.

PolicyId

integer

None.

Name

string

None.

AmountOwed

decimal number

None.

ConcurrencyCheck

integer

None.

UpdateDt

date

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "policyCreditorId": 1,
    "policyId": 1,
    "name": "sample string 2",
    "amountOwed": 1.0,
    "concurrencyCheck": 3,
    "updateDt": "2025-12-06T06:50:00.7106046+02:00"
  },
  {
    "policyCreditorId": 1,
    "policyId": 1,
    "name": "sample string 2",
    "amountOwed": 1.0,
    "concurrencyCheck": 3,
    "updateDt": "2025-12-06T06:50:00.7106046+02:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCreditorModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fusion.AppApi.Models">
  <CreditorModel>
    <AmountOwed>1</AmountOwed>
    <ConcurrencyCheck>3</ConcurrencyCheck>
    <Name>sample string 2</Name>
    <PolicyCreditorId>1</PolicyCreditorId>
    <PolicyId>1</PolicyId>
    <UpdateDt>2025-12-06T06:50:00.7106046+02:00</UpdateDt>
  </CreditorModel>
  <CreditorModel>
    <AmountOwed>1</AmountOwed>
    <ConcurrencyCheck>3</ConcurrencyCheck>
    <Name>sample string 2</Name>
    <PolicyCreditorId>1</PolicyCreditorId>
    <PolicyId>1</PolicyId>
    <UpdateDt>2025-12-06T06:50:00.7106046+02:00</UpdateDt>
  </CreditorModel>
</ArrayOfCreditorModel>

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 'CreditorModel[]'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.