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": "d2453c08-3fbd-4212-b44f-7bdf94267a92",
  "ParentId": "ec1ce3e2-e380-44b4-a174-c7a1a7b9e90e",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "ce178511-911e-47b6-87a0-911b6c9a3dac",
      "79f0166c-cc66-4512-a65c-69456d03137f"
    ],
    "Companies": [
      "96953ed2-1e5d-4c92-b1d1-705ef8c86464",
      "ea120e86-bb5d-46cd-9d40-134ca1c070ae"
    ],
    "Groups": [
      "cf675fb9-8907-4ad3-947a-e79df6d4bc8c",
      "b37cfdab-7b61-43c6-a2e1-10b6bc99ae4c"
    ],
    "Opportunities": [
      "e820aabb-b928-4da9-a511-644459f416d5",
      "65f21105-06c5-40bd-b348-31da4bfdd5dd"
    ]
  }
}

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:
"2e4f3665-f575-45ad-bc49-34e0c18f546d"