PUT v1/Bonds/{id}/CallSchedule/{bondCallId}

Description

Update call schedule item with WSO ID of {bondCallID} for bond with WSO ID of {id}.

Base Url

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


Rest Call Syntax


PUT SecurityMaster/v1/Bonds/{id}/CallSchedule/{bondCallId}

PUT SecurityMaster/v1/Bonds/{id}/CallSchedule/{bondCallId}

Verb

Base Url

URI parameters

 = 

Authentication



Response Format


Headers

Add header


 

Delete



BondCallUpdate

Name

Description

Type

Additional Information

OptionDate

The option date

date

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

OptionPrice

The option price

decimal number

OptionType

Whether this is a Call or Put




Limitations

There are no limitations specified.




Request Information


Parameters

Name

Description

Type

Additional Information

bondCallId

WSO ID of call schedule item

integer

Required

id

WSO ID of bond

integer

Required



Request body formats


application/json, text/json

Sample:
{
  "optionType": "Call",
  "optionPrice": 1.1,
  "optionDate": "2024-10-08T05:31:07.0322629-05:00"
}

application/xml, text/xml

Sample:
<BondCallUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WSO.API.SecurityMaster.Models.v1">
  <OptionDate xmlns="">2024-10-08T05:31:07.0322629-05:00</OptionDate>
  <OptionPrice xmlns="">1.1</OptionPrice>
  <OptionType>Call</OptionType>
</BondCallUpdate>

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-10-08T05:31:07.0436157-05: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-10-08T05:31:07.0436157-05: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.