POST api/intl/update/price

Request Information

URI Parameters

None.

Body Parameters

NewPlanMapping
NameDescriptionTypeAdditional information
UserId

integer

None.

PersonId

integer

None.

PersonCurrency

string

None.

PartnerPrice

Dictionary of string [key] and string [value]

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "PersonId": 2,
  "PersonCurrency": "sample string 3",
  "PartnerPrice": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  }
}

text/html

Sample:
{"UserId":1,"PersonId":2,"PersonCurrency":"sample string 3","PartnerPrice":{"sample string 1":"sample string 2","sample string 3":"sample string 4"}}

application/xml, text/xml

Sample:
<NewPlanMapping xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities">
  <PartnerPrice xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </PartnerPrice>
  <PersonCurrency>sample string 3</PersonCurrency>
  <PersonId>2</PersonId>
  <UserId>1</UserId>
</NewPlanMapping>

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 'NewPlanMapping'.

Response Information

Resource Description

string

Response Formats

application/json, text/json, text/html

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>