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": "de6b08a3-02cb-4077-9dee-ad5d479ebb12",
  "ParentId": "86e6402b-3dd1-42ee-b1e2-c0bbee168d25",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "dc8da235-4f99-48b5-9b77-6449bab526ab",
      "b642bd93-8012-4627-b132-8e711193620e"
    ],
    "Companies": [
      "0c7cd2af-5344-4b92-b3c2-22e6615e53ae",
      "adf9ebbe-894a-4219-a6f0-6b615bc438dd"
    ],
    "Groups": [
      "2fdb65f9-b63b-4cbb-bcad-9260caccea49",
      "83feebad-0d93-4cb3-9687-cce12c99b240"
    ],
    "Opportunities": [
      "cab22495-715d-4959-b7ab-9a368bdaa197",
      "dfc58d0d-cfd4-48f9-86ba-b682a73aeb48"
    ]
  }
}

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:
"77900b9b-fae8-4274-9dfb-a66a149939bb"