POST api/Values/InsertPersonInChargeProposal

Request Information

URI Parameters

None.

Body Parameters

InsertPersonInChargeProposalEnitiy
NameDescriptionTypeAdditional information
UserID

integer

None.

Token

string

None.

ProposalID

integer

None.

PersonID

integer

None.

Proposal

string

None.

LeadSourceID

integer

None.

InterestID

integer

None.

TypeID

integer

None.

SalesStageID

integer

None.

ForecastAmount

decimal number

None.

ExpectedCloseDate

string

None.

Isactive

boolean

None.

ActionType

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "Token": "sample string 2",
  "ProposalID": 3,
  "PersonID": 4,
  "Proposal": "sample string 5",
  "LeadSourceID": 6,
  "InterestID": 7,
  "TypeID": 8,
  "SalesStageID": 9,
  "ForecastAmount": 10.0,
  "ExpectedCloseDate": "sample string 11",
  "Isactive": true,
  "ActionType": 13
}

text/html

Sample:
{"UserID":1,"Token":"sample string 2","ProposalID":3,"PersonID":4,"Proposal":"sample string 5","LeadSourceID":6,"InterestID":7,"TypeID":8,"SalesStageID":9,"ForecastAmount":10.0,"ExpectedCloseDate":"sample string 11","Isactive":true,"ActionType":13}

application/xml, text/xml

Sample:
<ValuesController.InsertPersonInChargeProposalEnitiy xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR2Eazy_WebApi.Controllers">
  <ActionType>13</ActionType>
  <ExpectedCloseDate>sample string 11</ExpectedCloseDate>
  <ForecastAmount>10</ForecastAmount>
  <InterestID>7</InterestID>
  <Isactive>true</Isactive>
  <LeadSourceID>6</LeadSourceID>
  <PersonID>4</PersonID>
  <Proposal>sample string 5</Proposal>
  <ProposalID>3</ProposalID>
  <SalesStageID>9</SalesStageID>
  <Token>sample string 2</Token>
  <TypeID>8</TypeID>
  <UserID>1</UserID>
</ValuesController.InsertPersonInChargeProposalEnitiy>

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 'InsertPersonInChargeProposalEnitiy'.

Response Information

Resource Description

Dictionary of Object [key] and Object [value]

Response Formats

application/json, text/json, text/html

Sample:
{"System.Object":{},"System.Object":{}}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfanyTypeanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfanyTypeanyType>
    <Key />
    <Value />
  </KeyValueOfanyTypeanyType>
  <KeyValueOfanyTypeanyType>
    <Key />
    <Value />
  </KeyValueOfanyTypeanyType>
</ArrayOfKeyValueOfanyTypeanyType>