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": "b4404fd6-1f6d-4f8e-b3bd-9a3b9c55c7c2",
  "ParentId": "3783b8a2-f18b-43c1-8d76-d27bebc7e6fc",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "c0df7acd-f3db-4d8c-bcdb-18f05887df0a",
      "9be264f3-d5c0-40a0-a225-f035731d1980"
    ],
    "Companies": [
      "851e2171-36d0-4c87-884b-192fa8cdca09",
      "cbbd4b1a-a486-48cc-8bbc-e3e346457860"
    ],
    "Groups": [
      "47d7ae18-32e6-4d89-9f6d-a58803507ca8",
      "c50ba49e-adec-43db-a38a-73a57a0cf066"
    ],
    "Opportunities": [
      "048bc2c5-2b95-483e-af06-ce091df92089",
      "0ec2edf3-c3bb-4a4d-bd46-7cb6264d3efd"
    ]
  }
}

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:
"cd22201d-d16e-48bb-859b-770b1c8ba3cb"