PUT api/PipeLinesAndDeals/UpdateDeal

Request Information

URI Parameters

None.

Body Parameters

UpdateDealRequestVM
NameDescriptionTypeAdditional information
Id

string

None.

Name

string

Required

Amount

decimal number

None.

UserId

string

Required

SubAccountId

string

Required

WithContactId

string

Required

Priority

DealPriority

None.

PipeLineId

string

Required

StageId

string

Required

ClosedDate

date

None.

LostReason

string

None.

AssignedTo

DealAssignmentRequestVM

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "Name": "sample string 2",
  "Amount": 3.0,
  "UserId": "sample string 4",
  "SubAccountId": "sample string 5",
  "WithContactId": "sample string 6",
  "Priority": "Normal",
  "PipeLineId": "sample string 7",
  "StageId": "sample string 8",
  "ClosedDate": "2023-02-01T12:07:51.4363609+00:00",
  "LostReason": "sample string 9",
  "AssignedTo": {
    "Id": "sample string 1",
    "IsTeam": true
  }
}

application/xml, text/xml

Sample:
<UpdateDealRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.PipeLinesAndDeals">
  <Amount>3</Amount>
  <AssignedTo>
    <Id>sample string 1</Id>
    <IsTeam>true</IsTeam>
  </AssignedTo>
  <ClosedDate>2023-02-01T12:07:51.4363609+00:00</ClosedDate>
  <LostReason>sample string 9</LostReason>
  <Name>sample string 2</Name>
  <PipeLineId>sample string 7</PipeLineId>
  <Priority>Normal</Priority>
  <StageId>sample string 8</StageId>
  <SubAccountId>sample string 5</SubAccountId>
  <UserId>sample string 4</UserId>
  <WithContactId>sample string 6</WithContactId>
  <Id>sample string 1</Id>
</UpdateDealRequestVM>

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.