POST v1/TRS/{id}/RateSchedule

Description

Add Rate schedule for a TRS with a WSO ID of {id}.

Base Url

https://services.wsoweb.com/


Rest Call Syntax


POST SecurityMaster/v1/TRS/{id}/RateSchedule

POST SecurityMaster/v1/TRS/{id}/RateSchedule

Verb

Base Url

URI parameters

 = 

Authentication



Response Format


Headers

Add header


 

Delete



Collection of RateScheduleAdd

Name

Description

Type

Additional Information

BaseRate

The base rate

decimal number

Required

EndDate

The end date of this rate

date

Required

Spread

The spread rate

decimal number

Required

StartDate

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

date

Required

RateHistoryId

The WSO ID of the asset

integer




Limitations

There are no limitations specified.




Request Information


Parameters

Name

Description

Type

Additional Information

id

The WSO ID of TRS

integer

Required



Request body formats


application/json, text/json

Sample:
[
  {
    "endDate": "2024-11-23T01:15:53.8120314-06:00",
    "startDate": "2024-11-23T01:15:53.8120314-06:00",
    "baseRate": 3.1,
    "spread": 4.1,
    "rateHistoryId": 1
  },
  {
    "endDate": "2024-11-23T01:15:53.8120314-06:00",
    "startDate": "2024-11-23T01:15:53.8120314-06:00",
    "baseRate": 3.1,
    "spread": 4.1,
    "rateHistoryId": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfRateScheduleAdd xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <RateScheduleAdd>
    <BaseRate>3.1</BaseRate>
    <EndDate>2024-11-23T01:15:53.8120314-06:00</EndDate>
    <RateHistoryId>1</RateHistoryId>
    <Spread>4.1</Spread>
    <StartDate>2024-11-23T01:15:53.8120314-06:00</StartDate>
  </RateScheduleAdd>
  <RateScheduleAdd>
    <BaseRate>3.1</BaseRate>
    <EndDate>2024-11-23T01:15:53.8120314-06:00</EndDate>
    <RateHistoryId>1</RateHistoryId>
    <Spread>4.1</Spread>
    <StartDate>2024-11-23T01:15:53.8120314-06:00</StartDate>
  </RateScheduleAdd>
</ArrayOfRateScheduleAdd>

application/x-www-form-urlencoded

Sample:

Sample not available.




Response Information



Collection of RateHistory

Name

Description

Type

Additional Information

AddDate

Gets or sets the date that the coupon rate schedule entry was created.

date

AddId

Gets or sets the name of the user who added the coupon rate schedule entry.

string

AddNode

Gets or sets the name of the machine that added the coupon rate schedule entry.

string

AllInRate

Gets or sets the all-in rate; that is, the sum of the and the .

decimal number

AssetId

The id of the asset for the Bond

integer

BaseRate

Gets or sets the base rate (ie LIBOR, Prime, Treasuries).

decimal number

EndDate

Gets or sets the end date of this rate.

date

Id

Gets or sets the unique id for the coupon rate schedule entry to be updated.

integer

LastChangeDate

Gets or sets the date of the last change to the coupon rate schedule entry.

date

LastChangeId

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

string

LastChangeNode

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

string

Links

The Hateoas links related to this asset class item

Collection of Link

Spread

Gets or sets the percentage spread over the .

decimal number

StartDate

Gets or sets the start date of this rate (this date will match the end date of the previous rate).

date




Response Body Formats



application/json, text/json

Sample:
[
  {
    "assetId": 1,
    "id": 2,
    "endDate": "2024-11-23T01:15:53.8201535-06:00",
    "startDate": "2024-11-23T01:15:53.8201535-06:00",
    "baseRate": 1.1,
    "allInRate": 1.1,
    "spread": 1.1,
    "addId": "sample string 4",
    "addNode": "sample string 5",
    "addDate": "2024-11-23T01:15:53.8304689-06:00",
    "lastChangeId": "sample string 7",
    "lastChangeNode": "sample string 8",
    "lastChangeDate": "2024-11-23T01:15:53.8304689-06:00",
    "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"
      }
    ]
  },
  {
    "assetId": 1,
    "id": 2,
    "endDate": "2024-11-23T01:15:53.8201535-06:00",
    "startDate": "2024-11-23T01:15:53.8201535-06:00",
    "baseRate": 1.1,
    "allInRate": 1.1,
    "spread": 1.1,
    "addId": "sample string 4",
    "addNode": "sample string 5",
    "addDate": "2024-11-23T01:15:53.8304689-06:00",
    "lastChangeId": "sample string 7",
    "lastChangeNode": "sample string 8",
    "lastChangeDate": "2024-11-23T01:15:53.8304689-06:00",
    "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"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfRateHistory xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <RateHistory>
    <AddDate>2024-11-23T01:15:53.8304689-06:00</AddDate>
    <AddId>sample string 4</AddId>
    <AddNode>sample string 5</AddNode>
    <AllInRate>1.1</AllInRate>
    <AssetId>1</AssetId>
    <BaseRate>1.1</BaseRate>
    <EndDate>2024-11-23T01:15:53.8201535-06:00</EndDate>
    <Id>2</Id>
    <LastChangeDate>2024-11-23T01:15:53.8304689-06: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>
    <StartDate>2024-11-23T01:15:53.8201535-06:00</StartDate>
  </RateHistory>
  <RateHistory>
    <AddDate>2024-11-23T01:15:53.8304689-06:00</AddDate>
    <AddId>sample string 4</AddId>
    <AddNode>sample string 5</AddNode>
    <AllInRate>1.1</AllInRate>
    <AssetId>1</AssetId>
    <BaseRate>1.1</BaseRate>
    <EndDate>2024-11-23T01:15:53.8201535-06:00</EndDate>
    <Id>2</Id>
    <LastChangeDate>2024-11-23T01:15:53.8304689-06: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>
    <StartDate>2024-11-23T01:15:53.8201535-06:00</StartDate>
  </RateHistory>
</ArrayOfRateHistory>



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.