PUT api/pipedrive/person/{personId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
personId

string

None.

Body Parameters

ModelAddDeal
NameDescriptionTypeAdditional information
title

string

None.

value

string

None.

currency

string

None.

user_id

integer

None.

person_id

integer

None.

org_id

integer

None.

stage_id

integer

None.

status

string

None.

probability

decimal number

None.

lost_reason

string

None.

visible_to

string

None.

add_time

string

None.

Request Formats

application/json, text/json

Sample:
{
  "title": "sample string 1",
  "value": "sample string 2",
  "currency": "sample string 3",
  "user_id": 4,
  "person_id": 5,
  "org_id": 6,
  "stage_id": 7,
  "status": "sample string 8",
  "probability": 9.1,
  "lost_reason": "sample string 10",
  "visible_to": "sample string 11",
  "add_time": "sample string 12"
}

application/xml, text/xml

Sample:
<ModelAddDeal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api">
  <add_time>sample string 12</add_time>
  <currency>sample string 3</currency>
  <lost_reason>sample string 10</lost_reason>
  <org_id>6</org_id>
  <person_id>5</person_id>
  <probability>9.1</probability>
  <stage_id>7</stage_id>
  <status>sample string 8</status>
  <title>sample string 1</title>
  <user_id>4</user_id>
  <value>sample string 2</value>
  <visible_to>sample string 11</visible_to>
</ModelAddDeal>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ModelAddDeal'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.