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": "cc9fd254-4991-43e5-b2cf-02059a1ab1ab",
  "ParentId": "6b5c1171-3910-4c7c-9dbe-33ac59185b34",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "edfd817f-39f6-4b3c-8b21-9d21215313af",
      "a66262d3-894d-48a3-85d7-46e3b5c42592"
    ],
    "Companies": [
      "c75287f7-3611-413b-a28b-9ee95ffbcc23",
      "fd964606-ad10-4310-8d68-ab2f05654be8"
    ],
    "Groups": [
      "e2f07a75-a235-4cc0-8786-f59104d5a1bd",
      "dc960872-b857-4625-a406-a62fe9a1e738"
    ],
    "Opportunities": [
      "fdd40976-bf51-44a9-99aa-90341396a5b6",
      "2a2f096c-66f6-42ba-a01b-c14b39969da9"
    ]
  }
}

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:
"b7365be5-ed46-4217-87d9-cfa0ed7b1807"