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": "925e3485-dc80-4aa4-8db7-52212b722144",
  "ParentId": "34d7e381-25d5-4c67-9bf1-4549068b223b",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "e50d9ad9-5092-4c5b-8007-8e30165f337a",
      "f730a47d-596d-4acf-8a15-7bae5e3608eb"
    ],
    "Companies": [
      "c93cea38-8359-4551-9344-2e0ccbf1a5b4",
      "2a7798e4-ed24-4230-933a-b8c9928e653f"
    ],
    "Groups": [
      "2d3a4537-f5e7-4340-b44c-edcd4e7fcf56",
      "8d72390c-87ad-4604-91e9-74a5707b88c5"
    ],
    "Opportunities": [
      "23d42193-a20d-4cb8-be67-1b30bd72e514",
      "1d49c7a5-9867-4985-abbe-396a7bfb2920"
    ]
  }
}

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:
"a4d8d755-f3f9-479e-8390-7e8c2a3571ec"