GET v1/Facilities/{id}/SpreadHistory

Description

Retrieve spread history for facility with a WSO ID of {id}.

Base Url

https://api-sim.uat.wsohosting.com/


Rest Call Syntax


GET SecurityMaster/v1/Facilities/{id}/SpreadHistory

GET SecurityMaster/v1/Facilities/{id}/SpreadHistory

Verb

Base Url

URI parameters

 = 

Authentication



Response Format


Headers

Add header


 

Delete




Limitations

There are no limitations specified.




Request Information


Parameters

Name

Description

Type

Additional Information

id

WSO ID of facility

integer

Required




Response Information



NonPagedList Of SpreadHistoryListItem

Name

Description

Type

Additional Information

Items

Collection of SpreadHistoryListItem

Links

Collection of Link




Response Body Formats



application/json, text/json

Sample:
{
  "items": [
    {
      "id": 1,
      "spreadHistoryName": "sample string 4",
      "startDate": "2024-10-08T05:31:38.5725599-05:00",
      "endDate": "2024-10-08T05:31:38.5725599-05:00",
      "spread": 7.1,
      "facilityRateOption": {
        "verb": "sample string 1",
        "rel": "sample string 2",
        "uri": "http://webapihelppage3.com"
      },
      "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": 1,
      "spreadHistoryName": "sample string 4",
      "startDate": "2024-10-08T05:31:38.5725599-05:00",
      "endDate": "2024-10-08T05:31:38.5725599-05:00",
      "spread": 7.1,
      "facilityRateOption": {
        "verb": "sample string 1",
        "rel": "sample string 2",
        "uri": "http://webapihelppage3.com"
      },
      "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"
        }
      ]
    }
  ],
  "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:
<NonPagedListOfSpreadHistoryListItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/WSO.API.SecurityMaster.Models.v1">
    <d2p1:SpreadHistoryListItem>
      <d2p1:EndDate>2024-10-08T05:31:38.5725599-05:00</d2p1:EndDate>
      <d2p1:FacilityRateOption>
        <Rel>sample string 2</Rel>
        <Uri>http://webapihelppage3.com/</Uri>
        <Verb>sample string 1</Verb>
      </d2p1:FacilityRateOption>
      <d2p1:Id>1</d2p1:Id>
      <d2p1: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>
      </d2p1:Links>
      <d2p1:Spread>7.1</d2p1:Spread>
      <d2p1:SpreadHistoryName>sample string 4</d2p1:SpreadHistoryName>
      <d2p1:StartDate>2024-10-08T05:31:38.5725599-05:00</d2p1:StartDate>
    </d2p1:SpreadHistoryListItem>
    <d2p1:SpreadHistoryListItem>
      <d2p1:EndDate>2024-10-08T05:31:38.5725599-05:00</d2p1:EndDate>
      <d2p1:FacilityRateOption>
        <Rel>sample string 2</Rel>
        <Uri>http://webapihelppage3.com/</Uri>
        <Verb>sample string 1</Verb>
      </d2p1:FacilityRateOption>
      <d2p1:Id>1</d2p1:Id>
      <d2p1: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>
      </d2p1:Links>
      <d2p1:Spread>7.1</d2p1:Spread>
      <d2p1:SpreadHistoryName>sample string 4</d2p1:SpreadHistoryName>
      <d2p1:StartDate>2024-10-08T05:31:38.5725599-05:00</d2p1:StartDate>
    </d2p1:SpreadHistoryListItem>
  </Items>
  <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>
</NonPagedListOfSpreadHistoryListItem>



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.