PUT v1/CurrencyType/{id}

Description

Update the CurrencyType with WSO ID of {id}.

Base Url

https://services.wsoweb.com/


Rest Call Syntax


PUT Reference/v1/CurrencyType/{id}

PUT Reference/v1/CurrencyType/{id}

Verb

Base Url

URI parameters

 = 

Authentication



Response Format


Headers

Add header


 

Delete



CurrencyTypeUpdate

Name

Description

Type

Additional Information

CostOfCarryIndex

The Cost of Carry Index for the given Currency Type

integer

CurrencyCode

The code for the Currency Type

string

CurrencyTypeName

The name of the CurrenctyType

string

SortOrder

The Cost of Carry Index for the given Currency Type

integer




Limitations

There are no limitations specified.




Request Information


Parameters

Name

Description

Type

Additional Information

id

WSO ID of CurrencyType

integer

Required



Request body formats


application/json, text/json

Sample:
{
  "currencyTypeName": "sample string 2",
  "currencyCode": "sample string 3",
  "costOfCarryIndex": 1,
  "sortOrder": 1
}

application/xml, text/xml

Sample:
<CurrencyTypeUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <CostOfCarryIndex>1</CostOfCarryIndex>
  <CurrencyCode>sample string 3</CurrencyCode>
  <CurrencyTypeName>sample string 2</CurrencyTypeName>
  <SortOrder>1</SortOrder>
</CurrencyTypeUpdate>

application/x-www-form-urlencoded

Sample:

Sample not available.




Response Information



CurrencyType

Name

Description

Type

Additional Information

CostOfCarryIndex

The CostOfCarryIndex of the CurrencyType

integer

CurrencyCode

The code for the currency type

string

CurrencyTypeName

The name of the currency type

string

Id

The WSO ID of the Currency Type

integer

IsDeleted

The IsDeleted Flag of the CurrencyType

boolean

Links

The Hateoas links to related object

Collection of Link

SortOrder

The Sort order of the CurrencyType

integer




Response Body Formats



application/json, text/json

Sample:
{
  "id": 1,
  "currencyTypeName": "sample string 2",
  "currencyCode": "sample string 3",
  "isDeleted": true,
  "sortOrder": 5,
  "costOfCarryIndex": 6,
  "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:
<CurrencyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WSO.API.Reference.Models.v1">
  <CostOfCarryIndex>6</CostOfCarryIndex>
  <CurrencyCode>sample string 3</CurrencyCode>
  <CurrencyTypeName>sample string 2</CurrencyTypeName>
  <Id>1</Id>
  <IsDeleted>true</IsDeleted>
  <Links>
    <Link xmlns="">
      <Rel>sample string 2</Rel>
      <Uri>http://webapihelppage3.com/</Uri>
      <Verb>sample string 1</Verb>
    </Link>
    <Link xmlns="">
      <Rel>sample string 2</Rel>
      <Uri>http://webapihelppage3.com/</Uri>
      <Verb>sample string 1</Verb>
    </Link>
  </Links>
  <SortOrder>5</SortOrder>
</CurrencyType>



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.