POST api/PipeLinesAndDeals/SaveDeal

Request Information

URI Parameters

None.

Body Parameters

SaveDealRequestVM
NameDescriptionTypeAdditional information
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:
{
  "Name": "sample string 1",
  "Amount": 2.0,
  "UserId": "sample string 3",
  "SubAccountId": "sample string 4",
  "WithContactId": "sample string 5",
  "Priority": "Normal",
  "PipeLineId": "sample string 6",
  "StageId": "sample string 7",
  "ClosedDate": "2024-11-21T09:11:16.4697333+00:00",
  "LostReason": "sample string 8",
  "AssignedTo": {
    "Id": "sample string 1",
    "IsTeam": true
  }
}

application/xml, text/xml

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

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.