POST v1/CurrencyType

Description

Add a new CurrencyType

Base Url

https://services.wsoweb.com/


Rest Call Syntax


POST Reference/v1/CurrencyType

POST Reference/v1/CurrencyType

Verb

Base Url

URI parameters

 = 

Authentication



Response Format


Headers

Add header


 

Delete



CurrencyTypeAdd

Name

Description

Type

Additional Information

CurrencyCode

The code for the Currency Type

string

Required

CurrencyTypeName

The name of the CurrenctyType

string

Required

CostOfCarryIndex

CostOfCarryIndex of the CurrencyType

integer

SortOrder

Sort Order of the CurrencyType

integer




Limitations

There are no limitations specified.




Request Information


Request body formats


application/json, text/json

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

application/xml, text/xml

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

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.