PUT api/CurrencyMaster

Request Information

URI Parameters

None.

Body Parameters

Z_CurrencyMasterDetailRequest
NameDescriptionTypeAdditional information
currencyMaster

C_CurrencyMaster

None.

currencyDetail

Collection of C_CurrencyDetail

None.

Request Formats

application/json, text/json

Sample:
{
  "currencyMaster": {
    "Id": 1,
    "CurrencyCode": "sample string 2",
    "Description": "sample string 3",
    "Symbol": "sample string 4",
    "CreatedBy": 1,
    "CreatedOn": "2024-04-27T14:04:53.8628722+00:00",
    "ModifiedBy": 1,
    "ModifiedOn": "2024-04-27T14:04:53.8628722+00:00"
  },
  "currencyDetail": [
    {
      "Id": 1,
      "EffectiveDate": "2024-04-27T14:04:53.8628722+00:00",
      "ExchangeRate": 1.0,
      "CurrencyCode": "sample string 3",
      "CreatedBy": 1,
      "CreatedOn": "2024-04-27T14:04:53.8628722+00:00",
      "ModifiedBy": 1,
      "ModifiedOn": "2024-04-27T14:04:53.8628722+00:00"
    },
    {
      "Id": 1,
      "EffectiveDate": "2024-04-27T14:04:53.8628722+00:00",
      "ExchangeRate": 1.0,
      "CurrencyCode": "sample string 3",
      "CreatedBy": 1,
      "CreatedOn": "2024-04-27T14:04:53.8628722+00:00",
      "ModifiedBy": 1,
      "ModifiedOn": "2024-04-27T14:04:53.8628722+00:00"
    }
  ]
}

application/xml, text/xml

Sample:
<Z_CurrencyMasterDetailRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models">
  <currencyDetail>
    <C_CurrencyDetail>
      <CreatedBy>1</CreatedBy>
      <CreatedOn>2024-04-27T14:04:53.8628722+00:00</CreatedOn>
      <CurrencyCode>sample string 3</CurrencyCode>
      <EffectiveDate>2024-04-27T14:04:53.8628722+00:00</EffectiveDate>
      <ExchangeRate>1</ExchangeRate>
      <Id>1</Id>
      <ModifiedBy>1</ModifiedBy>
      <ModifiedOn>2024-04-27T14:04:53.8628722+00:00</ModifiedOn>
    </C_CurrencyDetail>
    <C_CurrencyDetail>
      <CreatedBy>1</CreatedBy>
      <CreatedOn>2024-04-27T14:04:53.8628722+00:00</CreatedOn>
      <CurrencyCode>sample string 3</CurrencyCode>
      <EffectiveDate>2024-04-27T14:04:53.8628722+00:00</EffectiveDate>
      <ExchangeRate>1</ExchangeRate>
      <Id>1</Id>
      <ModifiedBy>1</ModifiedBy>
      <ModifiedOn>2024-04-27T14:04:53.8628722+00:00</ModifiedOn>
    </C_CurrencyDetail>
  </currencyDetail>
  <currencyMaster>
    <CreatedBy>1</CreatedBy>
    <CreatedOn>2024-04-27T14:04:53.8628722+00:00</CreatedOn>
    <CurrencyCode>sample string 2</CurrencyCode>
    <Description>sample string 3</Description>
    <Id>1</Id>
    <ModifiedBy>1</ModifiedBy>
    <ModifiedOn>2024-04-27T14:04:53.8628722+00:00</ModifiedOn>
    <Symbol>sample string 4</Symbol>
  </currencyMaster>
</Z_CurrencyMasterDetailRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Z_CurrencyMasterDetailRequest'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.