POST v1/Bonds/{id}/CallSchedule

Description

Add a call schedule item for bond with a WSO ID of {id}

Base Url

https://services.wsoweb.com/


Rest Call Syntax


POST SecurityMaster/v1/Bonds/{id}/CallSchedule

POST SecurityMaster/v1/Bonds/{id}/CallSchedule

Verb

Base Url

URI parameters

 = 

Authentication



Response Format


Headers

Add header


 

Delete



BondCallAdd

Name

Description

Type

Additional Information

OptionDate

The option date

date

Required, Option Date must be between the interest accrual date and maturity date.

OptionPrice

The option price

decimal number

Required

OptionType

Whether this is a Call or Put

Required




Limitations

There are no limitations specified.




Request Information


Parameters

Name

Description

Type

Additional Information

id

WSO ID of bond

integer

Required



Request body formats


application/json, text/json

Sample:
{
  "optionType": "Call",
  "optionPrice": 1.1,
  "optionDate": "2024-11-23T01:41:30.5600403-06:00"
}

application/xml, text/xml

Sample:
<BondCallAdd xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WSO.API.SecurityMaster.Models.v1">
  <OptionDate xmlns="">2024-11-23T01:41:30.5600403-06:00</OptionDate>
  <OptionPrice xmlns="">1.1</OptionPrice>
  <OptionType>Call</OptionType>
</BondCallAdd>

application/x-www-form-urlencoded

Sample:

Sample not available.




Response Information



BondCall

Name

Description

Type

Additional Information

Id

The WSO ID of the asset

integer

Links

The Hateoas links to related objects

Collection of Link

OptionDate

The option date

date

OptionPrice

The option price

decimal number

OptionType

Whether this is a Call or Put by ID value




Response Body Formats



application/json, text/json

Sample:
{
  "optionType": "Call",
  "id": 1,
  "optionPrice": 1.1,
  "optionDate": "2024-11-23T01:41:30.5680226-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:
<BondCall xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <Id>1</Id>
  <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>
  <OptionDate>2024-11-23T01:41:30.5680226-06:00</OptionDate>
  <OptionPrice>1.1</OptionPrice>
  <OptionType>Call</OptionType>
</BondCall>



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.