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": "6bfd6190-5fe7-4b97-a36e-fda569250cc3",
  "ParentId": "353d12f8-68ad-44ce-a792-027da9ae9ca3",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "cb537302-5b6b-4bce-a52c-f5e87ccb5b9a",
      "f92458df-d75a-41e5-8dc1-cbc1607e3e9d"
    ],
    "Companies": [
      "7aec2c88-ffd5-434f-af59-ce6a8977fd8c",
      "178ba0a2-36fa-40c2-a4f2-a8e72afbd353"
    ],
    "Groups": [
      "150f0700-426b-4326-b58a-cf7f2eb7f9b9",
      "d84c3418-aaae-4b8a-b456-65b9117dba9c"
    ],
    "Opportunities": [
      "e39161e2-eff8-4a4b-8390-5d3799312524",
      "e5fb4b94-dcad-41f2-b844-842a0738c216"
    ]
  }
}

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:
"7f7b1d51-db53-4c05-a4c5-e2192428af15"