PUT api/PipeLinesAndDeals/UpdatePipeLine

Request Information

URI Parameters

None.

Body Parameters

UpdatePipeLineRequestVM
NameDescriptionTypeAdditional information
Id

string

None.

Name

string

Required

DefaultDealName

string

None.

IsDefault

boolean

None.

DefaultDealAmount

decimal number

None.

Color

ColorViewModel

None.

Stages

Collection of PipeLineStageRequestVM

None.

UserId

string

Required

SubAccountId

string

Required

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "Name": "sample string 2",
  "DefaultDealName": "sample string 3",
  "IsDefault": true,
  "DefaultDealAmount": 5.0,
  "Color": {
    "HexValue": "sample string 1",
    "RgbValue": {
      "R": "sample string 1",
      "G": "sample string 2",
      "B": "sample string 3",
      "A": "sample string 4"
    }
  },
  "Stages": [
    {
      "Id": "sample string 1",
      "Name": "sample string 2",
      "Order": 3,
      "Probability": 4
    },
    {
      "Id": "sample string 1",
      "Name": "sample string 2",
      "Order": 3,
      "Probability": 4
    }
  ],
  "UserId": "sample string 6",
  "SubAccountId": "sample string 7"
}

application/xml, text/xml

Sample:
<UpdatePipeLineRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.PipeLinesAndDeals">
  <Color xmlns:d2p1="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel.Elements">
    <d2p1:HexValue>sample string 1</d2p1:HexValue>
    <d2p1:RgbValue>
      <d2p1:A>sample string 4</d2p1:A>
      <d2p1:B>sample string 3</d2p1:B>
      <d2p1:G>sample string 2</d2p1:G>
      <d2p1:R>sample string 1</d2p1:R>
    </d2p1:RgbValue>
  </Color>
  <DefaultDealAmount>5</DefaultDealAmount>
  <DefaultDealName>sample string 3</DefaultDealName>
  <IsDefault>true</IsDefault>
  <Name>sample string 2</Name>
  <Stages>
    <PipeLineStageRequestVM>
      <Id>sample string 1</Id>
      <Name>sample string 2</Name>
      <Order>3</Order>
      <Probability>4</Probability>
    </PipeLineStageRequestVM>
    <PipeLineStageRequestVM>
      <Id>sample string 1</Id>
      <Name>sample string 2</Name>
      <Order>3</Order>
      <Probability>4</Probability>
    </PipeLineStageRequestVM>
  </Stages>
  <SubAccountId>sample string 7</SubAccountId>
  <UserId>sample string 6</UserId>
  <Id>sample string 1</Id>
</UpdatePipeLineRequestVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.