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": "876bf2f3-367b-4bc1-8ceb-08ad86deb89c",
  "ParentId": "7756b5e4-cd43-465f-8c79-318c1a92850e",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "ab4409cb-2514-4647-9e80-24f23f346c48",
      "fd812827-a597-4a8f-909f-fc84fc2bea09"
    ],
    "Companies": [
      "17d7466b-99d5-46ff-be48-037b29f40bac",
      "2228fa71-41e1-4bb1-ac64-2708a15d32dd"
    ],
    "Groups": [
      "9c471cf1-ef02-42f2-b137-11a516e06cb4",
      "d11837dc-a93c-413e-a0db-b4a019ab711b"
    ],
    "Opportunities": [
      "5aa7a47c-07a8-4510-842e-d7becaa028d5",
      "e5af3981-d905-4874-ba30-1a45a6d1df69"
    ]
  }
}

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:
"024a273f-64a9-421b-b594-bf8d6c05561c"