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": "0ae9098a-174c-4487-94b4-654b5d340246",
  "ParentId": "7320a3e5-17a6-44ca-b123-11821c80601d",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "3a06f0a6-d28e-4af1-82c2-e4ce77a62cbc",
      "0482eae3-b911-47b3-adec-c15b5aed72c2"
    ],
    "Companies": [
      "31b61c46-c67a-4cac-a3e7-84412082e405",
      "bc83ae12-d03d-429c-92f8-477cacd51712"
    ],
    "Groups": [
      "e3749eb1-6920-4eb8-ad7b-9b672fe36fb6",
      "a9e5447e-2882-4f93-bc41-a76fbb65be4a"
    ],
    "Opportunities": [
      "2f1f07a6-5f72-4e2c-ae89-694357c60f5e",
      "bd15934d-da67-47b2-b347-7528680ad5ff"
    ]
  }
}

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:
"f832bd21-d38c-4b7a-9a95-37720974e189"