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": "b8c797ef-ab2e-40aa-af45-ff553b9e1a1a",
  "ParentId": "7519fa7d-ab43-4699-8d6b-5206b8b4bfa0",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "01946c79-2cd6-4469-bd88-a6db900a1d6d",
      "0f985c08-ef74-4684-85a1-17a22a3df346"
    ],
    "Companies": [
      "b4df4835-561b-4da3-96c6-99dc2fb2ab8a",
      "40efc6f9-6b88-47bc-b861-0fdace3f7589"
    ],
    "Groups": [
      "c81076c5-c055-4a27-ae71-f23916910ede",
      "15d3855f-f8e7-4984-956b-760d061dbcda"
    ],
    "Opportunities": [
      "329923c8-f184-4b42-adc4-d8ddfa68c387",
      "c9566d10-56c8-4425-adbd-6ffab860df0a"
    ]
  }
}

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:
"3c20cac3-1787-4ca5-a928-81416ef61c5a"