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": "f7fabf9b-c9ff-4786-b5db-b2fb3bb32ab3",
  "ParentId": "0c9e39be-2694-412a-bcfd-7d2d8e023cba",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "73a88af1-40da-49b1-a4af-2da5698350db",
      "8c50c709-51fe-4ad5-ac0f-da56b77b65d6"
    ],
    "Companies": [
      "47c200d8-4a9b-42d7-86b5-36ab60f7b634",
      "4b813091-349d-4db5-883f-44b4261e79bc"
    ],
    "Groups": [
      "c7cc7dd5-dff6-40e1-acbd-9de8e945aed0",
      "92aa0d43-b42b-44b3-9190-2e40743acea1"
    ],
    "Opportunities": [
      "6214aceb-6010-4642-9a42-f9d81e3f8494",
      "1273e2ab-8193-4888-9341-d371458d67fb"
    ]
  }
}

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:
"d926560b-be81-480a-a2de-a75c1cfa853b"