API reference
All operations
OPPORTUNITIES

Fetches opportunity by ID.

GET/api/v2/opportunities/{opportunityId}

Authentication

Choose one supported method for this request.

OAuth 2.0 client credentials

Parameters

opportunityIdpathinteger · int32required

The ID of the opportunity.

Responses

Opportunity retrieved successfully.

Standard response envelopeisSuccessmessageerrorsdata

Read the result from data. When isSuccess is false, errors lists what went wrong. Handling errors

dataOpportunityDto
  • opportunityIdinteger · int32
  • userIdinteger · int32
  • userstring
  • equipmentIdinteger · int32
  • companyIdinteger · int32
  • companyNamestring
  • contactIdinteger · int32
  • contactstring
  • statusIdinteger · int32
  • statusstring
  • internalResultstring
  • groupIdinteger · int32
  • groupstring
  • namestring
  • amountnumber · double
  • closeDatestring · datenullable
  • probabilitynumber · double
  • deletedboolean
  • openDatestring · date
  • branchIdinteger · int32
  • branchstring
  • lostSaleboolean
  • saleTypeIdinteger · int32
  • saleTypestring
  • transactionTypeIdinteger · int32
  • transactionTypestring
  • makestring
  • modelstring
  • serialNostring
  • stockNostring
  • yearstring
  • hoursinteger · int32
  • qtyinteger · int32
  • attachmentsstring
  • optionsstring
  • additionalEquipmentstring
  • commentsstring
  • decisionDatestring · datenullable
  • deliveryDatestring · datenullable
  • deliveryStatestring
  • deliveryCountystringnullable
  • decisionCommentsstring
  • expirationDatestring · datenullable
  • referenceNostring
  • lostRentalboolean
  • rentalRatenumber · double
  • rentalIntervalstring
  • rentalDurationinteger · int32