POST api/OpportunityStage/InsertOrUpdate

Insert/update opportunity stage.

Request Information

URI Parameters

None.

Body Parameters

OpportunityStageModel
NameDescriptionTypeAdditional information
DatabaseId

globally unique identifier

None.

Name

string

None.

Request Formats

application/json, text/json

Sample:
{
  "databaseId": "324be612-fb3a-4610-9865-ebe65ba3bd59",
  "name": "sample string 1"
}

application/xml, text/xml

Sample:
<OpportunityStageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum.OpportunityStage">
  <DatabaseId>324be612-fb3a-4610-9865-ebe65ba3bd59</DatabaseId>
  <Name>sample string 1</Name>
</OpportunityStageModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NowCertsApiResultWithDatabaseId
NameDescriptionTypeAdditional information
DatabaseId

globally unique identifier

None.

Status

ApiStatus

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "databaseId": "6c984320-b5b5-4059-bc48-c41f82dfc2b1",
  "status": 0,
  "message": "sample string 2"
}

application/xml, text/xml

Sample:
<NowCertsApiResultWithDatabaseId xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum">
  <Message>sample string 2</Message>
  <Status>Error</Status>
  <DatabaseId>6c984320-b5b5-4059-bc48-c41f82dfc2b1</DatabaseId>
</NowCertsApiResultWithDatabaseId>