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": "119e993e-b3ce-4658-b95b-6ab0f92a60f9",
  "ParentId": "203dcb2e-652e-4bfb-89d0-2b0dcb9210ca",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "4080a1ed-e733-40ea-97db-7849512f54a5",
      "91ab9511-9e2a-4707-bfb7-1a61ab546697"
    ],
    "Companies": [
      "c65e66e5-11e0-4167-bcda-8f5562c8af10",
      "f5ebb112-d331-4e39-978a-e01c90822f71"
    ],
    "Groups": [
      "de6c8044-2bb2-45ed-972e-26909f2a27e0",
      "82b0b07b-626c-4d5d-9ec5-798d3eb54cf4"
    ],
    "Opportunities": [
      "1f94d7fb-0834-49e1-88a6-29673853b3e6",
      "9baa5d94-648e-441d-a40f-f6a55c5a48a4"
    ]
  }
}

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:
"77e2a470-901c-4c0a-8da3-21c8a1a9eaa0"