PUT v1/Bonds/{id}/CouponRateSchedule/{couponRateId}

Description

Update a single coupon rate schedule item with a WSO ID of {couponRateID} for a bond with WSO ID of {id}.

Base Url

https://api-zion.wsohosting.com/


Rest Call Syntax


PUT SecurityMaster/v1/Bonds/{id}/CouponRateSchedule/{couponRateId}

PUT SecurityMaster/v1/Bonds/{id}/CouponRateSchedule/{couponRateId}

Verb

Base Url

URI parameters

 = 

Authentication



Response Format


Headers

Add header


 

Delete



CouponRateUpdate

Name

Description

Type

Additional Information

AllInRate

The all-in rate - should be the sum of the Base Rate and the Spread

decimal number

BaseRate

The base rate

decimal number

EndDate

The end date of this rate

date

Spread

The spread rate

decimal number

SpreadAdjustment

The spread adjustment rate

decimal number

StartDate

The start date of this rate - should match the end date of the previous rate

date




Limitations

There are no limitations specified.




Request Information


Parameters

Name

Description

Type

Additional Information

couponRateId

WSO ID of coupon rate

integer

Required

id

WSO ID of bond

integer

Required



Request body formats


application/json, text/json

Sample:
{
  "endDate": "2024-10-08T00:00:00-05:00",
  "startDate": "2024-10-08T00:00:00-05:00",
  "baseRate": 1.1,
  "allInRate": 1.1,
  "spread": 1.1,
  "spreadAdjustment": 1.1
}

application/xml, text/xml

Sample:
<CouponRateUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <AllInRate>1.1</AllInRate>
  <BaseRate>1.1</BaseRate>
  <EndDate>2024-10-08T00:00:00-05:00</EndDate>
  <Spread>1.1</Spread>
  <SpreadAdjustment>1.1</SpreadAdjustment>
  <StartDate>2024-10-08T00:00:00-05:00</StartDate>
</CouponRateUpdate>

application/x-www-form-urlencoded

Sample:

Sample not available.




Response Information



BondCouponRate

Name

Description

Type

Additional Information

AddDate

Gets or sets the date that the coupon was created.

date

AddId

Gets or sets the name of the user who added the coupon.

string

AddNode

Gets or sets the name of the machine that added the coupon.

string

AllInRate

The all-in rate - should be the sum of the Base Rate and the Spread

decimal number

BaseRate

The base rate

decimal number

EndDate

The end date of this rate

date

Id

The WSO ID of the coupon rate schedule item

integer

LastChangeDate

Gets or sets the date of the last change to the coupon.

date

LastChangeId

Gets or sets the name of the user that last made changes to the coupon.

string

LastChangeNode

Gets or sets the name of the machine that last made changes to the coupon.

string

Links

A list of hateoas links

Collection of Link

Spread

The spread rate

decimal number

SpreadAdjustment

The spread adjustment rate

decimal number

StartDate

The start date of this rate - should match the end date of the previous rate

date




Response Body Formats



application/json, text/json

Sample:
{
  "links": [
    {
      "verb": "sample string 1",
      "rel": "sample string 2",
      "uri": "http://webapihelppage3.com"
    },
    {
      "verb": "sample string 1",
      "rel": "sample string 2",
      "uri": "http://webapihelppage3.com"
    }
  ],
  "id": 3,
  "endDate": "2024-10-08T05:40:57.1129105-05:00",
  "startDate": "2024-10-08T05:40:57.1129105-05:00",
  "baseRate": 1.1,
  "allInRate": 1.1,
  "spread": 1.1,
  "spreadAdjustment": 1.1,
  "addId": "sample string 4",
  "addNode": "sample string 5",
  "addDate": "2024-10-08T05:40:57.1129105-05:00",
  "lastChangeId": "sample string 7",
  "lastChangeNode": "sample string 8",
  "lastChangeDate": "2024-10-08T05:40:57.1129105-05:00"
}

application/xml, text/xml

Sample:
<BondCouponRate xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <AddDate>2024-10-08T05:40:57.1129105-05:00</AddDate>
  <AddId>sample string 4</AddId>
  <AddNode>sample string 5</AddNode>
  <AllInRate>1.1</AllInRate>
  <BaseRate>1.1</BaseRate>
  <EndDate>2024-10-08T05:40:57.1129105-05:00</EndDate>
  <Id>3</Id>
  <LastChangeDate>2024-10-08T05:40:57.1129105-05:00</LastChangeDate>
  <LastChangeId>sample string 7</LastChangeId>
  <LastChangeNode>sample string 8</LastChangeNode>
  <Links>
    <Link>
      <Rel>sample string 2</Rel>
      <Uri>http://webapihelppage3.com/</Uri>
      <Verb>sample string 1</Verb>
    </Link>
    <Link>
      <Rel>sample string 2</Rel>
      <Uri>http://webapihelppage3.com/</Uri>
      <Verb>sample string 1</Verb>
    </Link>
  </Links>
  <Spread>1.1</Spread>
  <SpreadAdjustment>1.1</SpreadAdjustment>
  <StartDate>2024-10-08T05:40:57.1129105-05:00</StartDate>
</BondCouponRate>



Feedback



(0 out of 1500 characters used)
Feedback has been submitted. Thank you for your feedback.
Automatic feedback submission has been turned off by your system administrator. Your feedback has been logged to the exceptions table. Please contact support to find out how to manually send in your feedback. Thank you.