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": "d5b1ad51-d253-41e4-957c-db9530c3379e",
  "ParentId": "5dd26a9d-fc9c-40c7-88dc-15f0cc21286f",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "365bb4b5-e5c5-4352-a87f-4794e19b2b89",
      "d6d11f74-a279-471c-a508-4dbe17f9c357"
    ],
    "Companies": [
      "e0412247-2cf6-4b69-9f37-8e16c22d2952",
      "d0728ce6-bdee-42a6-9f7d-13033e275ac5"
    ],
    "Groups": [
      "0c709b62-4f72-4f66-8bb2-c1d63d325a6e",
      "43e8806f-645e-4662-97a9-643282775feb"
    ],
    "Opportunities": [
      "08719d4b-52ae-434c-92cb-299dff2213bb",
      "ccfdf09e-93db-4ddf-b532-cb395a4b3056"
    ]
  }
}

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:
"a35af3fe-9851-4e1a-9b4b-b760e270a463"