POST Operation/ExchangeUpdate?code={code}&selectedSocial={selectedSocial}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
code

string

Required

selectedSocial

boolean

None.

Body Parameters

Collection of ExchangeUpdateVm
NameDescriptionTypeAdditional information
ItemId

integer

None.

Buy

decimal number

None.

Sell

decimal number

None.

WebBuy

decimal number

None.

WebSell

decimal number

None.

ModifiedOn

date

None.

ModifiedBy

string

None.

Order

integer

None.

Telegram

boolean

None.

Ivr

boolean

None.

Kanoon

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ItemId": 1,
    "Buy": 1.0,
    "Sell": 1.0,
    "WebBuy": 1.0,
    "WebSell": 1.0,
    "ModifiedOn": "2025-09-09T17:09:17.1531037+03:30",
    "ModifiedBy": "sample string 3",
    "Order": 4,
    "Telegram": true,
    "Ivr": true,
    "Kanoon": true
  },
  {
    "ItemId": 1,
    "Buy": 1.0,
    "Sell": 1.0,
    "WebBuy": 1.0,
    "WebSell": 1.0,
    "ModifiedOn": "2025-09-09T17:09:17.1531037+03:30",
    "ModifiedBy": "sample string 3",
    "Order": 4,
    "Telegram": true,
    "Ivr": true,
    "Kanoon": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfExchangeUpdateVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NEX.Model">
  <ExchangeUpdateVm>
    <Buy>1</Buy>
    <ItemId>1</ItemId>
    <Ivr>true</Ivr>
    <Kanoon>true</Kanoon>
    <ModifiedBy>sample string 3</ModifiedBy>
    <ModifiedOn>2025-09-09T17:09:17.1531037+03:30</ModifiedOn>
    <Order>4</Order>
    <Sell>1</Sell>
    <Telegram>true</Telegram>
    <WebBuy>1</WebBuy>
    <WebSell>1</WebSell>
  </ExchangeUpdateVm>
  <ExchangeUpdateVm>
    <Buy>1</Buy>
    <ItemId>1</ItemId>
    <Ivr>true</Ivr>
    <Kanoon>true</Kanoon>
    <ModifiedBy>sample string 3</ModifiedBy>
    <ModifiedOn>2025-09-09T17:09:17.1531037+03:30</ModifiedOn>
    <Order>4</Order>
    <Sell>1</Sell>
    <Telegram>true</Telegram>
    <WebBuy>1</WebBuy>
    <WebSell>1</WebSell>
  </ExchangeUpdateVm>
</ArrayOfExchangeUpdateVm>

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 'List`1'.

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.