POST api/Opportunities

Create a new Opportunity Record.

Request Information

URI Parameters

None.

Body Parameters

The Opportunity record data must be passed in through the body of the request in Json format. Set Content-Type header to application/json

MutableEntityExtended
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

ParentId

This field will only include data when working with Group records.

globally unique identifier

None.

Fields

Dictionary of string [key] and Object [value]

None.

LinkedEntities

LinkedEntities

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "0bb07287-1c04-40f2-8e7c-559d6a94fbbe",
  "ParentId": "3674d8c8-e0c7-47be-ab01-e680d99fc9e0",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "4e56a1b7-6fc1-4c27-bcb2-3c503c139188",
      "c0aedda8-ff55-4819-b222-4101ba3cadc3"
    ],
    "Companies": [
      "d1df8d5b-020d-4b8c-adc3-867066f73fe8",
      "42d6b159-6dcb-4b11-a0d9-a336bdc94263"
    ],
    "Groups": [
      "40f10a72-159a-43b1-a03b-a29e71da6b80",
      "6cf67e50-ed73-40be-a3c6-de076878ae18"
    ],
    "Opportunities": [
      "ab315bd2-a69a-4d53-b4bd-08259ab3b3ed",
      "4c3bde99-69a7-4f7a-9403-6f825fcacc8f"
    ]
  }
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

This endpoint returns the GUID of the Group record once it is created.

globally unique identifier

Response Formats

application/json, text/json

Sample:
"965e61f9-468b-4dca-93ad-a78057d15a0d"