POST api/PipeLinesAndDeals/SavePipeLine

Request Information

URI Parameters

None.

Body Parameters

SavePipeLineRequestVM
NameDescriptionTypeAdditional information
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:
{
  "Name": "sample string 1",
  "DefaultDealName": "sample string 2",
  "IsDefault": true,
  "DefaultDealAmount": 4.0,
  "Color": {
    "HexValue": "sample string 1",
    "RgbValue": {
      "R": "sample string 1",
      "G": "sample string 2",
      "B": "sample string 3",
      "A": "sample string 4"
    },
    "Gradient": "sample string 2"
  },
  "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 5",
  "SubAccountId": "sample string 6"
}

application/xml, text/xml

Sample:
<SavePipeLineRequestVM 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:Gradient>sample string 2</d2p1:Gradient>
    <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>4</DefaultDealAmount>
  <DefaultDealName>sample string 2</DefaultDealName>
  <IsDefault>true</IsDefault>
  <Name>sample string 1</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 6</SubAccountId>
  <UserId>sample string 5</UserId>
</SavePipeLineRequestVM>

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.