POST users/updatePriceList

Request Information

URI Parameters

None.

Body Parameters

UpdatePricing
NameDescriptionTypeAdditional information
Id

integer

None.

BasePrice

decimal number

None.

WorkHourPrice

decimal number

None.

WaitHourPrice

decimal number

None.

MinBasePrice

decimal number

None.

MinDistance

decimal number

None.

MultiplyUrgency

boolean

None.

MultiplyEnvelope

boolean

None.

CurrencySymbol

string

None.

UrgencyPrices

Collection of Pair of string [key] and string [value]

None.

EnvelopePrices

Collection of Pair of string [key] and string [value]

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "basePrice": 2.0,
  "workHourPrice": 3.0,
  "waitHourPrice": 4.0,
  "minBasePrice": 5.0,
  "minDistance": 6.0,
  "multiplyUrgency": true,
  "multiplyEnvelope": true,
  "currencySymbol": "sample string 9",
  "urgencyPrices": [
    {
      "key": "sample string 1",
      "value": "sample string 2"
    },
    {
      "key": "sample string 1",
      "value": "sample string 2"
    }
  ],
  "envelopePrices": [
    {
      "key": "sample string 1",
      "value": "sample string 2"
    },
    {
      "key": "sample string 1",
      "value": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<UpdatePricing xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Clickoapp2.Domain.Models">
  <_x003C_BasePrice_x003E_k__BackingField>2</_x003C_BasePrice_x003E_k__BackingField>
  <_x003C_CurrencySymbol_x003E_k__BackingField>sample string 9</_x003C_CurrencySymbol_x003E_k__BackingField>
  <_x003C_EnvelopePrices_x003E_k__BackingField xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
    <d2p1:KeyValuePairOfstringstring>
      <d2p1:key>sample string 1</d2p1:key>
      <d2p1:value>sample string 2</d2p1:value>
    </d2p1:KeyValuePairOfstringstring>
    <d2p1:KeyValuePairOfstringstring>
      <d2p1:key>sample string 1</d2p1:key>
      <d2p1:value>sample string 2</d2p1:value>
    </d2p1:KeyValuePairOfstringstring>
  </_x003C_EnvelopePrices_x003E_k__BackingField>
  <_x003C_Id_x003E_k__BackingField>1</_x003C_Id_x003E_k__BackingField>
  <_x003C_MinBasePrice_x003E_k__BackingField>5</_x003C_MinBasePrice_x003E_k__BackingField>
  <_x003C_MinDistance_x003E_k__BackingField>6</_x003C_MinDistance_x003E_k__BackingField>
  <_x003C_MultiplyEnvelope_x003E_k__BackingField>true</_x003C_MultiplyEnvelope_x003E_k__BackingField>
  <_x003C_MultiplyUrgency_x003E_k__BackingField>true</_x003C_MultiplyUrgency_x003E_k__BackingField>
  <_x003C_UrgencyPrices_x003E_k__BackingField xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
    <d2p1:KeyValuePairOfstringstring>
      <d2p1:key>sample string 1</d2p1:key>
      <d2p1:value>sample string 2</d2p1:value>
    </d2p1:KeyValuePairOfstringstring>
    <d2p1:KeyValuePairOfstringstring>
      <d2p1:key>sample string 1</d2p1:key>
      <d2p1:value>sample string 2</d2p1:value>
    </d2p1:KeyValuePairOfstringstring>
  </_x003C_UrgencyPrices_x003E_k__BackingField>
  <_x003C_WaitHourPrice_x003E_k__BackingField>4</_x003C_WaitHourPrice_x003E_k__BackingField>
  <_x003C_WorkHourPrice_x003E_k__BackingField>3</_x003C_WorkHourPrice_x003E_k__BackingField>
</UpdatePricing>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>