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": "4b8122db-ad04-4030-97a6-47a5af321c99",
  "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>4b8122db-ad04-4030-97a6-47a5af321c99</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": "df0b69c9-8e60-4e39-8eb3-e52b8585e7e5",
  "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>df0b69c9-8e60-4e39-8eb3-e52b8585e7e5</DatabaseId>
</NowCertsApiResultWithDatabaseId>