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": "e673f9e3-fbb7-461f-b746-429936af61ad",
  "ParentId": "da410416-16a1-4aea-b2c1-cebfedecd233",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "2f591f8e-448c-4a9f-afce-92a756b4a576",
      "87fed2c9-1d14-444a-b5b1-2a95c39a3bad"
    ],
    "Companies": [
      "10adf6b2-806d-4ada-914e-ba16bf7951e3",
      "01c45c6b-bd04-47be-92d0-0d11000b3a85"
    ],
    "Groups": [
      "67fa85aa-a186-4a54-a40e-ce6ce9467a12",
      "a89d1ff5-4bbc-4648-9551-05d8595ffa45"
    ],
    "Opportunities": [
      "40efc722-8061-43ee-beea-0bbdc649ae10",
      "1859ed4c-341c-4bb9-a224-e752c80feeb4"
    ]
  }
}

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:
"4b2eadc2-a35a-4886-aee0-e8381fe3d741"