POST v1/Facilities/{id}/Currencies

Description

Add a currency to the facility with a WSO ID of {id}.

Base Url

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


Rest Call Syntax


POST SecurityMaster/v1/Facilities/{id}/Currencies

POST SecurityMaster/v1/Facilities/{id}/Currencies

Verb

Base Url

URI parameters

 = 

Authentication



Response Format


Headers

Add header


 

Delete



CurrencyAdd

Name

Description

Type

Additional Information

Limit

The limit for the currency

decimal number

Percentage expressed between 0 (0%) and 1 (100%).

CurrencyCode

The ISO code of the currency

string




Limitations

  • Facility must be a multi-currency revolver.

  • Limit maximum is 100%.




Request Information


Parameters

Name

Description

Type

Additional Information

id

WSO ID of facility

integer

Required



Request body formats


application/json, text/json

Sample:
{
  "currencyCode": "sample string 1",
  "limit": 1.1
}

application/xml, text/xml

Sample:
<CurrencyAdd xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <CurrencyCode>sample string 1</CurrencyCode>
  <Limit>1.1</Limit>
</CurrencyAdd>

application/x-www-form-urlencoded

Sample:

Sample not available.




Response Information



Currency

Name

Description

Type

Additional Information

CurrencyCode

The ISO code for the currency

string

Limit

The percentage limit for the currency in the facility

decimal number

Links

A list of hateoas links

Collection of Link




Response Body Formats



application/json, text/json

Sample:
{
  "currencyCode": "sample string 3",
  "limit": 1.1,
  "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:
<Currency xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <CurrencyCode>sample string 3</CurrencyCode>
  <Limit>1.1</Limit>
  <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>
</Currency>



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.